Forráskód Böngészése

Merge branch 'feature/新手指导' of Software/android-cloud-H5 into develop

huangxiaojing 2 éve%!(EXTRA string=óta)
szülő
commit
b1280768af

+ 3 - 3
pages/activity/invite-user/guide-pc.vue

@@ -41,7 +41,7 @@ export default {
   },
   methods: {
     async getActiveInfo() {
-      const res = await this.$axios.$get('/videoCourse/client/list');
+      const res = await this.$axios.$get('/api/activity/videoCourse/client/list');
       this.videoList = res.data;
     },
     async getAdInfoByAdPlace() {
@@ -50,7 +50,7 @@ export default {
           adPlace: 20,
           os: 1
         }
-      const res = await this.$axios.$post('/v5/advertising/getAdInfoByAdPlace', data);
+      const res = await this.$axios.$post('/api/public/v5/advertising/getAdInfoByAdPlace', data);
       this.topADList = res.data;
     },
     play(item, ele) {
@@ -83,7 +83,7 @@ export default {
     },
     submit(item, ele, flag) {
       const data = flag === 1 ? { id: ele.id, plateId: item.plateId, type: flag, videoId: ele.id } : { type: 2 }
-      this.$axios.$post('/v5/advertising/getAdInfoByAdPlace', data, {headers: {Authorization: this.token}});
+      this.$axios.$post('/api/activity/v5/advertising/getAdInfoByAdPlace', data, {headers: {Authorization: this.token}});
     }
   }
 }

+ 3 - 3
pages/activity/invite-user/guide.vue

@@ -39,7 +39,7 @@ export default {
   },
   methods: {
     async getActiveInfo() {
-      const res = await this.$axios.$get('/videoCourse/client/list');
+      const res = await this.$axios.$get('/api/activity/videoCourse/client/list');
       this.videoList = res.data;
     },
     async getAdInfoByAdPlace() {
@@ -48,7 +48,7 @@ export default {
           adPlace: 20,
           os: 1
         }
-      const res = await this.$axios.$post('/v5/advertising/getAdInfoByAdPlace', data);
+      const res = await this.$axios.$post('/api/public/v5/advertising/getAdInfoByAdPlace', data);
       this.topADList = res.data;
     },
     play(item, ele) {
@@ -81,7 +81,7 @@ export default {
     },
     submit(item, ele, flag) {
       const data = flag === 1 ? { id: ele.id, plateId: item.plateId, type: flag, videoId: ele.id } : { type: 2 }
-      this.$axios.$post('/videoCourse/statistics/save', data, {headers: {Authorization: this.token}});
+      this.$axios.$post('/api/activity/videoCourse/statistics/save', data, {headers: {Authorization: this.token}});
     }
   }
 }