Steven 7 달 전
부모
커밋
cf0951c6b2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Home/ArrangeCourse/Controller/HomeArrangeCourseController.m

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Home/ArrangeCourse/Controller/HomeArrangeCourseController.m

@@ -114,7 +114,7 @@
 - (void)requestSubjectList {
     [KSNetworkingManager subjectQueryPageRequest:KS_GET success:^(NSDictionary * _Nonnull dic) {
         if ([dic ks_integerValueForKey:@"code"] == 200 && [dic ks_boolValueForKey:@"status"]) {
-            NSArray *subjectArray = [dic ks_arrayValueForKey:@"data"];
+            NSArray *subjectArray = [[dic ks_dictionaryValueForKey:@"data"] ks_arrayValueForKey:@"rows"];
             NSMutableArray *subjectParmArray = [NSMutableArray array];
             for (NSDictionary *parm in subjectArray) {
                 NSMutableDictionary *orchestParm = [NSMutableDictionary dictionary];