Commit e0f6d04578edfe8cbe962e572525c930f7dcd5ed

Authored by 王强
1 parent 76860c04

优选库——旗舰店页面,添加type参数,区分不同数据~

Showing 1 changed file with 4 additions and 2 deletions
src/pages/mall2/mall2.vue
@@ -184,7 +184,8 @@ @@ -184,7 +184,8 @@
184 184
185 // 获取证书请求接口 185 // 获取证书请求接口
186 this.http("/Api/" + this.getApiVersion().good + "/flagship", { 186 this.http("/Api/" + this.getApiVersion().good + "/flagship", {
187 - uid: this.getStore("uid") || 0 187 + uid: this.getStore("uid") || 0,
  188 + type: this.$route.query.type || 0
188 }, this.flagshipCallback, { 189 }, this.flagshipCallback, {
189 method: "POST" 190 method: "POST"
190 }); 191 });
@@ -240,7 +241,8 @@ @@ -240,7 +241,8 @@
240 // 获取证书请求接口 241 // 获取证书请求接口
241 this.http("/Api/" + this.getApiVersion().good + "/flagshipList", { 242 this.http("/Api/" + this.getApiVersion().good + "/flagshipList", {
242 uid: this.getStore("uid") || 0, 243 uid: this.getStore("uid") || 0,
243 - page: page 244 + page: page,
  245 + type: this.$route.query.type || 0
244 }, this.flagshipListCallback, { 246 }, this.flagshipListCallback, {
245 method: "POST", 247 method: "POST",
246 CALL_STATUS, 248 CALL_STATUS,