更新委托详情接口

This commit is contained in:
yaooo 2023-09-09 09:43:57 +08:00
parent df000b1d41
commit 41d3c27a80

View File

@ -800,7 +800,7 @@ class Community extends BaseController
*/
public function entrustDetail($id)
{
$communityInfo = Db::name('community')->where('community_id', $id)->where('is_del', 0)->field(['community_id', 'title', 'image', 'content','mer_status', 'entrust_mer_id', 'entrust_start_date'])->find();
$communityInfo = Db::name('community')->where('community_id', $id)->where('is_del', 0)->field(['community_id', 'title', 'image', 'content', 'uid', 'mer_status', 'entrust_mer_id', 'entrust_start_date'])->find();
if (!$communityInfo) {
return app('json')->fail('委托商品不存在');
}