@@ -522,6 +522,8 @@ class User extends Api
$isset = Db::name('user_qiye')->where('uid',$user['id'])->find();
+ $data['avatar_image'] = config('site.httpurl').'/assets/img/qrcode.png';
+
if ($isset) {
return $this->error('您的审核已经提交过了');
}
@@ -153,7 +153,7 @@ class Auth
'mobile' => $mobile,
'level' => 0,
'score' => 0,
- 'avatar' => '',
];
if (!$avatar) $avatar = config('site.httpurl').'/assets/img/qrcode.png';
$params = array_merge($data, [