...
|
...
|
@@ -39,47 +39,15 @@ shopRelation的json格式为: |
|
|
"agreementEndTime":1482076800
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
### 返回
|
|
|
返回码code为200就是成功,其余为失败。
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"创建成功",
|
|
|
"data":{
|
|
|
"shopId":12
|
|
|
}
|
|
|
}
|
|
|
{
|
|
|
"code":500,
|
|
|
"message":"创建失败",
|
|
|
"data":{
|
|
|
"shopId":-12
|
|
|
}
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"shop_name is null"
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"Sorry,店铺名已存在"
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"shop_domain is null"
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"Sorry,店铺域名已存在"
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"shop_admin is null"
|
|
|
}
|
|
|
{
|
|
|
"code":500
|
|
|
"message":"shop_relation is null"
|
|
|
"code": 200,
|
|
|
"message": "success."
|
|
|
}
|
|
|
```
|
|
|
|
...
|
...
|
|