Commit 91390ae0 by 朱继来

调整公司model

parent 8600c65d
Showing with 2 additions and 0 deletions
......@@ -19,6 +19,8 @@ class UserCompanyModel extends Model
{
$info = $this->where('user_id', $user_id)->first();
if (!$info) return false;
// 公司性质
$company_type = Config('params.company_type');
$info['type_id_val'] = $company_type[$info['type_id']];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment