Commit 0d59302a authored by luzhuang's avatar luzhuang

通知权限接口测试,调节日志等级

parent 70503703
......@@ -85,7 +85,7 @@ public class MTNotificationApiRequestClient {
* @return
*/
public boolean send(BNotice message, String noticeTitle, String type, String urlType) {
log.debug("------------------------------------BNotice->>>"+message.toString()+"<<<---------------------------------------------");
log.debug("------------------------------------发送通知接口调用参数BNotice->>>"+message.toString()+"<<<---------------------------------------------");
if("dev".equalsIgnoreCase(serverType)) {
return true;
}
......@@ -131,10 +131,11 @@ public class MTNotificationApiRequestClient {
recipientIdList.add(recipientId);
});
HaveJurisdictionReqDTO haveJurisdictionReqDTO = new HaveJurisdictionReqDTO(message.getCorpId(),recipientIdList);
log.debug("----------------------通知-权限验证---------------------"+haveJurisdictionReqDTO);
log.debug("----------------------通知-开始进行权限验证---接口传参haveJurisdictionReqDTO--------》》"+haveJurisdictionReqDTO);
Ret<List<String>> haveJurisList = microappApiRequestClient.haveJurisdictionUserFast(haveJurisdictionReqDTO);
log.debug("----------------------通知-权限验证返回结果----------------------"+haveJurisList.getData());
if (haveJurisList.getData() == null || haveJurisList.getData().size() < 1){
log.error("-----通知权限验证结果为空,通知接口调用失败-----");
return false;
}
List<String> haveJurisAccountIds = new ArrayList<>();
......
......@@ -32,7 +32,7 @@
<logger name="java.sql.PreparedStatement" level="DEBUG"/>
<!-- 日志输出级别 -->
<root level="INFO">
<root level="DEBUG">
<appender-ref ref="STDOUT"/>
<appender-ref ref="FILE"/>
</root>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment