Commit 23fadbc4e7adbc1da510cb823b2428f4e5c18d04
1 parent
31089ac2
佣金抵扣的时候,单个商品的时候就不调用了
Showing
1 changed file
with
9 additions
and
9 deletions
packageE/pages/cart/cart2/cart2.js
... | ... | @@ -1605,15 +1605,15 @@ Page({ |
1605 | 1605 | prom_type: item[c].prom_type, |
1606 | 1606 | prom_id: item[c].prom_id, |
1607 | 1607 | } |
1608 | - | |
1609 | - let req_d1 = { | |
1610 | - user_id: getApp().globalData.user_id, goods_ids: [hr], store_id: os.stoid | |
1611 | - } | |
1612 | - await getApp().request.promisePost("/api/weshop/order/getrebateSum", { | |
1613 | - is_json: 1, data: req_d1 | |
1614 | - }).then(grs => { | |
1615 | - if (grs.data.code == 0) item[c].use_commission = grs.data.data; | |
1616 | - }); | |
1608 | + //单个就不调用了 | |
1609 | + // let req_d1 = { | |
1610 | + // user_id: getApp().globalData.user_id, goods_ids: [hr], store_id: os.stoid | |
1611 | + // } | |
1612 | + // await getApp().request.promisePost("/api/weshop/order/getrebateSum", { | |
1613 | + // is_json: 1, data: req_d1 | |
1614 | + // }).then(grs => { | |
1615 | + // if (grs.data.code == 0) item[c].use_commission = grs.data.data; | |
1616 | + // }); | |
1617 | 1617 | |
1618 | 1618 | commission_gds.push(hr); |
1619 | 1619 | } | ... | ... |