|
@@ -96,7 +96,14 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
async doRequest() {
|
|
|
- const res = await this.$api.refreshToken(this.options.user_account);
|
|
|
+ const res = await this.$http({
|
|
|
+ url: "/app/common/automatic/account_login",
|
|
|
+ method: "post",
|
|
|
+ noToken: true,
|
|
|
+ data: {
|
|
|
+ userAccount: this.options.user_account,
|
|
|
+ },
|
|
|
+ });
|
|
|
if (res.data.code === 200) {
|
|
|
uni.setStorageSync("token", res.data.data.token);
|
|
|
uni.setStorageSync("user_account", this.options.user_account);
|