Authored by wei

Merge branch 'develop' of http://git.dev.yoho.cn/platform/yohobuy-doc into develop

... ... @@ -14,53 +14,50 @@
``` json
{
"code": 200,
"data": {
"entranceManagementBos": [
{
"channelId": 2323,
"clickAfterImg": "34434",
"clickBeforeImg": "3434",
"createTime": 1457068575,
"entryName": "测试",
"gender": "1,3",
"id": 9,
"orderBy": 232,
"platform": "2",
"status": 0,
"url": "{\"action\":\"go.plus\",\"url\":\"http://admin.portal.yohobuy.com/operations/entrance/add\"}",
"zipUrl": "http://img12.static.yhbimg.com/yhb-img01/2016/03/04/05/02bdf3bf1da3405725be763540d6601144.jpg"
}
],
"platform_type": {
1: "手机",
2: "ipad"
}
},
"md5": "07b286e15d71960410eb84db52cd69bb"
"code": 200,
"data": {
"list": [
{
// 频道 ID
"channelId": 1,
// 点击前图片
"clickAfterImg": "cd.png",
// 点击后图片
"clickBeforeImg": ".png",
// 创建时间
"createTime": 1458272012,
// 入口名称
"entryName": "户内",
// 平台列表
"gender": "1,2,3",
// 主键
"id": 10,
// 排序
"orderBy": 1,
// 类型 1 手机 2 ipad
"platform": "1",
// 是否开启
"status": 0,
"url": "{\"action\":\"go.h5\",\"url\":\"http://s.yohobuy.com/girls.html\"}",
// 压缩包链接
"zipUrl": "img02/2015/10/08/10/0114eb2c8581ab3bd58a488f9d73936201.jpg"
}
],
"page": 1,
"size": 10,
"total": 10,
"totalPage": 1
},
"md5": "9fd347aabe32f425302e9e16cd9b035d",
"message": "操作成功"
}
```
-----------------------------
|参数名 |描述 |
|------ |---- |
|id |主键 |
|entrance_name |入口名称 |
|click_before_img|点击前的图片|
|click_after_img|点击后的图片|
|platform |类别1,"手机";2,"ipad"|
|order_by |排序,php默认为0|
|status |是否开启1:开启;0:关闭|
|zip_url |压缩包链接|
|channel_id|频道id,php默认为0|
|genter|平台列表 "1,3":"男";"2,3":"女";"1,2,3":"通用"|
|create_time|创建时间|
## 编辑页面展示
## 根据 ID 加载实体
> 'entrance/entranceEditPage'
### 入参
-----------------------------------------------------------
|参数名 |必填 |类型 |示例值 |描述 |
|------ |---- |---- |------ |---- |
... ... @@ -68,61 +65,29 @@
### 返回
``` json
{
"code": 200,
"data": {
"gender": {
1: "手机",
2: "ipad"
},
"id": 4,
"list": {
"channelId": 4,
"clickAfterImg": "lif2.png",
"clickBeforeImg": "lif1.png",
"createTime": 0,
"entryName": "家居",
"gender": "1,2,3",
"id": 4,
"orderBy": 4,
"platform": "1",
"status": 1,
"url": "{\"action\":\"go.gender\",\"url\":\"http://m.yohobuy.com/life.html\"}",
"zipUrl": "http://img12.static.yhbimg.com/yhb-img01/2015/08/19/06/025dce5b3564c67edf864de54510e30080.zip"
},
"platform_type": {
1: "手机",
2: "ipad"
}
},
"md5": "45916a47a02eea210394dfb48ea3f06d",
"message": "操作成功"
"code": 200,
"data": {
"channelId": 1,
"clickAfterImg": "cd.png",
"clickBeforeImg": ".png",
"createTime": 1458272012,
"entryName": "户内",
"gender": "1,2,3",
"id": 10,
"orderBy": 1,
"platform": "1",
"status": 0,
"url": "{\"action\":\"go.h5\",\"url\":\"http://s.yohobuy.com/girls.html\"}",
"zipUrl": "img02/2015/10/08/10/0114eb2c8581ab3bd58a488f9d73936201.jpg"
},
"md5": "517d012eca496b137a92dab289a8b72b",
"message": "操作成功"
}
```
## 新增页面展示
> 'entrance/entranceAddPage'
### 返回
``` json
{
"code": 200,
"data": {
"gender": {
1: "手机",
2: "ipad"
},
"platform_type": {
1: "手机",
2: "ipad"
}
},
"md5": "37107214947a102a6f4c7ebbc4dfb88b",
"message": "操作成功"
}
```
## 更新入口信息
> 'entrance/updateEntrance'
### 入参
... ... @@ -130,17 +95,16 @@
|参数名 |描述|类型 |示例值 |必填 |
|------ |---- |---- |------ |---- |
|id |id |Integer | 5 |是|
|entrance_name |入口名称|String| 测试入口| 是|
|click_before_img|点击前的图片|String|boy1.png|是|
|click_after_img|点击后的图片|String|boy2.png|是|
|url|链接|String|{"action":"go.gender","url":"http://m.yohobuy.com/boys.html"}|是|
|platform |类别1,"手机";2,"ipad"|String|1|是|
|order_by |排序,php默认为0|String|1|否|
|entryName |入口名称|String| 测试入口| 是|
|clickBeforeImg|点击前的图片|String|boy1.png|是|
|clickAfterImg|点击后的图片|String|boy2.png|是|
|url |链接|String|{"action":"go.gender","url":"http://m.yohobuy.com/boys.html"}|是|
|platform |类别1,"手机";2,"ipad"|String|1|是|
|orderBy |排序,php默认为0|String|1|否|
|status |是否开启1:开启;0:关闭|byte|1|是|
|zip_url |压缩包链接|String|img01/2015/08/19/06/015dce5b3564c67edf864de54510e30080.zip|否|
|channel_id|频道id,php默认为0|int|12|否|
|genter|平台列表 "1,3":"男";"2,3":"女";"1,2,3":"通用"|String|1,2,3|是|
|create_time|创建时间|int|12312321|否|
|zipUrl |压缩包链接|String|img01/2015/08/19/06/015dce5b3564c67edf864de54510e30080.zip|否|
|channelId |频道id,php默认为0|int|12|否|
|gender |平台列表 "1,3":"男";"2,3":"女";"1,2,3":"通用"|String|1,2,3|是|
### 返回
{
... ... @@ -151,6 +115,7 @@
}
## 打开、关闭入口
> 'entrance/publishEntrance'
### 入参
... ... @@ -174,35 +139,21 @@
> 'entrance/insertEntrance'
### 入参
-----------------------------------------------------------
|参数名 |描述|类型 |示例值 |必填 |
|------ |---- |---- |------ |---- |
|entrance_name |入口名称|String| 测试入口| 是|
|click_before_img|点击前的图片|String|boy1.png|是|
|click_after_img|点击后的图片|String|boy2.png|是|
|url|链接|String|{"action":"go.gender","url":"http://m.yohobuy.com/boys.html"}|是|
|platform |类别1,"手机";2,"ipad"|String|1|是|
|order_by |排序,php默认为0|String|1|否|
|entryName |入口名称|String| 测试入口| 是|
|clickBeforeImg|点击前的图片|String|boy1.png|是|
|clickAfterImg|点击后的图片|String|boy2.png|是|
|url |链接|String|{"action":"go.gender","url":"http://m.yohobuy.com/boys.html"}|是|
|platform |类别1,"手机";2,"ipad"|String|1|是|
|orderBy |排序,php默认为0|String|1|否|
|status |是否开启1:开启;0:关闭|byte|1|是|
|zip_url |压缩包链接|String|img01/2015/08/19/06/015dce5b3564c67edf864de54510e30080.zip|否|
|channel_id|频道id,php默认为0|int|12|否|
|genter|平台列表 "1,3":"男";"2,3":"女";"1,2,3":"通用"|String|1,2,3|是|
|create_time|创建时间|int|12312321|否|
|zipUrl |压缩包链接|String|img01/2015/08/19/06/015dce5b3564c67edf864de54510e30080.zip|否|
|channelId |频道id,php默认为0|int|12|否|
|gender |平台列表 "1,3":"男";"2,3":"女";"1,2,3":"通用"|String|1,2,3|是|
``` json
{
"channelId": "1",
"clickAfterImg": "cd.png",
"clickBeforeImg": ".png",
"entryName": "户内",
"gender": "1,2,3",
"orderBy": "1",
"platform": "1",
"status": "0",
"url": "{\"action\":\"go.h5\",\"url\":\"http://s.yohobuy.com/girls.html\"}",
"zipUrl": "img02/2015/10/08/10/0114eb2c8581ab3bd58a488f9d73936201.jpg"
}
```
### 返回
``` json
... ...
... ... @@ -220,6 +220,8 @@ row:
"message": "操作成功"
}
```
plat_list:
-----------------------------
|参数名 |描述 |
... ... @@ -229,6 +231,7 @@ plat_list:
|platformFlag|平台标识 |
|createTime |创建时间 |
|status |状态码 |
sort_list:
-----------------------------
|参数名 |描述 |
... ... @@ -239,7 +242,7 @@ sort_list:
|createTime |创建时间 |
|status |状态码 |
```
### 通过id删除资源
... ...
... ... @@ -11,8 +11,10 @@
|x-user-id|string|0|用户ID|
|x-user-name|string|admin|用户名|
|x-site-type|string|1|站点类型:1-运营平台 2-商家平台|
|x-shop-id|string|2211|店铺ID,站点类型为2时必选|
|x-client-ip|string|192.168.0.1|客户端IP|
---
服务调用传入参数示例:
```
... ...
... ... @@ -34,17 +34,12 @@ Alter table erp_product.product ADD column `founder` int(11) COMMENT '操作人'
-- 1.2 商品(erp_product.goods)
Alter table erp_product.goods ADD column `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0下架 1 上架';
-- 需要将yh_shops 的goods状态割接到 erp_product.goods
Alter table erp_product.goods ADD column `factory_goods_name` varchar(50) DEFAULT NULL COMMENT '厂家颜色';
-- Alter table erp_product.goods ADD column `factory_goods_name` varchar(50) DEFAULT NULL COMMENT '厂家颜色';
-- 1.3 商品库存(erp_product.storage)
Alter table erp_product.storage ADD column `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '0下架 1 上架';
-- 需要将yh_shops 的storage状态割接到 erp_product.storage
... ... @@ -94,22 +89,10 @@ Alter table product_shop_relation add primary key(product_skn, shop_id);
-- 2.2 搭配信息
Alter table product_collocation add column `product_skn` int(11) unsigned DEFAULT '0';
create index collocation_skn on product_collocation(product_skn);
-- 2.3 商品封面
Alter table goods_images add column `product_skc` int(11) unsigned DEFAULT '0';
Alter table goods_images add column `product_skn` int(11) unsigned DEFAULT '0';
create index goods_img_skn on goods_images(`product_skn`,`is_default`,`status`);
create index goods_img_skc on goods_images(`product_skc`,`is_default`,`status`);
create index goods_img_skc_skn on goods_images(`product_skc`,`product_skn`);
-- 2.4 舒适度等扩展信息
Alter table product_special_attr add column `product_skn` int(11) unsigned DEFAULT '0';
create index special_attr_skn on product_special_attr(`product_skn`);
... ... @@ -123,16 +106,6 @@ Alter table product_shop_relation add primary key(product_skn, shop_id);
Alter table product_timing modify column shelve_time int(10) unsigned COMMENT '预上架架时间';
-- 2.6 商品描述信息
Alter table product_intro ADD column `product_skn` int(11) unsigned default 0;
create index intro_skn on product_intro(`product_skn`);
-- 2.7 搜索关键词
Alter table product_keywords ADD column `product_skn` int(11) unsigned default 0;
create index keywords_skn on product_keywords(`product_skn`);
-- 2.8 平台商品属性值表
... ... @@ -150,14 +123,12 @@ Alter table product_shop_relation add primary key(product_skn, shop_id);
-- 3 数据需要特殊割接
-- 3.1 上架的时候同步插入product_id 数据割接 老数据需要通过product_id 查询product_skn 插入数据库
-- product_collocation product_special_attr product_timing
-- product_timing
-- product_search product_brand_relation 只需要上架成功,将product_id 填充
-- 3.2 上架的时候需要插入 product_id goods_id 数据割接 老数据需要通过product_id 查询product_skn 插入数据库
-- goods_images
-- 产品参数
... ...
... ... @@ -151,6 +151,12 @@
|isHostsell|字符串||是否热卖 "Y" or "N"||
|wearSense|json字符串||风格|弹性 id 为1 厚度 2 柔软度 3 透气性 4 他们的值1-5|
|searchSortList|json字符串||productSkn必填 id 当此为修改的封面则必填否则认为为新增 modelId 品牌排序填“1”,奥莱排序填“2,”,搜索排序填“3”) projectId 填写1 |必填|
|searchKeys|字符串||搜索关键词,用逗号分隔||
|brandRelationList|字符串||关联品牌ID,格式为"[111,222]"||
|attributeProValuesOne|字符串||商品参数列表格式"[{'productSkn': 999, 'attributeId': 属性id, 'attributeValueId' : 属性值的Id}]"||
|attributeProValuesTwo|字符串||上架后信息列表格式"[{'productSkn': 999, 'attributeId': 属性id, 'attributeValueId' : 属性值的Id}]"||
|goodsImagesReq|字符串||封面信息列表格式'{"goodsImagesBoList":"[{\"angle\":0,\"genderCover\":0,\"id\":936378,\"imageUrl\":\"http://img11.static.yhbimg.com/goodsimg/2016/03/18/16/01565bc83e6c27649681133cd896381fbd.png\",\"isDefault\":\"Y\",\"orderBy\":0,\"productSkc\":12,\"productSkn\":50000684,\"status\":1},{\"angle\":0,\"genderCover\":1,\"imageUrl\":\"http://img11.static.yhbimg.com/goodsimg/2016/03/18/16/01f9f349016b372947677415b0adcad67c.jpg\",\"orderBy\":1,\"productSkc\":12,\"productSkn\":50000684,\"__index\":1,\"index\":0,\"isDefault\":\"N\"}]","productSkc":12,"productSkn":50000684}'||
---------------------
### 返回 (code为200代表成功,否则看message的失败原因)
... ... @@ -568,8 +574,7 @@
### 入参
{"brandModel":"11", "brandSeries":"33", "makeCrafts":"122,122", "pattern":"1", "style":9,"wearSense":[{"id":1,"value":"0"},{"id":2,"value":"0"},{"id":3,"value":"0"},{"id":4,"value":"0"}]
,"productSkn":50000055,"salesPhrase":"促销短语","isHostsell":"N"
{"brandModel":"11", "brandSeries":"33", "attributeProValuesTwo":"[{'productSkn': 999, 'attributeId': 属性id, 'attributeValueId' : 属性值的Id}]" ,"productSkn":50000055,"salesPhrase":"促销短语","isHostsell":"N"
}
-------------------------
... ... @@ -584,6 +589,8 @@
|salesPhrase|字符串||促销短语||
|isHostsell|字符串||是否热卖 "Y" or "N"||
|wearSense|json字符串||风格|弹性 id 为1 厚度 2 柔软度 3 透气性 4 他们的值1-5|
|attributeProValuesTwo|json字符串||"[{'productSkn': 999, 'attributeId': 属性id, 'attributeValueId' : 属性值的Id}]"||
---------------------
... ... @@ -991,6 +998,52 @@
"supplierId": 0
}
},
"attributeProValuesBosTwo": [ // 上架后信息参数
{
"attributeId": 83, // 属性Id
"attributeValueId": "3, 6",
"attributeValueIds": [ // 属性值Id
3,
6
],
"displayPosition": 3,
"id": 3,
"productSkn": 50000066
},
{
"attributeId": 87,
"attributeValueId": "21",
"attributeValueIds": [
21
],
"displayPosition": 3,
"id": 4,
"productSkn": 50000066
}
],
"attributeProValuesBosOne": [ // 商品参数
{
"attributeId": 83, // 属性Id
"attributeValueId": "3, 6",
"attributeValueIds": [ // 属性值Id
3,
6
],
"displayPosition": 3,
"id": 3,
"productSkn": 50000066
},
{
"attributeId": 87,
"attributeValueId": "21",
"attributeValueIds": [
21
],
"displayPosition": 3,
"id": 4,
"productSkn": 50000066
}
],
"brandRelationList": [ // 品牌关联的数据
791,
156
... ... @@ -1457,15 +1510,13 @@
> 接口名: `/product/saveProductParam`
### 入参
{"washTips":"1,2", "productMaterial":"35,37,46,99","productSkn":50000055}
{"attributeProValuesOne":"[{'productSkn': 999, 'attributeId': 属性id, 'attributeValueId' : 属性值的Id}]"}
-------------------------
|属性名称|类型|例子|说明|是否必填|
|--------|----|----|----|--------|
|productSkn|number||商品skn||
|washTips|提示的id多个用逗号隔开||||
|productMaterial|字符串||多个用逗号隔开||
|attributeProValuesOne|字符串||商品参数列表格式"[{'productSkn': 999, 'attributeId': 属性id, 'attributeValueId' : 属性值的Id}]"||
---------------------
... ... @@ -1784,3 +1835,80 @@
}
```
# 获取网销的非销售属性
> 接口名: `/product/queryAttributesByConf`
### 入参
{"categoryId":117, "displayPosition":2, "saleType":2}
-------------------------
|属性名称|类型|例子|说明|是否必填|
|--------|----|----|----|--------|
|categoryId|number||商品的三级分类Id||
|displayPosition|number||展示位置,网销的商品参数为2 上架后属性维护 3||
|saleType|number||非销售属性||
---------------------
### 返回
``` JSON
{
"code": 200,
"data": [
{
"attributeId": 83, // 属性Id
"attributeName": "洗涤提示", // 属性名称
"attributeType": 2,
"attributeValues": "[{\"id\":3,\"name\":\"中性\"},{\"id\":12,\"name\":\"时尚\"}]",
"belong": 10,
"categoryId": 1,
"displayPosition": 2,
"idNameList": [ // 属性值列表
{
"id": "3",
"text": "中性"
},
{
"id": "12",
"text": "时尚"
}
],
"inputType": "checkbox", // 属性选择输入类型 select checkbox radio text textarea
"isAllowAlias": "N",
"isColor": "N",
"isMust": "N", // 是否必填
"isSearch": "Y",
"maxValueLen": 50, // 如果是文本类型,最大长度
"orderBy": 0,
"saleType": 2,
"state": 1
},
{
"attributeId": 87,
"attributeName": "风格",
"attributeType": 2,
"attributeValues": "[{\"id\":4,\"name\":\"中性},{\"id\":21,\"name\":\"时尚\"}]",
"belong": 10,
"categoryId": 1,
"displayPosition": 2,
"inputType": "checkbox",
"isAllowAlias": "N",
"isColor": "N",
"isMust": "N",
"isSearch": "Y",
"maxValueLen": 50,
"orderBy": 0,
"saleType": 2,
"state": 1
}
],
"md5": "1c8f0e8c63b0a6fccf261186ef7aa447",
"message": "成功"
}
```
... ...
# 产品图片上传管理
---------------------
## 查询产品图片列表信息
> 接口名:`productPhoto/queryProductPhotoList`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|productSkn|int|234234|产品skn |
|productSkc|int|23423| 产品skc|
|productSku|int|234234| 产品sku|
|startTime|int|13555322333| 上传起始时间|
|endTime|int|13655322333| 上传结束时间|
---------------------
---------------------
### 返回
``` json
请求样例:
{
"modelType": 1
}
正常返回:
{
"code": 200,
"data": {
"list": [
{
"createTime": 1452763561,
"founder": 10097,
"isUsable": 1,
"lastAddTime": 1452763563,
"pictureBoList": [
{
"fileName": "http://img13.static.yhbimg.com\goodsimg/2016/01/14/09/02e05358563a628f87098fd2d267854d41.jpg",
"fileSuffix": "jpg",
"founder": 10097,
"id": 169637,
"isUsable": 1,
"originalName": "1035027 (1)",
"productSkc": 331746,
"productSkn": 51194411,
"productSku": 1035027,
"uploadTime": 1452763561
},
{
"fileName": "http://img12.static.yhbimg.com\goodsimg/2016/01/14/09/029ba367b3dd0ca64212cce58f44b49203.jpg",
"fileSuffix": "jpg",
"founder": 10097,
"id": 169638,
"isUsable": 1,
"originalName": "1035027 (10)",
"productSkc": 331746,
"productSkn": 51194411,
"productSku": 1035027,
"uploadTime": 1452763561
},
{
"fileName": "http://img11.static.yhbimg.com\goodsimg/2016/01/14/09/01a6fee1ded790b36f7645c6fc02f0da6f.jpg",
"fileSuffix": "jpg",
"founder": 10097,
"id": 169639,
"isUsable": 1,
"originalName": "1035027 (11)",
"productSkc": 331746,
"productSkn": 51194411,
"productSku": 1035027,
"uploadTime": 1452763562
},
{
"fileName": "http://img13.static.yhbimg.com\goodsimg/2016/01/14/09/022d7b765d1cb02963982b12e525f50113.jpg",
"fileSuffix": "jpg",
"founder": 10097,
"id": 169644,
"isUsable": 1,
"originalName": "1035027-(2)",
"productSkc": 331746,
"productSkn": 51194411,
"productSku": 1035027,
"uploadTime": 1452763563
},
{
"fileName": "http://img12.static.yhbimg.com\goodsimg/2016/01/14/09/028140ada84ccd2190d812b3fd7817841b.jpg",
"fileSuffix": "jpg",
"founder": 10097,
"id": 169645,
"isUsable": 1,
"originalName": "1035027-(5)",
"productSkc": 331746,
"productSkn": 51194411,
"productSku": 1035027,
"uploadTime": 1452763563
},
{
"fileName": "http://img12.static.yhbimg.com\goodsimg/2016/01/14/09/02e4b22cd84cbd24147d99cb4ce0dcb516.jpg",
"fileSuffix": "jpg",
"founder": 10097,
"id": 169646,
"isUsable": 1,
"originalName": "1035027-(9)",
"productSkc": 331746,
"productSkn": 51194411,
"productSku": 1035027,
"uploadTime": 1452763563
}
],
"productSkn": 51194411,
"updateTime": 1452763563,
"usableTime": 1452763561
}
],
"page": 1,
"size": 10,
"total": 1,
"totalPage": 1
},
"md5": "c70cd32d77305f8145e7ca7b14711fad",
"message": "产品图片列表"
}
异常返回:
{
"code": 405,
"data": [],
"md5": "d751713988987e9331980363e24189ce",
"message": ""
}
```
## 删除产品图片
> 接口名:`productPhoto/updateProductPhoto`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|ids|array| [1,24,4,4]| 图片主键数组 |
|productSkn|int|526456456|产品skn 必传 |
---------------------
### 返回
``` json
请求样例: 新增
{
"ids":[12,213,3234,322],
"productSkn":234234234
}
返回
{
"code": 200,
"data": [],
"md5": "d751713988987e9331980363e24189ce",
"message": "删除图片信息成功"
}
```
## 新增产品图片
> 接口名:`productPhoto/addProductPhoto`
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|productSkn|int|234234|产品skn |
|productSkc|int|23423| 产品skc|
|productSku|int|234234| 产品sku|
|productPhotoAddBoList|array|[{"originalName":"22222222222","fileName":"234234234234"}]| 图片列表|
---------------------
### 返回
``` json
请求样例: 新增
{
"productSkc": 331746,
"productSkn": 51194411,
"productSku": 1035027,
"productPhotoAddBoList": [
{
"fileName": "http://img11.static.yhbimg.com/goodsimg/2016/01/14/09/01a6fee1ded790b36f7645c6fc02f0da6f.jpg",
"originalName": "1035027.jpg"
}
]
}
返回
{
"code": 200,
"data": [],
"md5": "d751713988987e9331980363e24189ce",
"message": "新增产品信息成功"
}
```
... ...
# 店铺接口服务定义
---------------------
## 店铺状态统计
| 操作 | check_status | opration_status |
|------------------|--------------|-----------------|
| 暂存 | 100 | 1 |
| 保存(待审核) | 200 | 1 |
| 待审核->驳回 | 900 | 1 |
| 待审核->审核通过 | 300 | 2 |
| 审核通过->编辑 | 200 | 2 |
| 编辑->审核通过 | 300 | 2 |
| 编辑->驳回 | 900 | 2 |
>Note: shops_check 表记录在 shops 创建的同时创建,并且状态也是同时变化的,区别就是在审核通过后,编辑的时候,shops_check 表中,保存的是编辑后的数据,shops 表中保存的是原始数据。
## 获取店铺列表
> 接口名: `/ShopsRest/getShopList`
... ...
合同管理
--------
## 合同状态
| 操作 | status | oprations |
|------------------|--------|-----------|
| 暂存 | 100 | 3 |
| 保存(待审核) | 500 | 3 |
| 待审核->驳回 | 900 | 3 |
| 待审核->审核通过 | 200 | 4 |
| 审核通过->续约 | 500 | 2 |
| 续约->审核通过 | 200 | 2 |
| 续约->驳回 | 900 | 2 |
| 审核通过->解约 | 500 | 1 |
| 解约->审核通过 | 200 | 1(end_agreement:Y)|
| 解约->驳回 | 900 | 1 |
合同管理
--------
## 合同状态
| 操作 | status | oprations |
|------------------|--------|-----------|
| 暂存 | 100 | 3 |
| 保存(待审核) | 500 | 3 |
| 待审核->驳回 | 900 | 3 |
| 待审核->审核通过 | 200 | 4 |
| 审核通过->续约 | 500 | 2 |
| 续约->审核通过 | 200 | 2 |
| 续约->驳回 | 900 | 2 |
| 审核通过->解约 | 500 | 1 |
| 解约->审核通过 | 200 | 1(end_agreement:Y)|
| 解约->驳回 | 900 | 1 |
### 例如,根据品牌id获取jit供应商,筛选有效合同
```sql
<select id="selectValidJitSupplierBySupplierId" resultMap="BaseResultMap">
<bind name="size" value="@com.yohobuy.platform.common.util.SqlUtils@getSize(supplierIds)" />
select <include refid="Base_Column_List" />
from agreement
<where>
<if test="supplierIds !=null and size!=0">
supplier_id in
<foreach collection="supplierIds" item="supplierId" open="(" separator="," close=")">
#{supplierId}
</foreach>
</if>
and agreement_end_time > FROM_UNIXTIME(UNIX_TIMESTAMP(),'%Y-%m-%d') and
operations != 3 and `status` in (200,500,900) and end_agreement = 'N' and business_model = 7
</where>
</select>
```
\ No newline at end of file
... ...
供应商接口服务定义
---------------------
## 创建供应商列表查询接口
> 接口名: '/supplier/supplier/getCreateSupplierList'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|123|供应商ID|
|status|String|100|供应商状态(100:暂存,200:审核中,300:通过,900:驳回)|
|timeSort|String|asc|时间排序(asc:正序,desc:倒序)|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"list": [
{
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
],
"page": 0,
"size": 50,
"total": 1000,
"totalPage":20
}
}
```
## 供应商列表查询接口
> 接口名: '/supplier/supplier/getManageSupplierList'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|123|供应商ID|
|status|String|100|供应商状态(100:暂存,200:审核中,300:通过,900:驳回)|
|isFreeze|String|N|生效状态(N:已生效,Y:不生效)|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"list": [
{
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
],
"page": 0,
"size": 50,
"total": 1000,
"totalPage":20
}
}
```
## 审核供应商列表查询接口
> 接口名: '/supplier/supplier/getAuditSupplierList'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|123|供应商ID|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"list": [
{
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
],
"page": 0,
"size": 50,
"total": 1000,
"totalPage":20
}
}
```
## 获取供应商列表(id/name)接口
> 接口名: '/supplier/supplier/getSupplierListByIdName'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|idName|String|1054|供应商ID或供应商名称|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": [
{
"id": "",
"text":""
}
]
}
```
## 获取供应商详情接口
> 接口名: '/supplier/supplier/getSupplier'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|1054|供应商ID|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
}
```
## 新增供应商接口
> 接口名: '/supplier/supplier/addSupplier'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|43|供应商ID|
|supplierCode|String|-|供应商编号|
|supplierName|String|-|供应商名称|
|businessLicense|String|-|营业执照电子版|
|legalPerson|String|张三|法人姓名|
|linkman|String|李四|联系人姓名|
|phone|String|-|联系人电话|
|fax|String|-|传真|
|email|String|-|邮箱|
|url|String|-|网址|
|taxCertificate|String|-|税务登记证电子版|
|bankName|String|-|开户行|
|bankAccount|String|-|开户账号|
|category|int|-|供应商类别|
|createTime|String|2011-10-12|创建时间|
|updateTime|String|2011-11-12|更新时间|
|static_p|int|-|-|
|isLock|int|-|-|
|foundTime|String|2001-10-10|成立时间|
|beginOperateTime|String|2001-12-21|经营开始时间|
|endOperateTime|String|2100-02-12|经营结束时间|
|isFreeze|String|N|是否冻结(Y:是,N:否)|
|status|int|200|状态(100:暂存,200:审核中,300:通过,900:驳回)|
|operations|int|1|最近操作(1:创建,2:编辑,3:冻结,4:解冻)|
|registeredAddress|String|-|注册地址|
|registeredCapital|String|5551166|注册资本|
|businessLicensePic|String|-|组织机构代码证|
|businessRange|String|-|经营范围|
|legalIdentityCard|String|-|法人身份证电子|
|createPid|int|43|创建人|
|contactPhone|String|-|公司联系电话|
|contactAddress|String|-|公司联系地址|
|accountOpeningLicenseid|String|-|开户许可证电子版|
|itaxpayerQualificationCertificated|String|-|纳税人资格证明电子版|
|industryLicense|String|-|行业许可证电子版|
---------------------
### 返回
``` json
{
"code":200,
"message":"新增成功"
}
```
## 修改供应商接口
> 接口名: '/supplier/supplier/updateSupplier'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|43|供应商ID|
|supplierCode|String|-|供应商编号|
|supplierName|String|-|供应商名称|
|businessLicense|String|-|营业执照电子版|
|legalPerson|String|张三|法人姓名|
|linkman|String|李四|联系人姓名|
|phone|String|-|联系人电话|
|fax|String|-|传真|
|email|String|-|邮箱|
|url|String|-|网址|
|taxCertificate|String|-|税务登记证电子版|
|bankName|String|-|开户行|
|bankAccount|String|-|开户账号|
|category|int|-|供应商类别|
|createTime|String|2011-10-12|创建时间|
|updateTime|String|2011-11-12|更新时间|
|static_p|int|-|-|
|isLock|int|-|-|
|foundTime|String|2001-10-10|成立时间|
|beginOperateTime|String|2001-12-21|经营开始时间|
|endOperateTime|String|2100-02-12|经营结束时间|
|isFreeze|String|N|是否冻结(Y:是,N:否)|
|status|int|200|状态(100:暂存,200:审核中,300:通过,900:驳回)|
|operations|int|1|最近操作(1:创建,2:编辑,3:冻结,4:解冻)|
|registeredAddress|String|-|注册地址|
|registeredCapital|String|5551166|注册资本|
|businessLicensePic|String|-|组织机构代码证|
|businessRange|String|-|经营范围|
|legalIdentityCard|String|-|法人身份证电子|
|createPid|int|43|创建人|
|contactPhone|String|-|公司联系电话|
|contactAddress|String|-|公司联系地址|
|accountOpeningLicenseid|String|-|开户许可证电子版|
|itaxpayerQualificationCertificated|String|-|纳税人资格证明电子版|
|industryLicense|String|-|行业许可证电子版|
---------------------
### 返回
``` json
{
"code":200,
"message":"修改成功!"
}
供应商接口服务定义
---------------------
## 创建供应商列表查询接口
> 接口名: '/supplier/supplier/getCreateSupplierList'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|123|供应商ID|
|status|String|100|供应商状态(100:暂存,200:审核中,300:通过,900:驳回)|
|timeSort|String|asc|时间排序(asc:正序,desc:倒序)|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"list": [
{
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
],
"page": 0,
"size": 50,
"total": 1000,
"totalPage":20
}
}
```
## 供应商列表查询接口
> 接口名: '/supplier/supplier/getManageSupplierList'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|123|供应商ID|
|status|String|100|供应商状态(100:暂存,200:审核中,300:通过,900:驳回)|
|isFreeze|String|N|生效状态(N:已生效,Y:不生效)|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"list": [
{
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
],
"page": 0,
"size": 50,
"total": 1000,
"totalPage":20
}
}
```
## 审核供应商列表查询接口
> 接口名: '/supplier/supplier/getAuditSupplierList'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|123|供应商ID|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"list": [
{
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
],
"page": 0,
"size": 50,
"total": 1000,
"totalPage":20
}
}
```
## 获取供应商列表(id/name)接口
> 接口名: '/supplier/supplier/getSupplierListByIdName'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|idName|String|1054|供应商ID或供应商名称|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": [
{
"id": "",
"text":""
}
]
}
```
## 获取供应商详情接口
> 接口名: '/supplier/supplier/getSupplier'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|String|1054|供应商ID|
---------------------
### 返回
``` json
{
"code":200,
"message":"操作成功",
"data": {
"id": "", 供应商ID
"supplierCode": "", 供应商编号
"supplierName": "", 供应商名称
"businessLicense": "", 营业执照电子版
"legalPerson": "", 法人姓名
"linkman": "", 联系人姓名
"phone": "", 联系人电话
"fax": "", 传真
"email": "", 邮箱
"url": "", 网址
"taxCertificate": "", 税务登记证电子版
"bankName": "", 开户行
"bankAccount": "", 开户账号
"category": "", 供应商类别
"createTime": "", 创建时间
"updateTime": "", 更新时间
"static_p": "",
"isLock": "",
"foundTime": "", 成立时间
"beginOperateTime": "", 经营开始时间
"endOperateTime": "", 经营结束时间
"isFreeze": "", 是否冻结(Y:是,N:否)
"status": "", 状态(100:暂存,200:审核中,300:通过,900:驳回)
"operations": "", 最近操作(1:创建,2:编辑,3:冻结,4:解冻)
"registeredAddress": "", 注册地址
"registeredCapital": "", 注册资本
"businessLicensePic": "", 组织机构代码证
"businessRange": "", 经营范围
"legalIdentityCard": "", 法人身份证电子
"createPid": "", 创建人
"contactPhone": "", 公司联系电话
"contactAddress": "", 公司联系地址
"accountOpeningLicense": "", 开户许可证电子版
"taxpayerQualificationCertificate": "", 纳税人资格证明电子版
"industryLicense": "" 行业许可证电子版
}
}
```
## 新增供应商接口
> 接口名: '/supplier/supplier/addSupplier'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|43|供应商ID|
|supplierCode|String|-|供应商编号|
|supplierName|String|-|供应商名称|
|businessLicense|String|-|营业执照电子版|
|legalPerson|String|张三|法人姓名|
|linkman|String|李四|联系人姓名|
|phone|String|-|联系人电话|
|fax|String|-|传真|
|email|String|-|邮箱|
|url|String|-|网址|
|taxCertificate|String|-|税务登记证电子版|
|bankName|String|-|开户行|
|bankAccount|String|-|开户账号|
|category|int|-|供应商类别|
|createTime|String|2011-10-12|创建时间|
|updateTime|String|2011-11-12|更新时间|
|static_p|int|-|-|
|isLock|int|-|-|
|foundTime|String|2001-10-10|成立时间|
|beginOperateTime|String|2001-12-21|经营开始时间|
|endOperateTime|String|2100-02-12|经营结束时间|
|isFreeze|String|N|是否冻结(Y:是,N:否)|
|status|int|200|状态(100:暂存,200:审核中,300:通过,900:驳回)|
|operations|int|1|最近操作(1:创建,2:编辑,3:冻结,4:解冻)|
|registeredAddress|String|-|注册地址|
|registeredCapital|String|5551166|注册资本|
|businessLicensePic|String|-|组织机构代码证|
|businessRange|String|-|经营范围|
|legalIdentityCard|String|-|法人身份证电子|
|createPid|int|43|创建人|
|contactPhone|String|-|公司联系电话|
|contactAddress|String|-|公司联系地址|
|accountOpeningLicenseid|String|-|开户许可证电子版|
|itaxpayerQualificationCertificated|String|-|纳税人资格证明电子版|
|industryLicense|String|-|行业许可证电子版|
---------------------
### 返回
``` json
{
"code":200,
"message":"新增成功"
}
```
## 修改供应商接口
> 接口名: '/supplier/supplier/updateSupplier'
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|int|43|供应商ID|
|supplierCode|String|-|供应商编号|
|supplierName|String|-|供应商名称|
|businessLicense|String|-|营业执照电子版|
|legalPerson|String|张三|法人姓名|
|linkman|String|李四|联系人姓名|
|phone|String|-|联系人电话|
|fax|String|-|传真|
|email|String|-|邮箱|
|url|String|-|网址|
|taxCertificate|String|-|税务登记证电子版|
|bankName|String|-|开户行|
|bankAccount|String|-|开户账号|
|category|int|-|供应商类别|
|createTime|String|2011-10-12|创建时间|
|updateTime|String|2011-11-12|更新时间|
|static_p|int|-|-|
|isLock|int|-|-|
|foundTime|String|2001-10-10|成立时间|
|beginOperateTime|String|2001-12-21|经营开始时间|
|endOperateTime|String|2100-02-12|经营结束时间|
|isFreeze|String|N|是否冻结(Y:是,N:否)|
|status|int|200|状态(100:暂存,200:审核中,300:通过,900:驳回)|
|operations|int|1|最近操作(1:创建,2:编辑,3:冻结,4:解冻)|
|registeredAddress|String|-|注册地址|
|registeredCapital|String|5551166|注册资本|
|businessLicensePic|String|-|组织机构代码证|
|businessRange|String|-|经营范围|
|legalIdentityCard|String|-|法人身份证电子|
|createPid|int|43|创建人|
|contactPhone|String|-|公司联系电话|
|contactAddress|String|-|公司联系地址|
|accountOpeningLicenseid|String|-|开户许可证电子版|
|itaxpayerQualificationCertificated|String|-|纳税人资格证明电子版|
|industryLicense|String|-|行业许可证电子版|
---------------------
### 返回
``` json
{
"code":200,
"message":"修改成功!"
}
```
\ No newline at end of file
... ...