Toggle navigation
Toggle navigation
This project
Loading...
Sign in
lingmin
/
yohobuy-doc
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周奇琪
9 years ago
Commit
37b4b78b3713795d179b46ae345aa90b2bcafdef
1 parent
936e70d9
api doc demo
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
api-doc/product/addSize.md
api-doc/product/addSize.md
0 → 100644
View file @
37b4b78
# 添加尺码接口
> 接口名: `/product/addSize`
### 方法
> POST JSONRAW
### 入参
-------------------------
|属性名称|类型|例子|说明|是否必填|长度限制|
|--------|----|----|---|----|--------|
|sizeName|string|L|名称|是|10
### 对应SQL的操作库表
```
xml
<insert
id=
"insert"
parameterType=
"com.yohobuy.platform.dal.product.model.Size"
>
insert into size (id, size_name, sort_id,
attribute_id, order_by, create_time,
update_time)
values (#{id,jdbcType=SMALLINT}, #{sizeName,jdbcType=VARCHAR}, #{sortId,jdbcType=SMALLINT},
#{attributeId,jdbcType=VARCHAR}, #{orderBy,jdbcType=INTEGER}, #{createTime,jdbcType=INTEGER},
#{updateTime,jdbcType=INTEGER})
</insert>
```
### 错误编码
-------------------------
|错误码code|消息|说明|
|--------|----|----|
|200| 添加成功!| |
|400| 操作失败!| |
### 返回
```
json
{
"code"
:
200
,
"message"
:
"添加成功!"
}
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment