修改接口问题
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user