【类 型】:fix
【主 题】:makeToken函数 参数格式修改 【描 述】: [原因]:参数格式修改导致bug [过程]:已数组形式传参 键值对数据 [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
cdf4107e8b
commit
672d38560d
@ -43,7 +43,7 @@ class LoginController extends PublicController
|
||||
exit();
|
||||
}
|
||||
// 用户已经注册 分发token等用户信息给前端
|
||||
$token = $this->makeToken($getAuth['openid'], $getAuth['session_key']);
|
||||
$token = $this->makeToken(array('openid' => $getAuth['openid'], 'session_key' => $getAuth['session_key']));
|
||||
if ($user['tel'] != null) {
|
||||
$user['tel'] = $this->maskPhoneNumber($user['tel']); //用户已经填写过 电话的话 给前端返回 截取替换* 之后的电话号
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user