修改接口问题

This commit is contained in:
duan
2024-12-31 17:05:26 +08:00
parent 8775b23f6a
commit 3b3e167089
10 changed files with 41 additions and 31 deletions

View File

@@ -852,7 +852,7 @@ export default {
console.log('has this.courseId getDataList()');
this.getDataList(this.courseId, this.courseDetailsId);
}
this.$Request.getT('app/course/getRedEnvelopeTips').then((res) => {
this.$Request.getT('/app/course/getRedEnvelopeTips').then((res) => {
if (res.code == 0) {
this.getRedEnvelopeTips = res.data;
}
@@ -944,7 +944,7 @@ export default {
* 获取金币比例
*/
getScale() {
this.$Request.getT('app/common/type/914', {}).then((res) => {
this.$Request.getT('/app/common/type/914', {}).then((res) => {
if (res.code == 0) {
this.scale = Number(res.data.value);
}
@@ -1241,7 +1241,7 @@ export default {
if (this.playFlag) {
this.playFlag = false;
this.$Request
.getT('app/course/viewCourse', {
.getT('/app/course/viewCourse', {
courseId: this.courseId,
courseDetailsId: this.courseDetailsId,
type: 'end'
@@ -2005,7 +2005,7 @@ export default {
//播放时的回掉
videoPlay(videoId) {
this.$Request
.getT('app/course/viewCourse', {
.getT('/app/course/viewCourse', {
courseId: this.courseId,
courseDetailsId: this.courseDetailsId,
type: 'start'