소스 검색

Merge tag 'refs/tags/jenkins-back-end-3317' into SiChuan

release
release_toaliyun_real
Stormeye Wu 6 년 전
부모
커밋
774b28c3dd
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -0
      mallinkAdmin/src/main/java/com/iformall/config/ShiroConfig.java
  2. +3
    -2
      mallinkAdmin/src/main/java/com/iformall/controller/msg/WxMsgRecordController.java

+ 3
- 0
mallinkAdmin/src/main/java/com/iformall/config/ShiroConfig.java 파일 보기

@@ -115,6 +115,9 @@ public class ShiroConfig {
filterChainDefinitionMap.put("/carCallback/**", "anon"); filterChainDefinitionMap.put("/carCallback/**", "anon");
filterChainDefinitionMap.put("/wxMallApply/sendvalidationcode", "anon"); filterChainDefinitionMap.put("/wxMallApply/sendvalidationcode", "anon");


// 补发消息
filterChainDefinitionMap.put("/msgrecord/resendMsg", "anon");

// static files // static files
filterChainDefinitionMap.put("/css/**", "anon"); filterChainDefinitionMap.put("/css/**", "anon");
filterChainDefinitionMap.put("/js/**", "anon"); filterChainDefinitionMap.put("/js/**", "anon");


+ 3
- 2
mallinkAdmin/src/main/java/com/iformall/controller/msg/WxMsgRecordController.java 파일 보기

@@ -62,10 +62,11 @@ public class WxMsgRecordController extends BaseController {
* @return * @return
*/ */
@GetMapping(value = "/resendMsg") @GetMapping(value = "/resendMsg")
public ResultData resendMsg(String x, Integer msgType) {
public ResultData resendMsg(String x, String tenantId, Integer msgType) {
logger.debug("[" + getIpAddr() + "] WxMsgRecordController::resendMsg"); logger.debug("[" + getIpAddr() + "] WxMsgRecordController::resendMsg");
if("xll1dxx1314".equals(x)){ if("xll1dxx1314".equals(x)){
TenantEntity tenantEntity = getTenantInfo();
TenantEntity tenantEntity = new TenantEntity();
tenantEntity.setTenantId(tenantId);
WxMsgRecord msgRecord = new WxMsgRecord(); WxMsgRecord msgRecord = new WxMsgRecord();
msgRecord.setMsgType(msgType); msgRecord.setMsgType(msgType);
msgRecord.updateTenantInfo(tenantEntity); msgRecord.updateTenantInfo(tenantEntity);


불러오는 중...
취소
저장