From 80bf76e9db84cfebd9e1855238254f604dc07226 Mon Sep 17 00:00:00 2001 From: taoxu <2622874537@qq.com> Date: Fri, 15 Dec 2023 17:42:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.interceptor.js | 2 +- pages_teacher/teacher_class/class_detail.vue | 2 +- pages_teacher/teacher_teachers/teacher_addOperation.vue | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 004bf4f..62a6a14 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -42,7 +42,7 @@ const install = (Vue, vm) => { // 所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值 // const token = uni.getStorageSync('token'); - const token = " Bearer e465eb9d9ae74b4dad7a63dbe0e54587" + const token = " Bearer f545811267c149bc85fb14e8e8638e94" // console.log("我是token", token) config.header.Authorization = token; diff --git a/pages_teacher/teacher_class/class_detail.vue b/pages_teacher/teacher_class/class_detail.vue index 7c43fcf..80931ad 100644 --- a/pages_teacher/teacher_class/class_detail.vue +++ b/pages_teacher/teacher_class/class_detail.vue @@ -172,7 +172,7 @@ }) }, getworkinfo() { - this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record?classroomId=${this.classid}`).then(res => { + this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => { if (res.code == 0) { diff --git a/pages_teacher/teacher_teachers/teacher_addOperation.vue b/pages_teacher/teacher_teachers/teacher_addOperation.vue index a48574b..255f26d 100644 --- a/pages_teacher/teacher_teachers/teacher_addOperation.vue +++ b/pages_teacher/teacher_teachers/teacher_addOperation.vue @@ -310,10 +310,10 @@ } }, onLoad(option) { - // uni.removeStorageSync('selectedClassInfo'); - // uni.removeStorageSync('selectedStuInfo'); - // uni.removeStorageSync('selectforwork'); - // this.classinfo = JSON.parse(decodeURIComponent(option.classinfo)) + uni.removeStorageSync('selectedClassInfo'); + uni.removeStorageSync('selectedStuInfo'); + uni.removeStorageSync('selectforwork'); + this.classinfo = JSON.parse(decodeURIComponent(option.classinfo)) // let classinofs = [{ // name: '阅读5班', // avatar: 'Excepteur',