Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HDMall-iOS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
HDMall-iOS
Commits
0a19d48d
Commit
0a19d48d
authored
Oct 17, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e5339aea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ZJBaseHttpManager.m
HDMall/Tools/ZJBaseHttpManager/ZJBaseHttpManager.m
+3
-3
No files found.
HDMall/Tools/ZJBaseHttpManager/ZJBaseHttpManager.m
View file @
0a19d48d
...
...
@@ -154,7 +154,7 @@
return
;
}
WS
(
weakSelf
);
[
self
.
manager
POST
:
@"
hdmall/
media/upload/list"
parameters
:
params
constructingBodyWithBlock
:^
(
id
<
AFMultipartFormData
>
_Nonnull
formData
)
{
[
self
.
manager
POST
:
@"media/upload/list"
parameters
:
params
constructingBodyWithBlock
:^
(
id
<
AFMultipartFormData
>
_Nonnull
formData
)
{
for
(
ZJBaseFileModel
*
file
in
files
)
{
[
formData
appendPartWithFileData
:
file
.
data
//data
name
:
file
.
keyName
//接口key值
...
...
@@ -171,10 +171,10 @@
kFalseHttpTips
;
}
[
weakSelf
logWithUrl
:
@"
hdmall/
media/upload/list"
Method
:
@"UPLOAD"
param
:
params
respones
:
responseObject
];
[
weakSelf
logWithUrl
:
@"media/upload/list"
Method
:
@"UPLOAD"
param
:
params
respones
:
responseObject
];
}
failure
:^
(
NSURLSessionDataTask
*
_Nullable
task
,
NSError
*
_Nonnull
error
)
{
[
MBProgressHUD
j_error
:
@"上传失败"
complete
:
nil
];
[
weakSelf
logWithUrl
:
@"
hdmall/
media/upload/list"
Method
:
@"UPLOAD"
param
:
params
respones
:
error
];
[
weakSelf
logWithUrl
:
@"media/upload/list"
Method
:
@"UPLOAD"
param
:
params
respones
:
error
];
}];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment