Rorschach преди 5 години
родител
ревизия
ca29d2f574

+ 3 - 1
component/follow/follow.js

@@ -32,7 +32,9 @@ export const followInit = (that) => {
         followData: that.data.followData,
         followPageTotalNo: res.data.data.totalNo
       })
-      httpRequestApi.userIntoPage('pages/index/index','首页动态')
+      httpRequestApi.userIntoPage('pages/index/index','首页动态').success((res)=>{
+        
+      })
     });
   }
   that.getWorks(1, 5);

+ 3 - 1
component/group/group.js

@@ -62,7 +62,9 @@ export const groupInit = (that) => {
       that.setData({
         groupData: that.data.groupData
       })
-      httpRequestApi.userIntoPage('pages/index/index','首页热团')
+      httpRequestApi.userIntoPage('pages/index/index','首页热团').success((res)=>{
+        
+      })
     }).fail((error) => {
       console.log('错误', error)
     })

+ 3 - 1
component/hot/hot.js

@@ -119,7 +119,9 @@ export const hotInit = (that) => {
         [bannerIndex]: bannerTemp,
         [recommendIndex]: recommendTemp
       });
-      httpRequestApi.userIntoPage('pages/index/index','首页推荐')
+      httpRequestApi.userIntoPage('pages/index/index','首页推荐').success((res)=>{
+        
+      })
     })
   }
   that.getHotRecommend = (uid, pageNo, pageSize) => {

+ 3 - 1
pages/groupPage/grade-details/grade-details.js

@@ -338,7 +338,9 @@ Page({
       this.setData({
         lessonList: lessonTemp
       });
-      httpRequestApi.userIntoPage('pages/groupPage/grade-details/grade-details','课本详情页面')
+      httpRequestApi.userIntoPage('pages/groupPage/grade-details/grade-details','课本详情页面').success((res)=>{
+        
+      })
     })
   },
   getGroupInfo: function (productId) {

+ 3 - 1
pages/groupPage/group-details/group-details.js

@@ -376,7 +376,9 @@ Page({
           })
         }
       })
-      httpRequestApi.userIntoPage('pages/groupPage/group-details/group-details','团购详情页面')
+      httpRequestApi.userIntoPage('pages/groupPage/group-details/group-details','团购详情页面').success((res)=>{
+        
+      })
       if (groupOrder.groupType === 'PROMOTION') {
         //this.data.joinUserList.unshift(res.data.data.organizer);
         this.setData({

+ 3 - 1
pages/index/index.js

@@ -154,7 +154,9 @@ Page({
     httpRequestApi.getUserWorksInfo().success(res => {
       this.data.myData.user = res.data.data; //直接赋值 给 myData的user对象。
       this.data.myData.user.user.birthday = this.data.myData.user.user.birthday ?  formatDate(res.data.data.user.birthday,4) : '2018年1月1日';
-      httpRequestApi.userIntoPage('pages/index/index','首页我的')
+      httpRequestApi.userIntoPage('pages/index/index','首页我的').success((res)=>{
+        
+      })
       this.setData({
         myData: this.data.myData,
       });

+ 3 - 1
pages/main/class/class.js

@@ -58,7 +58,9 @@ Page({
     httpRequestApi.getClassDetail(this.uid, option.id).success(res => {
       console.log(res);
       const classId = this.data.id;
-      httpRequestApi.userIntoPage('pages/main/class/class','官方课程页面')
+      httpRequestApi.userIntoPage('pages/main/class/class','官方课程页面').success((res)=>{
+        
+      })
       this.setData({
         title: res.data.data.lesson.title,
         videoUrl: res.data.data.lesson.playUrl,

+ 3 - 1
pages/main/reading/reading.js

@@ -43,7 +43,9 @@ Page({
             })
             console.log(this.data.readingText)
             console.log(this.data.img)
-            httpRequestApi.userIntoPage('pages/main/reading/reading','朗读页面')
+            httpRequestApi.userIntoPage('pages/main/reading/reading','朗读页面').success((res)=>{
+        
+            })
         })
 
         this.recorderManager = wx.getRecorderManager();

+ 3 - 1
pages/social/works/works.js

@@ -149,7 +149,9 @@ Page({
                 isFans: res.data.data.isFans,
                 title: works.title
             });
-            httpRequestApi.userIntoPage('pages/social/works/works','用户作品页面')
+            httpRequestApi.userIntoPage('pages/social/works/works','用户作品页面').success((res)=>{
+        
+            })
             httpRequestApi.checkLesson(works.lessonId).success(res => {
                 const productId = res.data.data[0];
                 this.setData({

+ 3 - 1
pages/user/myEdit/myEdit.js

@@ -114,7 +114,9 @@ Page({
           title: option.title
         });
       }
-      httpRequestApi.userIntoPage('pages/user/myEdit/myEdit','修改资料页面')
+      httpRequestApi.userIntoPage('pages/user/myEdit/myEdit','修改资料页面').success((res)=>{
+        
+      })
     });
 
   },