新增获取甲方公司信息

This commit is contained in:
yaooo 2023-11-17 14:20:29 +08:00
parent 4617aea97e
commit cae380f93e

View File

@ -415,4 +415,20 @@
}
}
public function getPartyA()
{
if(!$this->request->isPost()){
return $this->fail('请求方式错误');
}
$companyId = $this->request->param('company_id');
if(empty($companyId)){
return $this->fail('缺少公司id');
}
$re = CompanyLogic::getPartyA($companyId);
if ($re === false) {
return $this->fail(CompanyLogic::getError());
}
return $this->success('成功', $re);
}
}