修复委托商品不存在
This commit is contained in:
parent
b26593a6f1
commit
02656d6c2e
@ -801,7 +801,7 @@ class Community extends BaseController
|
|||||||
return app('json')->fail('委托商品不存在');
|
return app('json')->fail('委托商品不存在');
|
||||||
}
|
}
|
||||||
// $uid = $this->request->uid();
|
// $uid = $this->request->uid();
|
||||||
$entrust = Db::name('entrust')->where('community_id', $id)->where('is_del', 0)->find();
|
$entrust = Db::name('entrust')->where('community_id', $id)->find();
|
||||||
if (!$entrust) {
|
if (!$entrust) {
|
||||||
return app('json')->fail('委托商品不存在');
|
return app('json')->fail('委托商品不存在');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user