...
|
...
|
@@ -60,6 +60,9 @@ class Goods extends Api |
|
|
$goods_spec = Db::name('litestore_goods_spec')->where('goods_id',$goods['goods_id'])->find();
|
|
|
$goods['price'] = $goods_spec['goods_price'];
|
|
|
$goods['line_price'] = $goods_spec['line_price'];
|
|
|
// 产地
|
|
|
$makerfor_list = ['1' => '国产','2' => '进口'];
|
|
|
$goods['makefor'] = isset($makerfor_list[$goods['makefor']]) ? $makerfor_list[$goods['makefor']] : '未知';
|
|
|
$this->success('商品详情',$goods);
|
|
|
}
|
|
|
|
...
|
...
|
|