Toggle navigation
Toggle navigation
This project
Loading...
Sign in
michaelcao
/
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
LUOXC
9 years ago
Commit
da8d9a882d8d9be6175be495488910dec3261448
1 parent
93fae8c7
UPDATE
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
6 deletions
inferface-document/shops/shops_decorator.md
inferface-document/shops/shops_decorator.md
View file @
da8d9a8
...
...
@@ -13,6 +13,7 @@
"templateName"
:
"BASE"
,
"resources"
:
[
{
"id"
:
7
,
"name"
:
"shopTopBanner"
,
"data"
:
{
"src"
:
"http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png"
,
...
...
@@ -20,12 +21,14 @@
}
},
{
"id"
:
8
,
"name"
:
"productDetailTopBanner"
,
"data"
:
{
"src"
:
"http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/015}5598441256e46ec285a8ea64e762394.png"
}
},
{
"id"
:
9
,
"name"
:
"oneRowTwoColImages"
,
"data"
:
[
{
...
...
@@ -39,6 +42,7 @@
]
},
{
"id"
:
10
,
"name"
:
"hotProducts"
,
"data"
:
[
50000881
,
...
...
@@ -66,6 +70,7 @@
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |否 |int |7 |资源编号 |
|name |是 |string |shopTopBanner |资源名称 |
|data |是 |json | |资源内容 |
|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|店铺头部横幅图片|
...
...
@@ -75,6 +80,7 @@
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |否 |int |8 |资源编号 |
|name |是 |string |productDetailTopBanner |资源名称 |
|data |是 |json | |资源内容 |
|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|商品详情头部横幅图片|
...
...
@@ -85,11 +91,24 @@
```
json
{
"code"
:
200
,
"message"
:
"操作成功"
"code"
:
200
,
"message"
:
"操作成功"
,
"data"
:{
"id"
:
1
,
"platform"
:
"APP"
,
"templateName"
:
"BASE"
,
"resources"
:[]
}
}
```
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |是 |int |1 |店铺装修编号 |
|platform |是 |string |APP |平台名称 |
|templateName|是 |string |BASE |模板名称 |
|resources |是 |json | |资源 |
## 查询店铺装修信息
> POST `/ShopsDecoratorRest/findShopsDecorator`
...
...
@@ -208,7 +227,7 @@
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
|id |是 |int |1 |页数 |
|platform |否 |string |APP |平台名称(默认:APP) |
|templateName|否 |string |BASE |模板名称(默认:启用的模板)|
|resources |否 |json | |资源 |
\ No newline at end of file
|id |是 |int |1 |店铺装修编号 |
|platform |是 |string |APP |平台名称 |
|templateName|是 |string |BASE |模板名称 |
|resources |是 |json | |资源 |
\ No newline at end of file
...
...
Please
register
or
login
to post a comment