新增获取甲方公司信息
This commit is contained in:
parent
4617aea97e
commit
cae380f93e
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user