|
@@ -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}});
|
|
|
}
|
|
|
}
|
|
|
}
|