Browse Source

解决冲突

Limengbo 6 years ago
parent
commit
e7c7c3ba54
2 changed files with 9 additions and 0 deletions
  1. 4 0
      pages/details/details.js
  2. 5 0
      utils/APIRequest.js

+ 4 - 0
pages/details/details.js

@@ -19,8 +19,12 @@ Page({
     postsList: [],
     dateArr: [],
     playUrl: '',
+<<<<<<< HEAD
     courseWareId: '',
     currentVideo: 0
+=======
+    courseWareId: ''
+>>>>>>> de0842070ba25769271f1a42d9839ec4b9d31b54
   },
   //点击收藏
   favorites: function () {

+ 5 - 0
utils/APIRequest.js

@@ -24,8 +24,13 @@ class httpRequestApi {
     static addPlayLogList(data) {
         const url = httpApiUrl('wx/playLog');
         return getInstance().header({
+<<<<<<< HEAD
             uid: wx.getStorageSync('uid'),
         }).url(url).data(data).method('POST').send();
+=======
+            uid: 1,
+        }).url(url).data(data).send();
+>>>>>>> de0842070ba25769271f1a42d9839ec4b9d31b54
     }    
     //收藏或者取消
     static getDetailsFavorites(data) {