修复测试缺陷
Showing
5 changed files
with
14 additions
and
9 deletions
... | @@ -29,6 +29,10 @@ public class MemberProfile implements Serializable { | ... | @@ -29,6 +29,10 @@ public class MemberProfile implements Serializable { |
29 | @Column(name = "id") | 29 | @Column(name = "id") |
30 | private Long id; | 30 | private Long id; |
31 | 31 | ||
32 | // 手机号 | ||
33 | @Column(name = "phone") | ||
34 | private String phone; | ||
35 | |||
32 | // 会员id | 36 | // 会员id |
33 | @Column(name = "member_id", nullable = false) | 37 | @Column(name = "member_id", nullable = false) |
34 | private Long memberId; | 38 | private Long memberId; | ... | ... |
... | @@ -2,6 +2,7 @@ package com.topdraw.business.basicdata.member.profile.service.dto; | ... | @@ -2,6 +2,7 @@ package com.topdraw.business.basicdata.member.profile.service.dto; |
2 | 2 | ||
3 | import lombok.Data; | 3 | import lombok.Data; |
4 | 4 | ||
5 | import javax.persistence.Column; | ||
5 | import java.io.Serializable; | 6 | import java.io.Serializable; |
6 | import java.sql.Timestamp; | 7 | import java.sql.Timestamp; |
7 | 8 | ||
... | @@ -19,6 +20,9 @@ public class MemberProfileDTO implements Serializable { | ... | @@ -19,6 +20,9 @@ public class MemberProfileDTO implements Serializable { |
19 | // 会员id | 20 | // 会员id |
20 | private Long memberId; | 21 | private Long memberId; |
21 | 22 | ||
23 | // 手机号 | ||
24 | private String phone; | ||
25 | |||
22 | // 姓名 | 26 | // 姓名 |
23 | private String realname; | 27 | private String realname; |
24 | 28 | ... | ... |
... | @@ -47,6 +47,7 @@ public class RestTemplateClient { | ... | @@ -47,6 +47,7 @@ public class RestTemplateClient { |
47 | String content = JSON.toJSONString(dataSyncMsg); | 47 | String content = JSON.toJSONString(dataSyncMsg); |
48 | HashMap<Object, Object> objectObjectHashMap = new HashMap<>(); | 48 | HashMap<Object, Object> objectObjectHashMap = new HashMap<>(); |
49 | objectObjectHashMap.put("content", content); | 49 | objectObjectHashMap.put("content", content); |
50 | log.info("===>>>" + content); | ||
50 | restTemplate.postForEntity(url, objectObjectHashMap, String.class); | 51 | restTemplate.postForEntity(url, objectObjectHashMap, String.class); |
51 | /* ResponseEntity<String> responseEntity = restTemplate.postForEntity(url, objectObjectHashMap, String.class); | 52 | /* ResponseEntity<String> responseEntity = restTemplate.postForEntity(url, objectObjectHashMap, String.class); |
52 | if (responseEntity.getStatusCode().is2xxSuccessful()) { | 53 | if (responseEntity.getStatusCode().is2xxSuccessful()) { | ... | ... |
... | @@ -60,15 +60,11 @@ spring: | ... | @@ -60,15 +60,11 @@ spring: |
60 | timeout: 5000 | 60 | timeout: 5000 |
61 | rabbitmq: | 61 | rabbitmq: |
62 | host: 47.100.212.170 # rabbitmq的连接地址 | 62 | host: 47.100.212.170 # rabbitmq的连接地址 |
63 | # host: 122.112.214.149 # rabbitmq的连接地址 | 63 | #host: 139.196.192.242 # rabbitmq的连接地址 |
64 | #host: 139.196.192.242 # rabbitmq的连接地址 | ||
65 | port: 5672 # rabbitmq的连接端口号 | 64 | port: 5672 # rabbitmq的连接端口号 |
66 | #virtual-host: /member_center # rabbitmq的虚拟host | 65 | virtual-host: / # rabbitmq的虚拟host |
67 | #username: member_center # rabbitmq的用户名 | 66 | username: test # rabbitmq的用户名 |
68 | #password: Tjlh@2021 # rabbitmq的密码 | 67 | password: test # rabbitmq的密码 |
69 | virtual-host: test # rabbitmq的虚拟host | ||
70 | username: omo_test # rabbitmq的用户名 | ||
71 | password: omo_test # rabbitmq的密码 | ||
72 | publisher-confirms: true #如果对异步消息需要回调必须设置为true | 68 | publisher-confirms: true #如果对异步消息需要回调必须设置为true |
73 | 69 | ||
74 | #jwt。依赖的common中有需要jwt的部分属性。 | 70 | #jwt。依赖的common中有需要jwt的部分属性。 | ... | ... |
-
Please register or sign in to post a comment