Commit ef42aea9f5cbe54b408f07043890d35441304329

Authored by 王强
1 parent 75286b17

接口报404的问题处理,是拼接了两个uid造成的,已做处理~

src/pages/common/common.vue
... ... @@ -224,7 +224,7 @@
224 224 checkLogin(doLogin = true) {
225 225  
226 226 // 如果已登录,返回true,不做处理
227   - if (this.$route.query.uid || this.getStore("uid")) {
  227 + if (this.getStore("uid")) {
228 228 return true;
229 229 }
230 230  
... ...
src/pages/fansShopMessageList/fansShopMessageList.vue
... ... @@ -89,7 +89,7 @@
89 89  
90 90 // 请求接口
91 91 this.http("/Api/" + this.getApiVersion().dynamic + "/fansShopMessageList", {
92   - uid: (this.$route.query.uid || this.getStore("uid"))
  92 + uid: this.getStore("uid")
93 93 },this.fansShopMessageListCallback, {
94 94 method: "post"
95 95 });
... ...
src/pages/optimization/optimization.vue
... ... @@ -154,7 +154,7 @@
154 154  
155 155 // 获取证书请求接口
156 156 this.http("/Api/" + this.getApiVersion().dynamic + "/fansShopMessageList", {
157   - uid: (this.$route.query.uid || this.getStore("uid"))
  157 + uid: this.getStore("uid")
158 158 }, this.fansShopMessageListCallback, {
159 159 method: "post"
160 160 }
... ... @@ -256,7 +256,7 @@
256 256 // 设置跳转参数
257 257 let options = {
258 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 260 shop_type: ""
261 261 }
262 262  
... ...