mcy_new #1
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue