FANGLH 7 лет назад
Родитель
Сommit
d76f7a89dc
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      frontend/wechat-web/src/modules/meeting/MeetingSignIn.jsx

+ 3 - 3
frontend/wechat-web/src/modules/meeting/MeetingSignIn.jsx

@@ -94,7 +94,7 @@ class MeetingSignIn extends Component {
         }
 
         fetchPost(API.meetingList, {
-            teacherId: this.props.userInfo.userId,
+            teacherId: this.props.userInfo.user.userFunId,
             // meetingStatus: 1,
             pageIndex: mPageIndex,
             pageSize: mPageSize
@@ -167,10 +167,10 @@ class MeetingSignIn extends Component {
         const {meetingSignList} = this.state
 
         Toast.loading('', 0)
-        console.log("teacherId:",this.props.userInfo.userId)
+        console.log("teacherId:",this.props.userInfo.user.userFunId)
         console.log("meetingId:",meetingSignList[index].meetId)
         fetchPost(API.MEETING_SIGN, {
-            teacherId: this.props.userInfo.userId,
+            teacherId: this.props.userInfo.user.userFunId,
             meetingId: meetingSignList[index].meetId,
         }).then(response => {
             Toast.hide()