|
@@ -1555,6 +1555,7 @@
|
|
|
NSString *url = [NSString stringWithFormat:@"%@%@", SEALCLASSHOST, @"/room/join"];
|
|
|
NSMutableDictionary *parm = [NSMutableDictionary dictionary];
|
|
|
[parm setValue:roomId forKey:@"roomId"];
|
|
|
+ [parm setValue:@"STUDENT" forKey:@"clientType"];
|
|
|
[self request:post andWithUrl:url and:parm success:success faliure:faliure];
|
|
|
}
|
|
|
// /room/joinRoomFailure
|
|
@@ -1569,6 +1570,7 @@
|
|
|
NSString *url = [NSString stringWithFormat:@"%@%@", SEALCLASSHOST, @"/room/joinRoomFailure"];
|
|
|
NSMutableDictionary *parm = [NSMutableDictionary dictionary];
|
|
|
[parm setValue:roomId forKey:@"roomId"];
|
|
|
+ [parm setValue:@"STUDENT" forKey:@"clientType"];
|
|
|
[self request:post andWithUrl:url and:parm success:success faliure:faliure];
|
|
|
}
|
|
|
|
|
@@ -1584,6 +1586,7 @@
|
|
|
NSString *url = [NSString stringWithFormat:@"%@%@", SEALCLASSHOST, @"/room/leave"];
|
|
|
NSMutableDictionary *parm = [NSMutableDictionary dictionary];
|
|
|
[parm setValue:roomId forKey:@"roomId"];
|
|
|
+ [parm setValue:@"STUDENT" forKey:@"clientType"];
|
|
|
[self request:post andWithUrl:url and:parm success:success faliure:faliure];
|
|
|
}
|
|
|
|
|
@@ -1601,6 +1604,7 @@
|
|
|
NSMutableDictionary *parm = [NSMutableDictionary dictionary];
|
|
|
[parm setValue:roomId forKey:@"roomId"];
|
|
|
[parm setValue:deviceType forKey:@"deviceType"];
|
|
|
+ [parm setValue:@"STUDENT" forKey:@"clientType"];
|
|
|
[self request:post andWithUrl:url and:parm success:success faliure:faliure];
|
|
|
}
|
|
|
|
|
@@ -1618,6 +1622,7 @@
|
|
|
NSMutableDictionary *parm = [NSMutableDictionary dictionary];
|
|
|
[parm setValue:roomId forKey:@"roomId"];
|
|
|
[parm setValue:deviceType forKey:@"deviceType"];
|
|
|
+ [parm setValue:@"STUDENT" forKey:@"clientType"];
|
|
|
[self request:post andWithUrl:url and:parm success:success faliure:faliure];
|
|
|
}
|
|
|
|
|
@@ -1637,6 +1642,7 @@
|
|
|
[parm setValue:roomId forKey:@"roomId"];
|
|
|
[parm setValue:status forKey:@"status"];
|
|
|
[parm setValue:accompanimentId forKey:@"accompanimentId"];
|
|
|
+ [parm setValue:@"STUDENT" forKey:@"clientType"];
|
|
|
[self request:post andWithUrl:url and:parm success:success faliure:faliure];
|
|
|
}
|
|
|
|
|
@@ -1656,6 +1662,7 @@
|
|
|
[parm setValue:roomId forKey:@"roomId"];
|
|
|
[parm setValue:deviceType forKey:@"deviceType"];
|
|
|
[parm setValue:@(enable) forKey:@"enable"];
|
|
|
+ [parm setValue:@"STUDENT" forKey:@"clientType"];
|
|
|
[self request:post andWithUrl:url and:parm success:success faliure:faliure];
|
|
|
}
|
|
|
|