Commit 74e661af by DESKTOP-7Q3CA17\86137

gsb

parent f2bd99f5
......@@ -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) || [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment