处理网络
This commit is contained in:
@@ -119,12 +119,7 @@ autoShowBusinessError:NO
|
||||
return;
|
||||
}
|
||||
|
||||
NSString *encodedContent =
|
||||
[content stringByAddingPercentEncodingWithAllowedCharacters:
|
||||
[NSCharacterSet URLQueryAllowedCharacterSet]];
|
||||
NSString *path = [NSString
|
||||
stringWithFormat:@"%@?content=%@&companionId=%ld", API_AI_CHAT_MESSAGE,
|
||||
encodedContent ?: @"", (long)companionId];
|
||||
NSString *path = API_AI_CHAT_MESSAGE;
|
||||
NSDictionary *params = @{
|
||||
@"content" : content ?: @"",
|
||||
@"companionId" : @(companionId)
|
||||
|
||||
Reference in New Issue
Block a user