更新
This commit is contained in:
parent
e07a1e0436
commit
d4fe5e76a5
@ -149,6 +149,8 @@ class UserInformationgLogic extends BaseLogic
|
||||
'id' => $v['id'],
|
||||
'category_id' => $v['category_id'],
|
||||
'category_child' => $v['category_child'],
|
||||
'create_time' => $v['create_time'],
|
||||
'update_time' => $v['update_time'],
|
||||
'datas' => $a
|
||||
];
|
||||
if ($a) {
|
||||
|
@ -59,6 +59,9 @@ class CompanyController extends BaseApiController
|
||||
$company = $query->append(['province_name', 'city_name', 'area_name', 'street_name', 'area_manager_name'])->toArray();
|
||||
$company['other_contacts'] = json_decode($company['other_contacts'], true);
|
||||
$company['qualification'] = $company['qualification'] != null ? json_decode($company['qualification'], true) : '';
|
||||
if($company['qualification'] && isset($company['qualification']['other_qualifications'])){
|
||||
$company['qualification']['other_qualifications']=json_decode($company['qualification']['other_qualifications'],true);
|
||||
}
|
||||
$contract = Contract::where('party_b',$id)->find();
|
||||
if (!empty($contract)) {
|
||||
if ($contract['type'] == 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user