Skip to content

Commit 9663ede

Browse files
author
wuxw7
committed
评论服务开发完成
1 parent 809af2e commit 9663ede

File tree

16 files changed

+1440
-1033
lines changed

16 files changed

+1440
-1033
lines changed
Lines changed: 32 additions & 0 deletions
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": "delete.comment.info",
17+
"serviceName": "保存评论信息",
18+
"remark": "备注",
19+
"datas": {
20+
"comment": {
21+
"commentId": "123"
22+
},
23+
"subComment": { //如果有 comment 节点 这个节点不用写
24+
"subCommentId": "123456"
25+
}
26+
},
27+
"attrs": [{
28+
"specCd": "配置的字段ID",
29+
"value": "具体值"
30+
}]
31+
}]
32+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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.comment.info",
17+
"serviceName": "保存评论信息",
18+
"remark": "备注",
19+
"datas": {
20+
"comment": {
21+
"commentId": "-1",
22+
"userId": "123",
23+
"commentTypeCd":"S",
24+
"outId": "9898989898"
25+
},
26+
"subComment": {
27+
"subCommentId": "-1",
28+
"commentId":"-1",
29+
"parentSubCommentId":"-1",
30+
"subCommentTypeCd":"C",
31+
"commentContext":"非常好"
32+
},
33+
"subCommentAttr": [{
34+
"subCommentId": "-1",
35+
"attrId":"-1",
36+
"specCd":"1001",
37+
"value":"01"
38+
}],
39+
"subCommentPhoto":[{
40+
"commentPhotoId":"-1",
41+
"subCommentId":"-1",
42+
"commentPhotoTypeCd":"L",
43+
"photo":"123.jpg"
44+
}],
45+
"commentScore":[{
46+
"commentScoreId":"-1",
47+
"commentId":"-1",
48+
"scoreTypeCd":"S",
49+
"value":"5"
50+
}]
51+
},
52+
"attrs": [{
53+
"specCd": "配置的字段ID",
54+
"value": "具体值"
55+
}]
56+
}]
57+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
#### debug model prod
3+
#nohup java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -jar -Dspring.profiles.active=dev CommentService.jar $1 > comment.log 2>&1 &
4+
5+
#### normal prod model
6+
#nohup java -jar -Dspring.profiles.active=prod $1 CommentService.jar > comment.log $1 2>&1 &
7+
8+
#### normal test model
9+
#nohup java -jar -Dspring.profiles.active=test $1 CommentService.jar > comment.log $1 2>&1 &
10+
11+
#### normal dev model
12+
nohup java -jar -Dspring.profiles.active=dev $1 CommentService.jar > comment.log $1 2>&1 &
13+
14+
tail -100f comment.log

0 commit comments

Comments
 (0)