|
@@ -259,6 +259,8 @@ class Pub extends BaseController
|
|
|
if(empty($data)){
|
|
if(empty($data)){
|
|
|
return app('json')->fail("当前用户还未通过审核");
|
|
return app('json')->fail("当前用户还未通过审核");
|
|
|
}
|
|
}
|
|
|
|
|
+ $typeData = (new TypeAudit)->where("uid",$uid)->order("id","desc")->find();
|
|
|
|
|
+ $data["is_type_audit"] = (empty($typeData) || $typeData["status"]!=1)?0:1;
|
|
|
return app('json')->success($data);
|
|
return app('json')->success($data);
|
|
|
}
|
|
}
|
|
|
|
|
|