diff --git a/config/baseUrl.js b/config/baseUrl.js
index 6018dfc..3f8db9c 100644
--- a/config/baseUrl.js
+++ b/config/baseUrl.js
@@ -5,8 +5,8 @@ if (process.env.NODE_ENV === 'development') {
// baseUrl = "http://localhost:7001/";
// socketUrl = "ws://localhost:6001/";
// baseUrl = "https://twin-ui.com/demo/";
- // baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
- baseUrl = "https://api.nuttyreading.com/"; // 线上正式
+ baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
+ // baseUrl = "https://api.nuttyreading.com/"; // 线上正式
// baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑
// baseUrl = "http://59.110.212.44:9200/pb/";
// baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑
diff --git a/pages/course/myCourseLearn.vue b/pages/course/myCourseLearn.vue
index a9d3d11..f5613be 100644
--- a/pages/course/myCourseLearn.vue
+++ b/pages/course/myCourseLearn.vue
@@ -50,9 +50,9 @@
{{item.title}}
-
-
-
+
- 您未购买此目录课程或已到期,购买后或开通 超级VIP 即可学习本目录课程
-
+
+
+ 您未购买此目录课程或已到期,购买后或开通 超级VIP 即可学习本目录课程
+
+
+
+
+
+
@@ -813,30 +820,7 @@
url: `/pages/course/learn?courseId=${this.course.id}&catalogueId
=${this.curId}&chapterId=${item.id}`
})
- },
- getPath(item, index) {
- $http.request({
- url: "sociology/course/getCourseCatalogueChapterDetail",
- method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
- data: {
- "id": item.id
- },
- header: { //默认 无 说明:请求头
- 'Content-Type': 'application/json'
- },
- }).then(res => {
- if (res.code == 0) {
-
- // if (res.page.length > 0) {
- // this.learnList = res.page
- // } else {
- // this.learnList = []
- // }
- }
- // console.log(res,'-------------')
-
- });
- },
+ },
clicklib(item, index) {
if (item.id == this.curId) {
return
@@ -893,7 +877,7 @@
if (res.code == 0) {
if (res.chapterList.length > 0) {
this.courseList = res.chapterList
- // console.log('status', res)
+ console.log('status++++++++++++++', this.courseList)
} else {
this.courseList = []
}