宠物笼智能连接

This commit is contained in:
kai60 2020-06-08 21:37:04 +08:00
parent 2118422cba
commit 16d4829ecf
3 changed files with 4 additions and 4 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -13169,7 +13169,7 @@
8876A5821BB83447007A4B54 = {
CreatedOnToolsVersion = 7.0;
DevelopmentTeam = WFX8GD5HFX;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.AccessWiFi = {
enabled = 1;

View File

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