Skip to content

Commit

Permalink
代理商服务开发测试完成
Browse files Browse the repository at this point in the history
  • Loading branch information
928255095 committed Dec 23, 2018
1 parent 285c5b8 commit 3f68ecb
Show file tree
Hide file tree
Showing 36 changed files with 3,367 additions and 615 deletions.
29 changes: 29 additions & 0 deletions AgentService/doc/deleteAgentAttr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "delete.agent.attr",
"serviceName": "删除代理商属性",
"remark": "备注",
"datas": {
"businessAgentAttr": [{
"attrId":"112018121800000002"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
29 changes: 29 additions & 0 deletions AgentService/doc/deleteAgentCerdentials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "delete.agent.cerdentials",
"serviceName": "删除商户证件信息",
"remark": "备注",
"datas": {
"businessAgentCerdentials":[{
"agentCerdentialsId":"9220181218000002"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
29 changes: 29 additions & 0 deletions AgentService/doc/deleteAgentPhoto.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "delete.agent.photo",
"serviceName": "删除物业照片信息",
"remark": "备注",
"datas": {
"businessAgentPhoto":[{
"agentPhotoId":"12320181218000001"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
29 changes: 29 additions & 0 deletions AgentService/doc/deleteAgentUser.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "delete.agent.user",
"serviceName": "删除住户信息",
"remark": "备注",
"datas": {
"businessAgentUser":[{
"agentUserId":"9320181219000001"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
35 changes: 35 additions & 0 deletions AgentService/doc/saveAgentCerdentials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "save.agent.cerdentials",
"serviceName": "保存商户信息",
"remark": "备注",
"datas": {
"businessAgentCerdentials":[{
"agentCerdentialsId":"-1",
"agentId":"9020181218000001",
"credentialsCd":"1",
"value":"632126XXXXXXXX2011",
"validityPeriod":"有效期,长期有效请写3000/01/01",
"positivePhoto":"正面照片地址,1234567.jpg",
"negativePhoto":"反面照片地址,没有不填写"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
41 changes: 41 additions & 0 deletions AgentService/doc/saveAgentInfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "save.agent.info",
"serviceName": "保存物业信息",
"remark": "备注",
"datas": {
"businessAgent": {
"agentId": "-1",
"name": "方博家园",
"address": "青海省西宁市城中区129号",
"tel": "17797173942",
"nearbyLandmarks": "王府井旁30米",
"mapX": "101.801909",
"mapY": "36.597263"
},
"businessAgentAttr": [{
"agentId": "-1",
"attrId":"-1",
"specCd":"1001",
"value":"01"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
32 changes: 32 additions & 0 deletions AgentService/doc/saveAgentPhoto.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "save.agent.photo",
"serviceName": "保存小区信息",
"remark": "备注",
"datas": {
"businessAgentPhoto":[{
"agentPhotoId":"-1",
"agentId":"123213",
"agentPhotoTypeCd":"T",
"photo":"12345678.jpg"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
32 changes: 32 additions & 0 deletions AgentService/doc/saveAgentUser.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "save.agent.user",
"serviceName": "保存商户信息",
"remark": "备注",
"datas": {
"businessAgentUser":[{
"agentUserId":"-1",
"agentId":"9020181218000001",
"relCd":"600311000001",
"userId":"123"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
34 changes: 34 additions & 0 deletions AgentService/doc/updateAgentCerdentials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "update.agent.cerdentials",
"serviceName": "修改物业证件信息",
"remark": "备注",
"datas": {
"businessAgentCerdentials":[{
"agentCerdentialsId":"9220181218000002",
"agentId":"9020181218000001",
"value":"632126XXXXXXXX2012",
"validityPeriod":"3000-2-1",
"positivePhoto":"1234567.jpg",
"negativePhoto":"11.jpg"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
40 changes: 40 additions & 0 deletions AgentService/doc/updateAgentInfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "update.agent.info",
"serviceName": "修改商户信息",
"remark": "备注",
"datas": {
"businessAgent": {
"agentId": "123123",
"name": "方博家园",
"address": "青海省西宁市城中区129号",
"tel": "17797173942",
"nearbyLandmarks": "王府井旁30米",
"mapX": "101.801909",
"mapY": "36.597263"
},
"businessAgentAttr": [{
"agentId": "12313",
"attrId":"123123",
"value":"01"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
32 changes: 32 additions & 0 deletions AgentService/doc/updateAgentPhoto.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"orders": {
"appId": "外系统ID,分配得到",
"transactionId": "100000000020180409224736000001",
"userId": "用户ID",
"orderTypeCd": "订单类型,查询,受理",
"requestTime": "20180409224736",
"remark": "备注",
"sign": "这个服务是否要求MD5签名",
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
},
"business": {
"serviceCode": "update.agent.photo",
"serviceName": "修改物业照片信息",
"remark": "备注",
"datas": {
"businessAgentPhoto":[{
"agentPhotoId":"12320181218000001",
"agentId":"9020181218000001",
"agentPhotoTypeCd":"T",
"photo":"123456789.jpg"
}]
},
"attrs": [{
"specCd": "配置的字段ID",
"value": "具体值"
}]
}
}
10 changes: 10 additions & 0 deletions AgentService/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM registry.cn-beijing.aliyuncs.com/sxd/ubuntu-java8:1.0
MAINTAINER wuxw <[email protected]>


ADD bin/start_agent.sh /root/


RUN chmod u+x /root/start_agent.sh

CMD ["/root/start_agent.sh","dev"]
Loading

0 comments on commit 3f68ecb

Please sign in to comment.