mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-30 01:46:18 +08:00
add group manage
This commit is contained in:
@@ -129,11 +129,12 @@ public class Register extends HttpServlet {
|
|||||||
ps = conn.prepareStatement("UPDATE `operators` SET wechat=? WHERE wechat=?");
|
ps = conn.prepareStatement("UPDATE `operators` SET wechat=? WHERE wechat=?");
|
||||||
ps.setString(1, u.getWechatId());
|
ps.setString(1, u.getWechatId());
|
||||||
ps.setString(2, old);
|
ps.setString(2, old);
|
||||||
if (ps.executeUpdate() == 1) {
|
ps.executeUpdate();
|
||||||
|
WxMpServlet.instance.wxMpService
|
||||||
|
.userUpdateGroup(u.getWechatId(), 100L);
|
||||||
WxMpServlet.instance.wxMpService.customMessageSend(WxMpCustomMessage.TEXT().toUser(u.getWechatId()).content("数据转换成功").build());
|
WxMpServlet.instance.wxMpService.customMessageSend(WxMpCustomMessage.TEXT().toUser(u.getWechatId()).content("数据转换成功").build());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} catch (SQLException | WxErrorException e) {
|
} catch (SQLException | WxErrorException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user