Commit ef42aea9f5cbe54b408f07043890d35441304329
1 parent
75286b17
接口报404的问题处理,是拼接了两个uid造成的,已做处理~
Showing
3 changed files
with
4 additions
and
4 deletions
src/pages/common/common.vue
| @@ -224,7 +224,7 @@ | @@ -224,7 +224,7 @@ | ||
| 224 | checkLogin(doLogin = true) { | 224 | checkLogin(doLogin = true) { |
| 225 | 225 | ||
| 226 | // 如果已登录,返回true,不做处理 | 226 | // 如果已登录,返回true,不做处理 |
| 227 | - if (this.$route.query.uid || this.getStore("uid")) { | 227 | + if (this.getStore("uid")) { |
| 228 | return true; | 228 | return true; |
| 229 | } | 229 | } |
| 230 | 230 |
src/pages/fansShopMessageList/fansShopMessageList.vue
| @@ -89,7 +89,7 @@ | @@ -89,7 +89,7 @@ | ||
| 89 | 89 | ||
| 90 | // 请求接口 | 90 | // 请求接口 |
| 91 | this.http("/Api/" + this.getApiVersion().dynamic + "/fansShopMessageList", { | 91 | this.http("/Api/" + this.getApiVersion().dynamic + "/fansShopMessageList", { |
| 92 | - uid: (this.$route.query.uid || this.getStore("uid")) | 92 | + uid: this.getStore("uid") |
| 93 | },this.fansShopMessageListCallback, { | 93 | },this.fansShopMessageListCallback, { |
| 94 | method: "post" | 94 | method: "post" |
| 95 | }); | 95 | }); |
src/pages/optimization/optimization.vue
| @@ -154,7 +154,7 @@ | @@ -154,7 +154,7 @@ | ||
| 154 | 154 | ||
| 155 | // 获取证书请求接口 | 155 | // 获取证书请求接口 |
| 156 | this.http("/Api/" + this.getApiVersion().dynamic + "/fansShopMessageList", { | 156 | this.http("/Api/" + this.getApiVersion().dynamic + "/fansShopMessageList", { |
| 157 | - uid: (this.$route.query.uid || this.getStore("uid")) | 157 | + uid: this.getStore("uid") |
| 158 | }, this.fansShopMessageListCallback, { | 158 | }, this.fansShopMessageListCallback, { |
| 159 | method: "post" | 159 | method: "post" |
| 160 | } | 160 | } |
| @@ -256,7 +256,7 @@ | @@ -256,7 +256,7 @@ | ||
| 256 | // 设置跳转参数 | 256 | // 设置跳转参数 |
| 257 | let options = { | 257 | let options = { |
| 258 | type: "5", | 258 | type: "5", |
| 259 | - to: (window.location.href.split("#")[0] + "#/fansShopMessageList?uid=" + (this.$route.query.uid || this.getStore("uid"))), | 259 | + to: (window.location.href.split("#")[0] + "#/fansShopMessageList?uid=" + this.getStore("uid")), |
| 260 | shop_type: "" | 260 | shop_type: "" |
| 261 | } | 261 | } |
| 262 | 262 |