This commit is contained in:
lianxiang
2018-09-23 15:52:02 +08:00
parent 3508cab25e
commit 69522b22fc
13 changed files with 476 additions and 36 deletions
@@ -90,7 +90,6 @@
}
NSLog(@" %@", _fullUrl);
// NSMutableDictionary *postDict = [self buildRequestDict];
[GiGaNetManager requestMethod:self.requestMethod Url:self.fullUrl params:self.params responseBlock:^(NSDictionary *responseDict, NSDictionary *responseHeaderFields, NSError *error) {
[self analyseResponseInfo:responseDict headerFileds:responseHeaderFields error:error];
+1 -6
View File
@@ -199,12 +199,7 @@
[manager POST:fullurl parameters:parms constructingBodyWithBlock:^(id<AFMultipartFormData> _Nonnull formData) {
for (NSUInteger i= 0; i < imageNames.count; i ++) {
//上传时使用当前的系统事件作为文件名
// NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
//
// formatter.dateFormat = @"yyyyMMddHHmmss";
//
// NSString *str = [formatter stringFromDate:[NSDate date]];
NSString *fileName = [NSString stringWithFormat:@"%@.png", imageNames[i]];
//服务器上传文件的字段和类型