修复委托商品不存在

This commit is contained in:
mkm 2023-10-26 18:23:29 +08:00
parent b26593a6f1
commit 02656d6c2e

View File

@ -801,7 +801,7 @@ class Community extends BaseController
return app('json')->fail('委托商品不存在');
}
// $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) {
return app('json')->fail('委托商品不存在');
}