新增金币账单,修复验证码登入失败问题

This commit is contained in:
Dragon
2023-07-14 16:37:12 +08:00
parent 131a276e58
commit f1badb8d03
16 changed files with 22 additions and 21 deletions

View File

@@ -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;