From 16d4829ecfe4fdc6d1d10af8ed2e79c68def35a9 Mon Sep 17 00:00:00 2001 From: kai60 Date: Mon, 8 Jun 2020 21:37:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A0=E7=89=A9=E7=AC=BC=E6=99=BA=E8=83=BD?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 10244 -> 10244 bytes Ifish.xcodeproj/project.pbxproj | 2 +- .../SecondConnectWifiController.m | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.DS_Store b/.DS_Store index a8fdbcbdd909750f6c6380e65b99a7ce79e6a4e8..3f76f757375774bf121f539ae61566c6b14dca4b 100644 GIT binary patch delta 27 icmZn(XbIR*Bf_kzsXTe3h|*+DAzmgmhRqv9LWBW#SO>TO delta 27 jcmZn(XbIR*Bf_kby>s$L5v9qRLcC0>4x2ZKga`uwhgb;C diff --git a/Ifish.xcodeproj/project.pbxproj b/Ifish.xcodeproj/project.pbxproj index bc25b5a..5ca6d79 100644 --- a/Ifish.xcodeproj/project.pbxproj +++ b/Ifish.xcodeproj/project.pbxproj @@ -13169,7 +13169,7 @@ 8876A5821BB83447007A4B54 = { CreatedOnToolsVersion = 7.0; DevelopmentTeam = WFX8GD5HFX; - ProvisioningStyle = Automatic; + ProvisioningStyle = Manual; SystemCapabilities = { com.apple.AccessWiFi = { enabled = 1; diff --git a/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m b/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m index 7cc0f96..fb75f76 100644 --- a/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m +++ b/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m @@ -733,11 +733,11 @@ extern BOOL isfromCameraView; if (self.deviceType==DEVICEPETS) { - url=[NSString stringWithFormat:@"%@%@",[NSString stringWithFormat:@"%@/api/user/bindPetDevice.do/",JIEKOUPORT],userId]; + url=[NSString stringWithFormat:@"%@",[NSString stringWithFormat:@"%@/api/user/bindPetDevice.do",JIEKOUPORT]]; bind[@"token"]=token; bind[@"timestamp"]=timestamp; - bind[@"storeName"]=[NSString stringWithFormat:@"宠物笼%lld",[[NSDate date] timeIntervalSince1970]]; - } + bind[@"storeName"]=self.storeName.length?self.storeName:@"宠物店"; + bind[@"userId"]=userId; } [AFHttpTool requestWihtMethod:RequestMethodTypePost url:url params:bind success:^(id response) { NSDictionary*resultDic=[NSJSONSerialization JSONObjectWithData:response options:NSJSONReadingMutableContainers error:nil];