|
@@ -466,15 +466,14 @@ class User extends BaseController
|
|
|
}
|
|
|
$post = UtilService::getMore([
|
|
|
['service_audit_imgs',[],"empty","请上传服务认证截图"],
|
|
|
- ['store_name', '', 'string', '']
|
|
|
+ ['store_name','','',''],
|
|
|
],$request);
|
|
|
$save=[];
|
|
|
- $save["service_audit_imgs"] = empty($post["service_audit_imgs"]) ?"": implode(",", $post["service_audit_imgs"]);
|
|
|
+ $save["service_audit_imgs"] = empty($post["service_audit_imgs"]) ? "" : implode(",", $post["service_audit_imgs"]);
|
|
|
+ $save["store_name"] = empty($post["store_name"]) ? "" : $post["store_name"];
|
|
|
$save["status"] = 0;
|
|
|
$save["time"] = time();
|
|
|
$save["uid"] = $request->user["uid"];
|
|
|
- $save["store_name"] = $post["store_name"];
|
|
|
-
|
|
|
if(empty($save["service_audit_imgs"])){
|
|
|
return app('json')->fail("请上传服务认证截图");
|
|
|
}
|
|
@@ -484,7 +483,7 @@ class User extends BaseController
|
|
|
return app('json')->fail("系统错误");
|
|
|
}
|
|
|
$no = "CERT-".date("YmdHis")."-".$r;
|
|
|
- (new TypeAudit)->where("id",$r)->update(["no"=>$no, "store_name" => $post["store_name"]]);
|
|
|
+ (new TypeAudit)->where("id",$r)->update(["no"=>$no]);
|
|
|
return app('json')->success("提交成功,请耐心等待审核");
|
|
|
}
|
|
|
|