mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-29 08:05:04 +08:00
general users should not receive failed messages
This commit is contained in:
@@ -134,6 +134,8 @@ public class Register extends HttpServlet {
|
|||||||
.userUpdateGroup(u.getWechatId(), 100L);
|
.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;
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
} catch (SQLException | WxErrorException e) {
|
} catch (SQLException | WxErrorException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
47
src/main/resources/menu-op.json
Normal file
47
src/main/resources/menu-op.json
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"button": [
|
||||||
|
{
|
||||||
|
"name": "我要",
|
||||||
|
"sub_button": [
|
||||||
|
{
|
||||||
|
"type": "click",
|
||||||
|
"name": "提交报修",
|
||||||
|
"key": "SUBMIT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "click",
|
||||||
|
"name": "查询报修",
|
||||||
|
"key": "QUERY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "click",
|
||||||
|
"name": "撤销报修",
|
||||||
|
"key": "CANCEL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "click",
|
||||||
|
"name": "修改资料",
|
||||||
|
"key": "PROFILE"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "OP",
|
||||||
|
"sub_button": [
|
||||||
|
{
|
||||||
|
"type": "click",
|
||||||
|
"name": "网维资料",
|
||||||
|
"key": "OPERATOR_INFO"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "click",
|
||||||
|
"name": "后台登录",
|
||||||
|
"key": "LOGIN"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"matchrule": {
|
||||||
|
"group_id": "100",
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user