From f3462e39cc4a3000cc7e4efc6960da9866ebae58 Mon Sep 17 00:00:00 2001 From: xiaoxiamo <82970607@qq.com> Date: Mon, 22 Jul 2024 23:52:25 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=A7=84=E8=8C=83=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=EF=BC=88=E5=9B=9B=EF=BC=89=EF=BC=9A=E6=B8=85=E7=90=86?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E5=AF=BC=E5=85=A5=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/java3y/austin/handler/handler/BaseHandler.java | 1 - .../java3y/austin/handler/handler/impl/SmsHandler.java | 5 ++++- .../web/controller/AlipayMiniProgramController.java | 8 +++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/austin-handler/src/main/java/com/java3y/austin/handler/handler/BaseHandler.java b/austin-handler/src/main/java/com/java3y/austin/handler/handler/BaseHandler.java index 125dbae..1125222 100644 --- a/austin-handler/src/main/java/com/java3y/austin/handler/handler/BaseHandler.java +++ b/austin-handler/src/main/java/com/java3y/austin/handler/handler/BaseHandler.java @@ -1,6 +1,5 @@ package com.java3y.austin.handler.handler; -import cn.hutool.core.date.DateUtil; import com.java3y.austin.common.domain.AnchorInfo; import com.java3y.austin.common.domain.TaskInfo; import com.java3y.austin.common.enums.AnchorState; diff --git a/austin-handler/src/main/java/com/java3y/austin/handler/handler/impl/SmsHandler.java b/austin-handler/src/main/java/com/java3y/austin/handler/handler/impl/SmsHandler.java index 68f140c..e445209 100644 --- a/austin-handler/src/main/java/com/java3y/austin/handler/handler/impl/SmsHandler.java +++ b/austin-handler/src/main/java/com/java3y/austin/handler/handler/impl/SmsHandler.java @@ -24,7 +24,10 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.stereotype.Component; -import java.util.*; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Random; /** * 短信发送处理 diff --git a/austin-web/src/main/java/com/java3y/austin/web/controller/AlipayMiniProgramController.java b/austin-web/src/main/java/com/java3y/austin/web/controller/AlipayMiniProgramController.java index a574471..a97d0f6 100644 --- a/austin-web/src/main/java/com/java3y/austin/web/controller/AlipayMiniProgramController.java +++ b/austin-web/src/main/java/com/java3y/austin/web/controller/AlipayMiniProgramController.java @@ -1,10 +1,12 @@ package com.java3y.austin.web.controller; -import cn.binarywang.wx.miniapp.api.WxMaService; import cn.hutool.http.HttpUtil; import com.alipay.api.AlipayClient; +import com.alipay.api.domain.AlipayOpenMiniMessageTemplateBatchqueryModel; import com.alipay.api.domain.MerchantMsgTemplateVO; +import com.alipay.api.request.AlipayOpenMiniMessageTemplateBatchqueryRequest; +import com.alipay.api.response.AlipayOpenMiniMessageTemplateBatchqueryResponse; import com.google.common.base.Throwables; import com.java3y.austin.common.constant.SendChanelUrlConstant; import com.java3y.austin.common.dto.account.AlipayMiniProgramAccount; @@ -19,15 +21,11 @@ import com.java3y.austin.web.vo.amis.CommonAmisVo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; -import me.chanjar.weixin.common.bean.subscribemsg.TemplateInfo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -import com.alipay.api.request.AlipayOpenMiniMessageTemplateBatchqueryRequest; -import com.alipay.api.response.AlipayOpenMiniMessageTemplateBatchqueryResponse; -import com.alipay.api.domain.AlipayOpenMiniMessageTemplateBatchqueryModel; import java.util.ArrayList; import java.util.List;