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

免費咨詢熱線:15918671994

QQ群1:118466153

QQ群2:50056937

掃描二維碼

添加客服咨詢詳情

了解更多,敬請垂詢 15918671994

您還可以

在線咨詢

添加微信立即咨詢

咨詢熱線:15918671994

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

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

訂單
管理系統(tǒng)

訂貨
管理系統(tǒng)

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

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

平臺演示 演示地址 賬號密碼
PC前端 http://test.wstmart.net/

掃碼咨詢客服

平臺后臺 http://test.wstmart.net/admin
商家后臺 http://test.wstmart.net/shop
供應商后臺 http://test.wstmart.net/supplier/
多語言多商戶 http://dyy.wstmart.net/
  • 安卓APP(用瀏覽器打開)

  • 蘋果APP

  • 小程序商城

  • 微信商城

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

在\wstmart\common\model\order模型中,$orderGoods['goodsType'] 直接賦值,這里應該是改為 $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;
//計算訂單總傭金

支持 收藏 舉報
商淘技術支持
頭像
  • 4
    主題
  • 50
    帖子
  • 0
    積分
發(fā)表于 2020-05-15 09:33:24         只看該作者
沙發(fā)
跳轉至

感謝您的反饋,該問題已轉發(fā)給相關同事處理。

回復 支持 反對 舉報

廣州商淘信息科技有限公司版權所有©alxm.cn 版權所有

粵ICP備16056415號

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