|
@@ -3,11 +3,13 @@ package com.gree.mall.manager.controller.policy;
|
|
|
import cn.hutool.core.lang.TypeReference;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
+import com.github.binarywang.wxpay.exception.WxPayException;
|
|
|
import com.gree.mall.manager.annotation.ZfireList;
|
|
|
import com.gree.mall.manager.bean.policy.*;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
|
import com.gree.mall.manager.helper.ResponseHelper;
|
|
|
import com.gree.mall.manager.logic.policy.AgreementLogic;
|
|
|
+import com.gree.mall.manager.logic.websit.SettlementOrderLogic;
|
|
|
import com.gree.mall.manager.plus.entity.Mailbox;
|
|
|
import com.gree.mall.manager.plus.entity.MailboxSendRecord;
|
|
|
import com.gree.mall.manager.plus.entity.MailboxSendRecordPolicy;
|
|
@@ -35,6 +37,9 @@ public class MailboxController {
|
|
|
@Autowired
|
|
|
private AgreementLogic agreementLogic;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ SettlementOrderLogic settlementOrderLogic;
|
|
|
+
|
|
|
|
|
|
@PostMapping("/detail")
|
|
|
@ApiOperation("邮箱配置详情")
|
|
@@ -166,4 +171,11 @@ public class MailboxController {
|
|
|
return ResponseHelper.success();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "测试过期提醒")
|
|
|
+ @PostMapping("task8")
|
|
|
+ public ResponseHelper task8() throws IOException, MessagingException, WxPayException {
|
|
|
+ settlementOrderLogic.sync();
|
|
|
+ return ResponseHelper.success();
|
|
|
+ }
|
|
|
+
|
|
|
}
|