|
@@ -124,7 +124,7 @@ class FirmController extends AdminController
|
|
|
$id = request()->input('id','');//获取需要删除的id
|
|
$id = request()->input('id','');//获取需要删除的id
|
|
|
if(empty($id)) return $this->apiResponseError('缺少必要参数');
|
|
if(empty($id)) return $this->apiResponseError('缺少必要参数');
|
|
|
|
|
|
|
|
- $info = Firm::where('id',$id)->select(['id','firm_name','phone','license_number','license_img','registered_address','authType','legal_identity_one','legal_identity_two','legal_id_number'])->first();
|
|
|
|
|
|
|
+ $info = Firm::where('id',$id)->select(['id','firm_name','phone','license_number','license_img','registered_address','authType','legal_identity_one','legal_identity_two','legal_id_number','legal_name'])->first();
|
|
|
if (empty($info)) {
|
|
if (empty($info)) {
|
|
|
return $this->apiResponseError('没有找到该记录');
|
|
return $this->apiResponseError('没有找到该记录');
|
|
|
}
|
|
}
|