|
|
@@ -391,6 +391,7 @@ class UserOpen extends UserModel
|
|
|
'password' => md5('123456'),
|
|
|
'nickName' => $data['mobile'],
|
|
|
'openid' => $data['openid'], // authcode($data['openid'], 'DECODE'),
|
|
|
+ 'avatarUrl' => 'http://cni-ekshop.cni.com.cn/image/agent/user_head.png',
|
|
|
];
|
|
|
if (!$this->save($vall)) {
|
|
|
$this->error = '登录失败';
|