修改接口问题
This commit is contained in:
@@ -497,7 +497,7 @@
|
||||
|
||||
this.getDataList(this.courseId, this.courseDetailsId);
|
||||
}
|
||||
httpsRequest.getT('app/course/getRedEnvelopeTips').then(res => {
|
||||
httpsRequest.getT('/app/course/getRedEnvelopeTips').then(res => {
|
||||
if (res.code == 0) {
|
||||
this.getRedEnvelopeTips = res.data
|
||||
}
|
||||
@@ -559,7 +559,7 @@
|
||||
* 获取金币比例
|
||||
*/
|
||||
getScale() {
|
||||
httpsRequest.getT("app/common/type/914", {}).then(res => {
|
||||
httpsRequest.getT("/app/common/type/914", {}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.scale = Number(res.data.value)
|
||||
}
|
||||
@@ -571,7 +571,7 @@
|
||||
// this.courseDetailsId = courseDetailsId
|
||||
if (!this.playFlag) {
|
||||
this.playFlag = true
|
||||
httpsRequest.getT('app/course/viewCourse', {
|
||||
httpsRequest.getT('/app/course/viewCourse', {
|
||||
courseId: this.courseId,
|
||||
courseDetailsId: courseDetailsId,
|
||||
type: 'start'
|
||||
@@ -587,7 +587,7 @@
|
||||
if (e.detail.currentTime > e.detail.duration * 0.9) {
|
||||
if (this.playFlag) {
|
||||
this.playFlag = false
|
||||
httpsRequest.getT('app/course/viewCourse', {
|
||||
httpsRequest.getT('/app/course/viewCourse', {
|
||||
courseId: this.courseId,
|
||||
courseDetailsId: this.courseDetailsId,
|
||||
type: 'end'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -473,7 +473,7 @@
|
||||
this.getDataList(this.courseId, this.courseDetailsId);
|
||||
|
||||
}
|
||||
httpsRequest.getT('app/course/getRedEnvelopeTips').then(res => {
|
||||
httpsRequest.getT('/app/course/getRedEnvelopeTips').then(res => {
|
||||
if (res.code === 0) {
|
||||
this.getRedEnvelopeTips = res.data
|
||||
}
|
||||
@@ -533,7 +533,7 @@
|
||||
* 获取金币比例
|
||||
*/
|
||||
getScale() {
|
||||
httpsRequest.getT("app/common/type/914", {}).then(res => {
|
||||
httpsRequest.getT("/app/common/type/914", {}).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.scale = Number(res.data.value)
|
||||
}
|
||||
@@ -544,7 +544,7 @@
|
||||
this.courseDetailsId = courseDetailsId
|
||||
if (!this.playFlag) {
|
||||
this.playFlag = true
|
||||
httpsRequest.getT('app/course/viewCourse', {
|
||||
httpsRequest.getT('/app/course/viewCourse', {
|
||||
courseId: this.courseId,
|
||||
courseDetailsId: courseDetailsId,
|
||||
type: 'start'
|
||||
@@ -560,7 +560,7 @@
|
||||
if (e.detail.currentTime > e.detail.duration * 0.9) {
|
||||
if (this.playFlag) {
|
||||
this.playFlag = false
|
||||
httpsRequest.getT('app/course/viewCourse', {
|
||||
httpsRequest.getT('/app/course/viewCourse', {
|
||||
courseId: this.courseId,
|
||||
courseDetailsId: this.courseDetailsId,
|
||||
type: 'end'
|
||||
|
||||
Reference in New Issue
Block a user