|
@@ -1885,7 +1885,7 @@ class Goodup extends Base
|
|
|
if (!$val->check($param)) return error_show(1004, $val->getError());
|
|
|
|
|
|
$good_zixun_list = Db::name("good_zixun")
|
|
|
- ->where(["is_del" => 0, 'status' => 1])
|
|
|
+ ->where(["is_del" => 0])
|
|
|
->whereIn('spuCode', $param['codes'])
|
|
|
->column('*', 'spuCode');
|
|
|
if (empty($good_zixun_list)) return error_show(1004, "未找到相关咨询商品数据");
|
|
@@ -1899,7 +1899,7 @@ class Goodup extends Base
|
|
|
->whereIn('spuCode', $param['codes'])
|
|
|
->find();
|
|
|
|
|
|
- if (!empty($isonline)) return error_show(1005, '存在已上线商品' . $isonline['spuCode']);
|
|
|
+ if (!empty($isonline)) return error_show(1005, '存在已上线商品' . $isonline['spuCode'].',请从系统商品库操作');
|
|
|
|
|
|
$user = GetUserInfo($param['token']);
|
|
|
if (empty($user) || $user['code'] != 0) return error_show(1002, "用户数据不存在");
|