五月婷婷之综合缴情,午夜直播免费看,日韩影片,色爽高清大片免费观看,天天影视网色香欲综合网

免費(fèi)咨詢熱線:15918671994

QQ群1:118466153

QQ群2:50056937

掃描二維碼

添加客服咨詢?cè)斍?/p>

了解更多,敬請(qǐng)垂詢 15918671994

您還可以

在線咨詢

添加微信立即咨詢

咨詢熱線:15918671994

—— 專業(yè)電商系統(tǒng)及解決方案提供服務(wù)商 ——

多用戶
商城系統(tǒng)

訂單
管理系統(tǒng)

訂貨
管理系統(tǒng)

多語(yǔ)言
商城系統(tǒng)

商淘云S2B2C多用戶商城系統(tǒng)

平臺(tái)演示 演示地址 賬號(hào)密碼
PC前端 http://test.wstmart.net/

掃碼咨詢客服

平臺(tái)后臺(tái) http://test.wstmart.net/admin
商家后臺(tái) http://test.wstmart.net/shop
供應(yīng)商后臺(tái) http://test.wstmart.net/supplier/
多語(yǔ)言多商戶 http://dyy.wstmart.net/
  • 安卓APP(用瀏覽器打開(kāi))

  • 蘋(píng)果APP

  • 小程序商城

  • 微信商城

查看:17888 回復(fù):1
 挨踢笨笨鳥(niǎo) 
頭像
  • 1
    主題
  • 1
    帖子
  • 0
    積分
order模型bug
返回
發(fā)表于 2020-05-14 11:49:37         只看該作者
樓主

在\wstmart\common\model\order模型中,$orderGoods['goodsType'] 直接賦值,這里應(yīng)該是改為 $orderGoods['goodsType'] = $goods['goodsType'];


具體代碼如下:

//創(chuàng)建訂單商品記錄
$orderGgoods = [];
$orderGoods['orderId'] = $orderId;
$orderGoods['goodsId'] = $goods['goodsId'];
$orderGoods['goodsNum'] = $goods['cartNum'];
$orderGoods['goodsPrice'] = $goods['shopPrice'];
$orderGoods['goodsSpecId'] = 0;
$orderGoods['goodsSpecNames'] = '';
$orderGoods['goodsName'] = $goods['goodsName'];
$orderGoods['goodsImg'] = $goods['goodsImg'];
$orderGoods['commissionRate'] = WSTGoodsCommissionRate($goods['goodsCatId']);
$orderGoods['goodsCode'] = '';
$orderGoods['goodsType'] = 1;
$orderGoods['extraJson'] = json_encode($goodsCards);
$orderGoods['promotionJson'] = '';
$orderGoods["orderGoodscommission"] = 0;
//計(jì)算訂單總傭金

支持 收藏 舉報(bào)

廣州商淘信息科技有限公司版權(quán)所有©alxm.cn 版權(quán)所有

粵ICP備16056415號(hào)

廣州公司:廣州市天河區(qū)珠江新城珠江城大廈