Skip to content

Commit 8047881

Browse files
author
wuxw7
committed
商品服务开发完成
1 parent 6f241e5 commit 8047881

28 files changed

Lines changed: 3602 additions & 823 deletions
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"orders": {
3+
"appId": "外系统ID,分配得到",
4+
"transactionId": "100000000020180409224736000001",
5+
"userId": "用户ID",
6+
"orderTypeCd": "订单类型,查询,受理",
7+
"requestTime": "20180409224736",
8+
"remark": "备注",
9+
"sign": "这个服务是否要求MD5签名",
10+
"attrs": [{
11+
"specCd": "配置的字段ID",
12+
"value": "具体值"
13+
}]
14+
},
15+
"business": [{
16+
"serviceCode": "delete.shop.info",
17+
"serviceName": "删除商品信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessShop": {
21+
"shopId": "123456"
22+
},
23+
"businessShopAttr": [{
24+
"shopId": "123456",
25+
"attrId":"123123"
26+
}],
27+
"businessShopPhoto":[{
28+
"shopPhotoId":"123123",
29+
"shopId":"123456"
30+
}],
31+
"businessShopAttrParam":[{
32+
"attrParamId":"123123",
33+
"shopId":"123456"
34+
}],
35+
"businessShopPreferential":{
36+
"shopPreferentialId":"23213",
37+
"shopId":"123456"
38+
},
39+
"businessShopDesc":{
40+
"shopDescId":"343434",
41+
"shopId":"123456"
42+
}
43+
},
44+
"attrs": [{
45+
"specCd": "配置的字段ID",
46+
"value": "具体值"
47+
}]
48+
}]
49+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"orders": {
3+
"appId": "外系统ID,分配得到",
4+
"transactionId": "100000000020180409224736000001",
5+
"userId": "用户ID",
6+
"orderTypeCd": "订单类型,查询,受理",
7+
"requestTime": "20180409224736",
8+
"remark": "备注",
9+
"sign": "这个服务是否要求MD5签名",
10+
"attrs": [{
11+
"specCd": "配置的字段ID",
12+
"value": "具体值"
13+
}]
14+
},
15+
"business": [{
16+
"serviceCode": "save.shop.catalog",
17+
"serviceName": "保存商品目录",
18+
"remark": "备注",
19+
"datas": {
20+
"businessShopCatalog":[{
21+
"catalogId":"-1",
22+
"storeId":"123",
23+
"name":"盖浇饭",
24+
"level":"1",
25+
"parentCatalogId":"-1"
26+
}]
27+
},
28+
"attrs": [{
29+
"specCd": "配置的字段ID",
30+
"value": "具体值"
31+
}]
32+
}]
33+
}

ShopService/doc/savaShopInfo.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"orders": {
3+
"appId": "外系统ID,分配得到",
4+
"transactionId": "100000000020180409224736000001",
5+
"userId": "用户ID",
6+
"orderTypeCd": "订单类型,查询,受理",
7+
"requestTime": "20180409224736",
8+
"remark": "备注",
9+
"sign": "这个服务是否要求MD5签名",
10+
"attrs": [{
11+
"specCd": "配置的字段ID",
12+
"value": "具体值"
13+
}]
14+
},
15+
"business": [{
16+
"serviceCode": "save.shop.info",
17+
"serviceName": "保存商品信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessShop": {
21+
"shopId": "-1",
22+
"storeId": "123",
23+
"catalogId":"-1",
24+
"name": "西红柿鸡蛋盖浇饭",
25+
"hotBuy": "Y",
26+
"salePrice": "12.00",
27+
"openShopCount": "N",
28+
"shopCount": "1",
29+
"startDate": "2018-07-07 11:04:00",
30+
"endDate": "2019-07-07 11:04:00"
31+
},
32+
"businessShopAttr": [{
33+
"shopId": "-1",
34+
"attrId":"-1",
35+
"specCd":"1001",
36+
"value":"01"
37+
}],
38+
"businessShopPhoto":[{
39+
"shopPhotoId":"-1",
40+
"shopId":"-1",
41+
"shopPhotoTypeCd":"L",
42+
"photo":"123.jpg"
43+
}],
44+
"businessShopAttrParam":[{
45+
"attrParamId":"-1",
46+
"shopId":"-1",
47+
"specCd":"123",
48+
"param":"加米"
49+
}],
50+
"businessShopPreferential":{
51+
"shopPreferentialId":"-1",
52+
"shopId":"-1",
53+
"originalPrice":"12.00",
54+
"discountRate":"1.00",
55+
"showOriginalPrice":"N",
56+
"preferentialStartDate":"2018-07-07 12:17:00",
57+
"preferentialEndDate":"2018-07-08 12:17:00"
58+
},
59+
"businessShopDesc":{
60+
"shopDescId":"-1",
61+
"shopId":"-1",
62+
"shopDescribe":""
63+
}
64+
},
65+
"attrs": [{
66+
"specCd": "配置的字段ID",
67+
"value": "具体值"
68+
}]
69+
}]
70+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"orders": {
3+
"appId": "外系统ID,分配得到",
4+
"transactionId": "100000000020180409224736000001",
5+
"userId": "用户ID",
6+
"orderTypeCd": "订单类型,查询,受理",
7+
"requestTime": "20180409224736",
8+
"remark": "备注",
9+
"sign": "这个服务是否要求MD5签名",
10+
"attrs": [{
11+
"specCd": "配置的字段ID",
12+
"value": "具体值"
13+
}]
14+
},
15+
"business": [{
16+
"serviceCode": "update.shop.info",
17+
"serviceName": "修改商品信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessShop": {
21+
"shopId": "123456",
22+
"storeId": "123",
23+
"catalogId":"-1",
24+
"name": "西红柿鸡蛋盖浇饭",
25+
"hotBuy": "Y",
26+
"salePrice": "12.00",
27+
"openShopCount": "N",
28+
"shopCount": "1",
29+
"startDate": "2018-07-07 11:04:00",
30+
"endDate": "2019-07-07 11:04:00"
31+
},
32+
"businessShopAttr": [{
33+
"shopId": "123456",
34+
"attrId":"123123",
35+
"specCd":"1001",
36+
"value":"01"
37+
}],
38+
"businessShopPhoto":[{
39+
"shopPhotoId":"123123",
40+
"shopId":"123456",
41+
"shopPhotoTypeCd":"L",
42+
"photo":"123.jpg"
43+
}],
44+
"businessShopAttrParam":[{
45+
"attrParamId":"123123",
46+
"shopId":"123456",
47+
"specCd":"123",
48+
"param":"加米"
49+
}],
50+
"businessShopPreferential":{
51+
"shopPreferentialId":"23213",
52+
"shopId":"123456",
53+
"originalPrice":"12.00",
54+
"discountRate":"1.00",
55+
"showOriginalPrice":"N",
56+
"preferentialStartDate":"2018-07-07 12:17:00",
57+
"preferentialEndDate":"2018-07-08 12:17:00"
58+
},
59+
"businessShopDesc":{
60+
"shopDescId":"343434",
61+
"shopId":"123456",
62+
"shopDescribe":""
63+
}
64+
},
65+
"attrs": [{
66+
"specCd": "配置的字段ID",
67+
"value": "具体值"
68+
}]
69+
}]
70+
}

0 commit comments

Comments
 (0)