guhongwei 5 роки тому
батько
коміт
3d50e9f3f5
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/views/index.vue

+ 2 - 2
src/views/index.vue

@@ -302,8 +302,8 @@ export default {
     },
     },
     //请求广告列表
     //请求广告列表
     async getAdv() {
     async getAdv() {
-      let res1 = await this.advQuery({ skip: 0, limit: 1, is_use: '0', type: '1' });
-      let res0 = await this.advQuery({ skip: 0, limit: 1, is_use: '0', type: '0' });
+      let res1 = await this.advQuery({ skip: 0, limit: 1, is_use: '0', position: '1' });
+      let res0 = await this.advQuery({ skip: 0, limit: 1, is_use: '0', position: '2' });
       let method = (res, index) => {
       let method = (res, index) => {
         if (this.$checkRes(res)) {
         if (this.$checkRes(res)) {
           let adv = res.data[0];
           let adv = res.data[0];