...
|
...
|
@@ -447,7 +447,7 @@ class Order extends Api |
|
|
'goods_id' => $goodsItem['id'],
|
|
|
'ch_goods_name' => $goodsItem['ch_name'],
|
|
|
'en_goods_name' => $goodsItem['en_name'],
|
|
|
'goods_image' => $goodsItem['image'],
|
|
|
'goods_image' => strstr($goodsItem['image'],'/uploads'),
|
|
|
'number' => $goodsItem['number'],
|
|
|
'type' => $goodsItem['type'],
|
|
|
'score' => !empty($goodsItem['integral']) ? $goodsItem['integral'] : 0,
|
...
|
...
|
@@ -824,7 +824,7 @@ class Order extends Api |
|
|
'goods_id' => $goodsInfo['id'],
|
|
|
'ch_goods_name' => $goodsInfo['ch_name'],
|
|
|
'en_goods_name' => $goodsInfo['en_name'],
|
|
|
'goods_image' => $goodsInfo['image'],
|
|
|
'goods_image' => strstr($goodsInfo['image'],'/uploads'),
|
|
|
'number' => 1,
|
|
|
'type' => 2, //积分商品
|
|
|
'score' => !empty($data['integral']) ? $data['integral'] : 0,
|
...
|
...
|
@@ -1136,7 +1136,7 @@ class Order extends Api |
|
|
'goods_id' => $param['goods_id'],
|
|
|
'ch_goods_name' => $goodsInfo['ch_name'],
|
|
|
'en_goods_name' => $goodsInfo['en_name'],
|
|
|
'goods_image' => $goodsInfo['image'],
|
|
|
'goods_image' => strstr($goodsInfo['image'],'/uploads'),
|
|
|
'number' => 1, //团购商品购买数量只能是1
|
|
|
'type' => 3,
|
|
|
'goods_total' => $data['original_price'],
|
...
|
...
|
|