Commit 4ebe2a5832691944341a062fe444e99d8122f571
1 parent
19eaa3f1
佣金抵扣,单个不调用
Showing
1 changed file
with
9 additions
and
9 deletions
packageE/pages/cart/cart2/cart2.js
| ... | ... | @@ -1648,15 +1648,15 @@ Page({ |
| 1648 | 1648 | prom_type: item[c].prom_type, |
| 1649 | 1649 | prom_id: item[c].prom_id, |
| 1650 | 1650 | } |
| 1651 | - | |
| 1652 | - let req_d1 = { | |
| 1653 | - user_id: getApp().globalData.user_id, goods_ids: [hr], store_id: os.stoid | |
| 1654 | - } | |
| 1655 | - await getApp().request.promisePost("/api/weshop/order/getrebateSum", { | |
| 1656 | - is_json: 1, data: req_d1 | |
| 1657 | - }).then(grs => { | |
| 1658 | - if (grs.data.code == 0) item[c].use_commission = grs.data.data; | |
| 1659 | - }); | |
| 1651 | + //单个不调用 | |
| 1652 | + // let req_d1 = { | |
| 1653 | + // user_id: getApp().globalData.user_id, goods_ids: [hr], store_id: os.stoid | |
| 1654 | + // } | |
| 1655 | + // await getApp().request.promisePost("/api/weshop/order/getrebateSum", { | |
| 1656 | + // is_json: 1, data: req_d1 | |
| 1657 | + // }).then(grs => { | |
| 1658 | + // if (grs.data.code == 0) item[c].use_commission = grs.data.data; | |
| 1659 | + // }); | |
| 1660 | 1660 | |
| 1661 | 1661 | commission_gds.push(hr); |
| 1662 | 1662 | } | ... | ... |