|
@@ -19,7 +19,7 @@ class AccountCompany extends Base
|
|
|
];
|
|
|
protected $updateTime='updatetime';
|
|
|
protected $createTime='addtime';
|
|
|
- protected $visible = ["id","companyCode","companyName","company_type","is_main","status","addtime"];
|
|
|
+// protected $visible = ["id","companyCode","companyName","company_type","is_main","status","addtime"];
|
|
|
|
|
|
public function accountInfo(){
|
|
|
return $this->belongsTo(Account::class,"account_id","id")->bind(['nickname','user_mobile','mobile','openId','depart_name','itemid','depart_link','position',"username"]);
|