入参修改
This commit is contained in:
parent
c63fb86ea3
commit
868c8cd0d0
|
|
@ -98,9 +98,9 @@ class AuthInterceptor extends Interceptor {
|
||||||
headers["x-Authorization"] = xToken!;
|
headers["x-Authorization"] = xToken!;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((userInfo?.isExpired() ?? false) && userInfo?.termYear != '') {
|
/* if ((userInfo?.isExpired() ?? false) && userInfo?.termYear != '') {
|
||||||
headers["term-year"] = userInfo!.termYear;
|
headers["term-year"] = userInfo!.termYear;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
options.headers = headers;
|
options.headers = headers;
|
||||||
return super.onRequest(options, handler);
|
return super.onRequest(options, handler);
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ class AnnotateClassLogic extends GetxController with RequestToolMixin {
|
||||||
List<AnnotatedClass> data =
|
List<AnnotatedClass> data =
|
||||||
await getClient().getAnnotatedClassList(state.homeworkId.value);
|
await getClient().getAnnotatedClassList(state.homeworkId.value);
|
||||||
state.classList.value = data;
|
state.classList.value = data;
|
||||||
print('state.classList[0]=${state.classList[0].finishTime}');
|
/* print('state.classList[0]=${state.classList[0].finishTime}');
|
||||||
print('state.classList[1]=${state.classList[1].finishTime}');
|
print('state.classList[1]=${state.classList[1].finishTime}');*/
|
||||||
for (var element in state.classList.value) {
|
for (var element in state.classList.value) {
|
||||||
int commitStudentCount = 0;
|
int commitStudentCount = 0;
|
||||||
int noCommitStudentCount = 0;
|
int noCommitStudentCount = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue