Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
swagger
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张允禹
swagger
Commits
2a91c4a8
Commit
2a91c4a8
authored
Aug 30, 2016
by
Skyler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add file/upload
parent
432d641e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
ascle.yaml
ascle.yaml
+29
-0
No files found.
ascle.yaml
View file @
2a91c4a8
...
...
@@ -1921,4 +1921,33 @@ paths:
seckill
:
pre_payment_percentage
:
0.2
deduct_a_percentage
:
0.1
# ----上传文件-------------
/file/upload
:
post
:
summary
:
上传文件
description
:
上传文件
parameters
:
-
name
:
file
in
:
formData
description
:
选择文件
required
:
true
type
:
file
format
:
file
-
name
:
img_type
in
:
formData
description
:
文件用途, 详见http://git.gengmei.cc/backend/gm-upload/blob/master/gm_upload/consts.py
required
:
true
type
:
integer
format
:
integer
tags
:
-
Business
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
'
full_image_url'
# ----Skyler end--------------------
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