宠物笼智能连接
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user