Commit 2d168c14 by zhanghui1

修改apiDomian为this.UC_BASEURL

parent 42f40dbb
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
email = this.form.country + '|' + this.form.email; email = this.form.country + '|' + this.form.email;
const { data: accountResponse } = await this.$axios const { data: accountResponse } = await this.$axios
.post(apiDomain + '/auth/api' + api['post-login-start'], { .post(this.UC_BASEURL + '/auth/api' + api['post-login-start'], {
captcha: this.showMobileCaptcha ? this.form.captcha : '', // todo: 登录验证码 captcha: this.showMobileCaptcha ? this.form.captcha : '', // todo: 登录验证码
email, email,
type: 'mobile' type: 'mobile'
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
} }
const { data: passwordResponse } = await this.$axios const { data: passwordResponse } = await this.$axios
.post(apiDomain + '/auth/api' + api['post-login-password'], { .post(this.UC_BASEURL + '/auth/api' + api['post-login-password'], {
password: this.form.password password: this.form.password
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment