...
|
...
|
@@ -207,6 +207,10 @@ class GoodsdetailsController extends WeChatBaseController{ |
|
|
$ret['type'] = 20;
|
|
|
return json_encode($ret);
|
|
|
}
|
|
|
if(in_array(intval($my_user['status']),[1,5,6])){
|
|
|
$ret['type'] = 21;
|
|
|
return json_encode($ret);
|
|
|
}
|
|
|
$goods_id = $_POST['id'];
|
|
|
$data[] = Db::name('goods') -> where('id',$goods_id) -> find();
|
|
|
$data[0]['book_num'] = 1;
|
...
|
...
|
|