|
@@ -447,7 +447,7 @@ class Order extends Api |
|
@@ -447,7 +447,7 @@ class Order extends Api |
447
|
'goods_id' => $goodsItem['id'],
|
447
|
'goods_id' => $goodsItem['id'],
|
448
|
'ch_goods_name' => $goodsItem['ch_name'],
|
448
|
'ch_goods_name' => $goodsItem['ch_name'],
|
449
|
'en_goods_name' => $goodsItem['en_name'],
|
449
|
'en_goods_name' => $goodsItem['en_name'],
|
450
|
- 'goods_image' => $goodsItem['image'],
|
450
|
+ 'goods_image' => strstr($goodsItem['image'],'/uploads'),
|
451
|
'number' => $goodsItem['number'],
|
451
|
'number' => $goodsItem['number'],
|
452
|
'type' => $goodsItem['type'],
|
452
|
'type' => $goodsItem['type'],
|
453
|
'score' => !empty($goodsItem['integral']) ? $goodsItem['integral'] : 0,
|
453
|
'score' => !empty($goodsItem['integral']) ? $goodsItem['integral'] : 0,
|
|
@@ -824,7 +824,7 @@ class Order extends Api |
|
@@ -824,7 +824,7 @@ class Order extends Api |
824
|
'goods_id' => $goodsInfo['id'],
|
824
|
'goods_id' => $goodsInfo['id'],
|
825
|
'ch_goods_name' => $goodsInfo['ch_name'],
|
825
|
'ch_goods_name' => $goodsInfo['ch_name'],
|
826
|
'en_goods_name' => $goodsInfo['en_name'],
|
826
|
'en_goods_name' => $goodsInfo['en_name'],
|
827
|
- 'goods_image' => $goodsInfo['image'],
|
827
|
+ 'goods_image' => strstr($goodsInfo['image'],'/uploads'),
|
828
|
'number' => 1,
|
828
|
'number' => 1,
|
829
|
'type' => 2, //积分商品
|
829
|
'type' => 2, //积分商品
|
830
|
'score' => !empty($data['integral']) ? $data['integral'] : 0,
|
830
|
'score' => !empty($data['integral']) ? $data['integral'] : 0,
|
|
@@ -1136,7 +1136,7 @@ class Order extends Api |
|
@@ -1136,7 +1136,7 @@ class Order extends Api |
1136
|
'goods_id' => $param['goods_id'],
|
1136
|
'goods_id' => $param['goods_id'],
|
1137
|
'ch_goods_name' => $goodsInfo['ch_name'],
|
1137
|
'ch_goods_name' => $goodsInfo['ch_name'],
|
1138
|
'en_goods_name' => $goodsInfo['en_name'],
|
1138
|
'en_goods_name' => $goodsInfo['en_name'],
|
1139
|
- 'goods_image' => $goodsInfo['image'],
|
1139
|
+ 'goods_image' => strstr($goodsInfo['image'],'/uploads'),
|
1140
|
'number' => 1, //团购商品购买数量只能是1
|
1140
|
'number' => 1, //团购商品购买数量只能是1
|
1141
|
'type' => 3,
|
1141
|
'type' => 3,
|
1142
|
'goods_total' => $data['original_price'],
|
1142
|
'goods_total' => $data['original_price'],
|