@@ -184,7 +184,8 @@ class Headquarters extends BaseController
}
$res['child'] = $child;
-
+ $res['relation_name'] =$res['relation_code']==""?'': Db::name('headquarters')->where('code',$res['relation_code'])
+ ->value('name','');
return json_show(0, '获取成功', $res);