Skip to content

Commit 3f68ecb

Browse files
committed
代理商服务开发测试完成
1 parent 285c5b8 commit 3f68ecb

36 files changed

+3367
-615
lines changed

AgentService/doc/deleteAgentAttr.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.agent.attr",
17+
"serviceName": "删除代理商属性",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentAttr": [{
21+
"attrId":"112018121800000002"
22+
}]
23+
},
24+
"attrs": [{
25+
"specCd": "配置的字段ID",
26+
"value": "具体值"
27+
}]
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.agent.cerdentials",
17+
"serviceName": "删除商户证件信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentCerdentials":[{
21+
"agentCerdentialsId":"9220181218000002"
22+
}]
23+
},
24+
"attrs": [{
25+
"specCd": "配置的字段ID",
26+
"value": "具体值"
27+
}]
28+
}
29+
}
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.agent.photo",
17+
"serviceName": "删除物业照片信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentPhoto":[{
21+
"agentPhotoId":"12320181218000001"
22+
}]
23+
},
24+
"attrs": [{
25+
"specCd": "配置的字段ID",
26+
"value": "具体值"
27+
}]
28+
}
29+
}

AgentService/doc/deleteAgentUser.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.agent.user",
17+
"serviceName": "删除住户信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentUser":[{
21+
"agentUserId":"9320181219000001"
22+
}]
23+
},
24+
"attrs": [{
25+
"specCd": "配置的字段ID",
26+
"value": "具体值"
27+
}]
28+
}
29+
}
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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.agent.cerdentials",
17+
"serviceName": "保存商户信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentCerdentials":[{
21+
"agentCerdentialsId":"-1",
22+
"agentId":"9020181218000001",
23+
"credentialsCd":"1",
24+
"value":"632126XXXXXXXX2011",
25+
"validityPeriod":"有效期,长期有效请写3000/01/01",
26+
"positivePhoto":"正面照片地址,1234567.jpg",
27+
"negativePhoto":"反面照片地址,没有不填写"
28+
}]
29+
},
30+
"attrs": [{
31+
"specCd": "配置的字段ID",
32+
"value": "具体值"
33+
}]
34+
}
35+
}

AgentService/doc/saveAgentInfo.json

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.agent.info",
17+
"serviceName": "保存物业信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgent": {
21+
"agentId": "-1",
22+
"name": "方博家园",
23+
"address": "青海省西宁市城中区129号",
24+
"tel": "17797173942",
25+
"nearbyLandmarks": "王府井旁30米",
26+
"mapX": "101.801909",
27+
"mapY": "36.597263"
28+
},
29+
"businessAgentAttr": [{
30+
"agentId": "-1",
31+
"attrId":"-1",
32+
"specCd":"1001",
33+
"value":"01"
34+
}]
35+
},
36+
"attrs": [{
37+
"specCd": "配置的字段ID",
38+
"value": "具体值"
39+
}]
40+
}
41+
}

AgentService/doc/saveAgentPhoto.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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.agent.photo",
17+
"serviceName": "保存小区信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentPhoto":[{
21+
"agentPhotoId":"-1",
22+
"agentId":"123213",
23+
"agentPhotoTypeCd":"T",
24+
"photo":"12345678.jpg"
25+
}]
26+
},
27+
"attrs": [{
28+
"specCd": "配置的字段ID",
29+
"value": "具体值"
30+
}]
31+
}
32+
}

AgentService/doc/saveAgentUser.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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.agent.user",
17+
"serviceName": "保存商户信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentUser":[{
21+
"agentUserId":"-1",
22+
"agentId":"9020181218000001",
23+
"relCd":"600311000001",
24+
"userId":"123"
25+
}]
26+
},
27+
"attrs": [{
28+
"specCd": "配置的字段ID",
29+
"value": "具体值"
30+
}]
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.agent.cerdentials",
17+
"serviceName": "修改物业证件信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentCerdentials":[{
21+
"agentCerdentialsId":"9220181218000002",
22+
"agentId":"9020181218000001",
23+
"value":"632126XXXXXXXX2012",
24+
"validityPeriod":"3000-2-1",
25+
"positivePhoto":"1234567.jpg",
26+
"negativePhoto":"11.jpg"
27+
}]
28+
},
29+
"attrs": [{
30+
"specCd": "配置的字段ID",
31+
"value": "具体值"
32+
}]
33+
}
34+
}

AgentService/doc/updateAgentInfo.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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.agent.info",
17+
"serviceName": "修改商户信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgent": {
21+
"agentId": "123123",
22+
"name": "方博家园",
23+
"address": "青海省西宁市城中区129号",
24+
"tel": "17797173942",
25+
"nearbyLandmarks": "王府井旁30米",
26+
"mapX": "101.801909",
27+
"mapY": "36.597263"
28+
},
29+
"businessAgentAttr": [{
30+
"agentId": "12313",
31+
"attrId":"123123",
32+
"value":"01"
33+
}]
34+
},
35+
"attrs": [{
36+
"specCd": "配置的字段ID",
37+
"value": "具体值"
38+
}]
39+
}
40+
}
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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.agent.photo",
17+
"serviceName": "修改物业照片信息",
18+
"remark": "备注",
19+
"datas": {
20+
"businessAgentPhoto":[{
21+
"agentPhotoId":"12320181218000001",
22+
"agentId":"9020181218000001",
23+
"agentPhotoTypeCd":"T",
24+
"photo":"123456789.jpg"
25+
}]
26+
},
27+
"attrs": [{
28+
"specCd": "配置的字段ID",
29+
"value": "具体值"
30+
}]
31+
}
32+
}

AgentService/docker/Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM registry.cn-beijing.aliyuncs.com/sxd/ubuntu-java8:1.0
2+
MAINTAINER wuxw <928255095@qq.com>
3+
4+
5+
ADD bin/start_agent.sh /root/
6+
7+
8+
RUN chmod u+x /root/start_agent.sh
9+
10+
CMD ["/root/start_agent.sh","dev"]

0 commit comments

Comments
 (0)