Steven 7 months ago
parent
commit
cf0951c6b2

+ 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];