Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
data-center-auto
Commits
441bca64
Commit
441bca64
authored
Dec 23, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
切换日志地址
parent
f188f769
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
Program.cs
AutoGeneratePurchaseAdvise/Program.cs
+1
-0
TaskDownloadServices.cs
AutoTurnOver.Services/TaskDownloadServices.cs
+3
-0
appsettings.Production.json
AutoTurnOver/appsettings.Production.json
+1
-1
No files found.
AutoGeneratePurchaseAdvise/Program.cs
View file @
441bca64
...
@@ -33,6 +33,7 @@ namespace AutoGeneratePurchaseAdvise
...
@@ -33,6 +33,7 @@ namespace AutoGeneratePurchaseAdvise
//PurchaseAdviseServices.AutoPushBuySys(1);
//PurchaseAdviseServices.AutoPushBuySys(1);
//report.PurchaseWeekBackUp();
//report.PurchaseWeekBackUp();
//report.ResetTransExpectArrivaltime();
//report.ResetTransExpectArrivaltime();
//PurchaseAdviseServices.AutoPushBuySys(4);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
...
...
AutoTurnOver.Services/TaskDownloadServices.cs
View file @
441bca64
...
@@ -79,8 +79,11 @@ namespace AutoTurnOver.Services
...
@@ -79,8 +79,11 @@ namespace AutoTurnOver.Services
public
async
Task
<
string
>
DownloadAuto
(
string
par_json
,
dc_task_download
download_data
)
public
async
Task
<
string
>
DownloadAuto
(
string
par_json
,
dc_task_download
download_data
)
{
{
Condition_AutoTurnOver
search_data
=
par_json
.
ToObject
<
Condition_AutoTurnOver
>();
Condition_AutoTurnOver
search_data
=
par_json
.
ToObject
<
Condition_AutoTurnOver
>();
Console
.
WriteLine
(
"DownloadStock - 开始生成文件"
);
var
memory
=
new
SkuAutoTurnServices
().
Export
(
search_data
,
""
,
""
);
var
memory
=
new
SkuAutoTurnServices
().
Export
(
search_data
,
""
,
""
);
Console
.
WriteLine
(
"DownloadStock - 开始生成上传文件"
);
var
fileData
=
await
AutoTurnOver
.
Utility
.
QiNiuCloudHelper
.
UploadSectioningAsync
(
memory
);
var
fileData
=
await
AutoTurnOver
.
Utility
.
QiNiuCloudHelper
.
UploadSectioningAsync
(
memory
);
Console
.
WriteLine
(
"DownloadStock - 上传完毕"
);
return
fileData
;
return
fileData
;
}
}
}
}
...
...
AutoTurnOver/appsettings.Production.json
View file @
441bca64
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
"PostPlatCategoryRate"
:
"http://172.31.255.11/api/platfee/ProfitPlatfee/PostPlatCategoryRate"
,
"PostPlatCategoryRate"
:
"http://172.31.255.11/api/platfee/ProfitPlatfee/PostPlatCategoryRate"
,
"api_plat_category"
:
"http://doc.bailuntec.com:6040/profitplatfee/getplatcategory"
,
"api_plat_category"
:
"http://doc.bailuntec.com:6040/profitplatfee/getplatcategory"
,
"BrowseLogSetting"
:
{
"BrowseLogSetting"
:
{
"Url"
:
"http://10.0.
0.11:5001
/operationloginfo/addoperationloginfo"
,
"Url"
:
"http://10.0.
4.15/api/ssoadmin
/operationloginfo/addoperationloginfo"
,
"CanLog"
:
"yes"
"CanLog"
:
"yes"
},
},
"SupplierReturnSkuInfo"
:
"http://pps.bailuntec.com/distributionapi/Manager/SupplierReturnSkuInfo/InsertReturnSkuInfo"
,
"SupplierReturnSkuInfo"
:
"http://pps.bailuntec.com/distributionapi/Manager/SupplierReturnSkuInfo/InsertReturnSkuInfo"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment