|
@@ -146,7 +146,7 @@ class Login extends Base
|
|
|
$user_info = json_decode($user_info,true);
|
|
|
$data['openid'] = $user_info['openid'];
|
|
|
$data['name'] = $user_info['nickname'];
|
|
|
- $data['headimg'] = $user_info['headimg'];
|
|
|
+ $data['headimg'] = $user_info['headimgurl'];
|
|
|
$data['token'] = '';
|
|
|
$member_id = Db::name('store_member')->where('app_openid',$data['openid'])->value('id');
|
|
|
if(empty($member_id)){
|