新增金币账单,修复验证码登入失败问题
This commit is contained in:
@@ -104,7 +104,7 @@ function oauthToken () {
|
||||
data: idOrPhone ? {
|
||||
"grant_type": "password", phone, password, client_id: "erban-client", "client_secret": "uyzjdhds"
|
||||
} :
|
||||
{ grant_type: 'verify_code', phoneAreaCode, phone:`${code}${phone}`, code, client_id: "erban-client", "client_secret": "uyzjdhds" },
|
||||
{ grant_type: 'verify_code', phoneAreaCode, phone:`${phoneAreaCode}${phone}`, code, client_id: "erban-client", "client_secret": "uyzjdhds" },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
token = res.data.access_token;
|
||||
|
Reference in New Issue
Block a user