Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
74e661af
Commit
74e661af
authored
Jul 22, 2020
by
DESKTOP-7Q3CA17\86137
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
f2bd99f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
bpo-admin/app/base/api/impl/channelApi.js
+10
-1
No files found.
bpo-admin/app/base/api/impl/channelApi.js
View file @
74e661af
...
...
@@ -280,6 +280,15 @@ class ChannelApi {
// -------------------------------------
async
asyncTima
(
queryobj
,
qobj
,
req
)
{
for
(
var
i
=
1
;
i
<
queryobj
.
num
;
i
++
)
{
var
today
=
moment
().
subtract
(
i
,
'days'
).
format
(
'YYYY-MM-DD'
);
console
.
log
(
today
)
await
this
.
pushChannels
({
day
:
today
},
null
,
null
);
}
}
async
pushChannelsAsync
(
queryobj
,
qobj
,
req
)
{
this
.
pushChannels
(
queryobj
,
qobj
,
req
);
return
{
...
...
@@ -352,7 +361,7 @@ class ChannelApi {
if
(
orders
.
length
==
0
)
{
return
;
}
for
(
let
order
of
orders
)
{
for
(
let
order
of
orders
)
{
ni
order
.
orderPrice
=
0
;
order
.
cost
=
0
;
let
itemsum
=
await
this
.
esettleofflineSve
.
getincome
(
order
.
id
)
||
[];
...
...
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