Browse Source

【代码优化】班级作业,小红花添加查询Imei

master
公司电脑 1 year ago
parent
commit
f19f134e00
  1. 2
      LekangGuard.xcodeproj/xcshareddata/xcschemes/LekangGuard.xcscheme
  2. BIN
      LekangGuard.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate
  3. 3
      LekangGuard/Common/BaseViewController.m
  4. 1
      LekangGuard/Home/Homes/HomeViewController.m
  5. 1
      LekangGuard/Protection(守护星)/VC/ms/MyChildViewController.m
  6. 1
      LekangGuard/Protection(守护星)/VC/ms/OtherChildViewController.m

2
LekangGuard.xcodeproj/xcshareddata/xcschemes/LekangGuard.xcscheme

@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"

BIN
LekangGuard.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate generated

Binary file not shown.

3
LekangGuard/Common/BaseViewController.m

@ -631,7 +631,8 @@ @@ -631,7 +631,8 @@
if([msgType isEqualToString:@"lp"])
{
//课外活动通知
content = [NSString stringWithFormat:GJText(@"【%@】于%@进行了一次课外活动"),msgDic[@"name"],msgDic[@"createTime"]];
// content = [NSString stringWithFormat:GJText(@"【%@】于%@进行了一次课外活动"),msgDic[@"name"],msgDic[@"createTime"]];
content = [NSString stringWithFormat:GJText(@"【%@】进行了一次课外活动"),msgDic[@"name"]];
AudioServicesPlaySystemSound(alarmSoundSysID);
}

1
LekangGuard/Home/Homes/HomeViewController.m

@ -405,6 +405,7 @@ @@ -405,6 +405,7 @@
{
kWeakSelf(self)
NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
[parameters setValue:APIManager.sharedManager.deviceModel.imei forKey:@"imei"];
[[[APIManager sharedManager] APGET:ReadFlowerCount_GET_URL parameters:parameters resultClass:nil] subscribeNext:^(id _Nullable x) {
[UICommon HidenLoading];
weakself.headerView.redTotalCount = x[@"totalCount"];

1
LekangGuard/Protection(守护星)/VC/ms/MyChildViewController.m

@ -83,6 +83,7 @@ @@ -83,6 +83,7 @@
[parameters setValue:@(self.page) forKey:@"current"];
[parameters setValue:@(20) forKey:@"pageSize"];
[parameters setValue:@(1) forKey:@"flag"];
[parameters setValue:APIManager.sharedManager.deviceModel.imei forKey:@"imei"];
[[[APIManager sharedManager] APGET:ReadFlowerList_GET_URL parameters:parameters resultClass:BaseModel.class] subscribeNext:^(BaseModel *obj) {
[UICommon HidenLoading];
if (ARRAYHASVALUE(obj.records))

1
LekangGuard/Protection(守护星)/VC/ms/OtherChildViewController.m

@ -83,6 +83,7 @@ @@ -83,6 +83,7 @@
[parameters setValue:@(self.page) forKey:@"current"];
[parameters setValue:@(20) forKey:@"pageSize"];
[parameters setValue:@(0) forKey:@"flag"];
[parameters setValue:APIManager.sharedManager.deviceModel.imei forKey:@"imei"];
[[[APIManager sharedManager] APGET:ReadFlowerList_GET_URL parameters:parameters resultClass:BaseModel.class] subscribeNext:^(BaseModel *obj) {
[UICommon HidenLoading];
if (ARRAYHASVALUE(obj.records))

Loading…
Cancel
Save