This commit is contained in:
2025-02-06 11:38:55 +08:00
parent e2ca920bca
commit cbc5f844f1
13 changed files with 20 additions and 18 deletions

View File

@@ -63,7 +63,7 @@
request.HTTPMethod = @"PUT";
[request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
NSDictionary *parmas = @{@"userId":[NSNumber numberWithInteger:[Bintang918UserID integerValue]]};
NSDictionary *parmas = @{@"userId":[NSNumber numberWithInteger:[NowUserId integerValue]]};
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:parmas options:NSJSONWritingPrettyPrinted error:nil];
request.HTTPBody = jsonData;