REQ-2097: 添加日志

This commit is contained in:
yanglin 2024-01-30 18:02:48 +08:00
parent 226dfefcc4
commit 57896d0336
2 changed files with 4 additions and 24 deletions

View File

@ -15,27 +15,3 @@ spring:
#指定激活环境
profiles:
active: ${NACOS_PROFILES_ACTIVE:dev}
---
#测试环境
spring:
config:
activate:
on-profile: test
cloud:
nacos:
config:
server-addr: ${NACOS_HOST:test-nacos.axzo.cn}:${NACOS_PORT:80}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID:f3c0f0d2-bac4-4498-bee7-9c3636b3afdf}
---
#预发布环境
spring:
config:
activate:
on-profile: pre
cloud:
nacos:
config:
server-addr: ${NACOS_HOST:https://pre-nacos.axzo.cn}:${NACOS_PORT:443}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID:8b4cf725-7595-4c92-b2a6-9260a51ce078}

View File

@ -30,6 +30,10 @@ class PendingMessageNewServiceTest {
@Test
@Commit
void foo() {
String jsonStr = "{\"msgId\":null,\"subBizCode\":\"202401301728000000030\",\"hideSeconds\":null}\n";
SetHideRequest req = JSON.parseObject(jsonStr, SetHideRequest.class);
Boolean b = pendingMessageNewService.setHide(req);
System.out.println();
//SetHideRequest req = new SetHideRequest();
//req.setSubBizCode("08345cb9-669a-11ee-8d91-02550a00001f");
//pendingMessageNewService.setHide(req);