🎨 修改文件位置

This commit is contained in:
fuhou 2024-02-07 00:12:49 +08:00
parent 97260dcb6e
commit b34cfd017f
6 changed files with 6 additions and 39 deletions

View File

@ -13,9 +13,9 @@
overdueAdvent 计算临期/超期天数
### 消息推送类
1 wxMod 微信公众号模板消息推送
wxMod.WxRequestController 微信请求本服务接口 用于验证
wxMod.WxSendMsgController 微信公众号发送消息(用于消息模板类的消息推送通知)
1 wx 微信公众号模板消息推送
wx.WxRequestController 微信请求本服务接口 用于验证
wx.WxSendMsgController 微信公众号发送消息(用于消息模板类的消息推送通知)
前提:需要提前准备一个微信公众号,个人订阅号无效,可申请注册微信测试号
2 mail 邮件发送工具。由于依赖停止维护,请谨慎使用

View File

@ -6,7 +6,7 @@ import utils.*;
import utils.page.PageHelper;
import utils.page.PageResp;
import utils.response.VoResult;
import wxMod.WxSendMsgController;
import wx.WxSendMsgController;
import java.io.File;
import java.io.FileInputStream;
@ -45,22 +45,6 @@ public class Test {
System.out.println(timeOverdueAdventPojo);
}
/**
* 发送公众号模板消息
* wxMod 使用演示
*/
public static void wxTest(){
WxSendMsgController.sendMsgMod("标题", "内容");
}
/**
* 邮件发送
* mail 使用演示
*/
public static void mailTest() throws Exception {
Mail.sendMail("发件地址","密钥","收件地址","标题", "内容");
}
/**
* AES/CBC/PKCS7Padding 加解密
* CryptoUtils 使用演示 文件加密/解密

View File

@ -28,17 +28,6 @@
<artifactId>mysql-connector-java</artifactId>
<version>8.0.33</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
<version>3.14.8</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-meta-extensions</artifactId>
<version>3.14.8</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-codegen-maven</artifactId>

View File

@ -15,12 +15,6 @@ public class FeiShu {
private static final RestTemplate restTemplate = new RestTemplate();
public static void main(String[] args) {
//cardMsg("飞书机器人发送地址","测试标题", "测试内容");
//cardMsg("飞书机器人发送地址","测试标题", "测试内容", "click me :兔子:", "http://www.fuhouyin.com");
}
/**
* 卡片消息-带按钮
* @param hearTitle 标题

View File

@ -1,4 +1,4 @@
package wxMod;
package wx;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

View File

@ -1,4 +1,4 @@
package wxMod;
package wx;
import com.alibaba.fastjson2.JSONObject;
import org.springframework.web.bind.annotation.PostMapping;