Commit 69f9d506ab1afef09def19bed74ed90c6155318b

Authored by zhiyangdu
1 parent 87229b42

url获取参数兼容

src/pages/moreDynamic/moreDynamic.vue
@@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@
46 46
47 // 获取证书请求接口 47 // 获取证书请求接口
48 this.http("/Api/" + this.getApiVersion().dynamic + "/getNewDynamicList", { 48 this.http("/Api/" + this.getApiVersion().dynamic + "/getNewDynamicList", {
49 - uid: this.$route.query.uid, 49 + uid: this.getStore("uid") || 0,
50 page: this.pages, 50 page: this.pages,
51 type: 2 51 type: 2
52 }, this.getNewDynamicListCallback, { 52 }, this.getNewDynamicListCallback, {
src/pages/recommendMore/recommendMore.vue
@@ -138,7 +138,7 @@ @@ -138,7 +138,7 @@
138 // 请求接口 138 // 请求接口
139 this.http("/Api/" + this.getApiVersion().dynamic + "/fansShop", { 139 this.http("/Api/" + this.getApiVersion().dynamic + "/fansShop", {
140 id: item.id || 0, 140 id: item.id || 0,
141 - uid: this.$route.query.uid || 0 141 + uid: this.getStore("uid") || 0
142 }, this.fansShopCallback, { 142 }, this.fansShopCallback, {
143 method: "post", 143 method: "post",
144 item 144 item