修改bug

This commit is contained in:
yangjun 2024-12-26 13:24:21 +08:00
parent e1cbeecf8b
commit 7cc33aa937
11 changed files with 32 additions and 32 deletions

View File

@ -52,7 +52,7 @@
INSERT INTO kc_messagelistcopy ( touser, template_id, tourl, firstdata, remarkdata,keyword1, keyword2, keyword3, scheduleddatetime ) SELECT
bd.openid,
'KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys',
'https://zxkccx.webvpn.nenu.edu.cn/index',
'https://smartedu.nenu.edu.cn',
CONCAT( kt.skjs, '老师,您有课程即将开始:' ),
'',
kcmc,
@ -96,7 +96,7 @@
INSERT INTO kc_messagelistcopy ( touser, template_id, tourl, firstdata, remarkdata, keyword1, keyword2, keyword3, scheduleddatetime ) SELECT
bd.openid,-- touser:oak6lwA02iVyBKrVSok4uUpzeBmY
'PDS1hf6s8P5Ce-SFa9J95XvHhMIGlyhITAGq_CIoNMM',-- template_id:KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys
'https://zxkccx.webvpn.nenu.edu.cn/index',-- tourl:https://zxkccx.webvpn.nenu.edu.cn/index
'https://smartedu.nenu.edu.cn',-- tourl:https://smartedu.nenu.edu.cn
CONCAT( xk.xm, '同学,您明天的课程安排如下:' ),-- firstdata:吴一凡同学,您明天的课程安排如下:
'',-- remarkdata:
concat(-- keyword1:2022-12-20 星期二
@ -144,7 +144,7 @@
INSERT INTO kc_messagelistcopy ( touser, template_id, tourl, firstdata, remarkdata, keyword1, keyword2, keyword3, scheduleddatetime ) SELECT
bd.openid,-- touser:oak6lwAa1epMAgwQziF2K9yBkiLE
'PDS1hf6s8P5Ce-SFa9J95XvHhMIGlyhITAGq_CIoNMM',-- template_id:KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys
'https://zxkccx.webvpn.nenu.edu.cn/index',-- tourl:https://zxkccx.webvpn.nenu.edu.cn/index
'https://smartedu.nenu.edu.cn',-- tourl:https://smartedu.nenu.edu.cn
CONCAT( kt.skjs, '老师,您明天的课程安排如下:' ),-- firstdata:张靖波老师,您明天的课程安排如下:
'',-- remarkdata:
concat(-- keyword1:2022-12-20 星期二

View File

@ -44,7 +44,7 @@ public class WechartSendmessageTask extends BaseSync {
// private static final String templateId = "KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys";//东师
private static final String templateId = "cFD7lyjpppIZUB9ipuGjkjZr9ED-BhJZ7bw3ILaFgbg";//测试
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn/";
/**
* 若参数变量名修改 QuartzJobController中也需对应修改
*/

View File

@ -42,7 +42,7 @@
0,
bd.openid,
'KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys',
'https://zxkccx.webvpn.nenu.edu.cn',
'https://smartedu.nenu.edu.cn',
CONCAT( kt.skjs, '老师,您有课程即将开始:' ),
'',
kcmc,
@ -75,7 +75,7 @@
0,
bd.openid,
'KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys',
'https://zxkccx.webvpn.nenu.edu.cn',
'https://smartedu.nenu.edu.cn',
CONCAT( xk.xm, '同学,您明天的课程安排如下:' ),
'',
concat( '2022-12-20',
@ -110,7 +110,7 @@
0,
bd.openid,
'KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys',
'https://zxkccx.webvpn.nenu.edu.cn',
'https://smartedu.nenu.edu.cn',
CONCAT( kt.skjs, '老师,您明天的课程安排如下:' ),
'',
concat( '2022-12-20',

View File

@ -112,7 +112,7 @@ public class KcWechatSendLogController extends JeecgController<KcWechatSendLog,
private static final String appIdSecret = "6Qhnge3xfzAQMDX2TcjEyE0vUGP96hP9OTYUsYBze2Y";//东师
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn";

View File

@ -175,7 +175,7 @@ public class KcEvaluationServiceImpl extends ServiceImpl<KcEvaluationMapper, KcE
private static final String templateId = "KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys";//东师
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn";
/**
* 发送微信通知

View File

@ -461,7 +461,7 @@ public class WjxWjxxController extends JeecgController<WjxWjxx, IWjxWjxxService>
private static final String appIdSecret = "6Qhnge3xfzAQMDX2TcjEyE0vUGP96hP9OTYUsYBze2Y";//东师
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn";
public void sendWxmessage(KcWechatSendLog kcWechatSendLog) {
String openId = kcWechatSendLog.getOpenid();//曹老师账号

View File

@ -627,7 +627,7 @@ public class WjxWjxxServiceImpl extends ServiceImpl<WjxWjxxMapper, WjxWjxx> impl
private static final String appIdSecret = "6Qhnge3xfzAQMDX2TcjEyE0vUGP96hP9OTYUsYBze2Y";//东师
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn";
public void sendWxmessage(KcWechatSendLog kcWechatSendLog) {
String openId = kcWechatSendLog.getOpenid();//曹老师账号

View File

@ -337,14 +337,14 @@ public class ZyInfoController extends JeecgController<ZyInfo, IZyInfoService> {
zyDbtx.setFbr(user.getUsername());
zyDbtxService.save(zyDbtx);
// try {
// KcWechatSendLog kcWechatSendLog = new KcWechatSendLog();
// kcWechatSendLog.setOpenid(xxhbbks.getXh());
// kcWechatSendLog.setYtkcs(zyDbtx.getContent());
// sendWxmessage(kcWechatSendLog);
// } catch (Exception e) {
// e.printStackTrace();
// }
try {
KcWechatSendLog kcWechatSendLog = new KcWechatSendLog();
kcWechatSendLog.setOpenid(xxhbbks.getXh());
kcWechatSendLog.setYtkcs(zyDbtx.getContent());
sendWxmessage(kcWechatSendLog);
} catch (Exception e) {
e.printStackTrace();
}
}
}
@ -833,7 +833,7 @@ public class ZyInfoController extends JeecgController<ZyInfo, IZyInfoService> {
private static final String appIdSecret = "6Qhnge3xfzAQMDX2TcjEyE0vUGP96hP9OTYUsYBze2Y";//东师
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn";
public void sendWxmessage(KcWechatSendLog kcWechatSendLog) {
String openId = kcWechatSendLog.getOpenid();//曹老师账号

View File

@ -257,7 +257,7 @@ public class ZyInfoServiceImpl extends ServiceImpl<ZyInfoMapper, ZyInfo> impleme
private static final String appIdSecret = "6Qhnge3xfzAQMDX2TcjEyE0vUGP96hP9OTYUsYBze2Y";//东师
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn";
public void sendWxmessage(KcWechatSendLog kcWechatSendLog) {
String openId = kcWechatSendLog.getOpenid();//曹老师账号

View File

@ -370,9 +370,9 @@ public class ZyInfoStudentServiceImpl extends ServiceImpl<ZyInfoStudentMapper, Z
//外网查重及提交检测
if(StringUtils.equals(zyInfo.getWwcc(),"true")){
wwccSave(zyInfoStudent,response);
}
// if(StringUtils.equals(zyInfo.getWwcc(),"true")){
// wwccSave(zyInfoStudent,response);
// }
// //内网查重及提交检测
// if(StringUtils.equals(zyInfo.getNwcc(),"true")){
// nwccSave(zyInfoStudent,response);
@ -453,12 +453,12 @@ public class ZyInfoStudentServiceImpl extends ServiceImpl<ZyInfoStudentMapper, Z
}
private void delSysweipulunwen(ZyInfoStudent zyInfoStudent, HttpServletResponse response) {
zyInfoStudent.setQueryType("0");//外网查重数据
String paperids = baseMapper.getWpFile(zyInfoStudent);
if(StringUtils.isNotEmpty(paperids)){
String url = "https://vims.fanyu.com/toole/jianceorgan/paperdel.aspx";
delWpFile(url,paperids, response);
}
// zyInfoStudent.setQueryType("0");//外网查重数据
// String paperids = baseMapper.getWpFile(zyInfoStudent);
// if(StringUtils.isNotEmpty(paperids)){
// String url = "https://vims.fanyu.com/toole/jianceorgan/paperdel.aspx";
// delWpFile(url,paperids, response);
// }
// zyInfoStudent.setQueryType("1");//内网查重数据-作业内查重
// Map<String,String> paperids1 = baseMapper.getXfwWpFile(zyInfoStudent);
// if(paperids1 != null){

View File

@ -38,12 +38,12 @@ public class WxgzhController {
private static final String templateId = "KtWw0lwQ8FOgJdKgrmya0eoafGkMfMN8ECdZs8oSJys";//东师
// 微信申请的域名(提前准备)
private static final String domain = "https://zxkccx.webvpn.nenu.edu.cn/wxpay";
private static final String domain = "https://smartedu.nenu.edu.cn/wxpay";
// 自定义跳转方法
private static final String redirectMethod = "/weixinoauth";
//微信通知点击后跳转的页面
private static final String domainTo = "https://zxkccx.webvpn.nenu.edu.cn";
private static final String domainTo = "https://smartedu.nenu.edu.cn";
@Autowired
private IKcBdgxbcopyService kcBdgxbcopyService;