mcy_new #1

Merged
wangyang merged 179 commits from mcy_new into master 2025-08-28 10:10:45 +08:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 868c8cd0d0 - Show all commits

View File

@ -98,9 +98,9 @@ class AuthInterceptor extends Interceptor {
headers["x-Authorization"] = xToken!;
}
if ((userInfo?.isExpired() ?? false) && userInfo?.termYear != '') {
/* if ((userInfo?.isExpired() ?? false) && userInfo?.termYear != '') {
headers["term-year"] = userInfo!.termYear;
}
}*/
options.headers = headers;
return super.onRequest(options, handler);

View File

@ -38,8 +38,8 @@ class AnnotateClassLogic extends GetxController with RequestToolMixin {
List<AnnotatedClass> data =
await getClient().getAnnotatedClassList(state.homeworkId.value);
state.classList.value = data;
print('state.classList[0]=${state.classList[0].finishTime}');
print('state.classList[1]=${state.classList[1].finishTime}');
/* print('state.classList[0]=${state.classList[0].finishTime}');
print('state.classList[1]=${state.classList[1].finishTime}');*/
for (var element in state.classList.value) {
int commitStudentCount = 0;
int noCommitStudentCount = 0;