diff --git a/back/src/assets/WeChatMenu/admin.json b/back/src/assets/WeChatMenu/admin.json index be97c1e..c2f4d62 100644 --- a/back/src/assets/WeChatMenu/admin.json +++ b/back/src/assets/WeChatMenu/admin.json @@ -9,24 +9,19 @@ "url":"https://www.zsxyww.com/wiki" }, { - "type": "click", + "type": "view", "name": "快速报修", - "key": "USER_NEW_TICKET" + "url": "https://wwbx.davisye.cn/repair/new" }, { - "type": "click", + "type": "view", "name": "查看报修", - "key": "USER_QUERY_TICKET" + "url": "https://wwbx.davisye.cn/repair" }, - { - "type": "click", - "name": "撤销报修", - "key": "USER_CANCEL_TICKET" - }, { - "type": "click", + "type": "view", "name": "进入报修系统", - "key": "ADMIN_ENTER_SYSTEM" + "url": "https://wwbx.davisye.cn" } ] @@ -36,24 +31,24 @@ "sub_button": [ { "type":"view", - "name":"查看修理后台", - "url":"https://wts.zsxyww.com/console" + "name":"查看维修后台", + "url":"https://wwbx.davisye.cn/op" }, - { + { "type":"view", "name":"查看管理层后台", - "url":"https://wts.zsxyww.com/admin" + "url":"https://wwbx.davisye.cn/admin" }, { - "type":"click", - "name":"我的资料", - "key":"OP_CHECK_PROFILE" + "type":"view", + "name":"我的排班", + "url":"https://wwbx.davisye.cn/op/scheduler" } - + ] } ], "matchrule": { - "tag_id": "101" - } - } \ No newline at end of file + "tag_id": "100" + } + } diff --git a/back/src/assets/WeChatMenu/default.json b/back/src/assets/WeChatMenu/default.json index b9f146c..1b57d8e 100644 --- a/back/src/assets/WeChatMenu/default.json +++ b/back/src/assets/WeChatMenu/default.json @@ -4,24 +4,19 @@ "name": "快捷操作", "sub_button": [ { - "type": "click", + "type": "view", "name": "我要报修!", - "key": "USER_NEW_TICKET" + "url": "https://wwbx.davisye.cn/repair/new" }, { - "type": "click", + "type": "view", "name": "查看报修", - "key": "USER_QUERY_TICKET" + "url": "https://wwbx.davisye.cn/repair" }, - { - "type": "click", - "name": "撤销报修", - "key": "USER_CANCEL_TICKET" - }, { "type": "view", "name": "使用攻略", - "url": "https://wts.zsxyww.com/self-service/usage" + "url": "https://wwbx.davisye.cn/help" } ] @@ -30,20 +25,20 @@ "name": "全部功能", "sub_button": [ { - "type": "click", + "type": "view", "name": "进入报修系统", - "key": "USER_ENTER_SYSTEM" + "url": "https://wwbx.davisye.cn" }, { - "type": "click", - "name": "修改个人资料", - "key": "USER_CHECK_PROFILE" + "type": "view", + "name": "查看/修改个人资料", + "url": "https://wwbx.davisye.cn/me" }, { "type": "view", "name": "联系我们", - "url": "https://wts.zsxyww.com/self-service/contact" + "url": "https://wwbx.davisye.cn" } ] @@ -51,7 +46,7 @@ { "type": "view", "name": "关于网维", - "url": "https://wts.zsxyww.com/about" + "url": "https://wwbx.davisye.cn/about" } ] - } \ No newline at end of file + } diff --git a/back/src/assets/WeChatMenu/operators.json b/back/src/assets/WeChatMenu/operators.json index 3985c21..a56c8c1 100644 --- a/back/src/assets/WeChatMenu/operators.json +++ b/back/src/assets/WeChatMenu/operators.json @@ -9,24 +9,19 @@ "url":"https://www.zsxyww.com/wiki" }, { - "type": "click", + "type": "view", "name": "快速报修", - "key": "USER_NEW_TICKET" + "url": "https://wwbx.davisye.cn/repair/new" }, { - "type": "click", + "type": "view", "name": "查看报修", - "key": "USER_QUERY_TICKET" + "url": "https://wwbx.davisye.cn/repair" }, - { - "type": "click", - "name": "撤销报修", - "key": "USER_CANCEL_TICKET" - }, { - "type": "click", + "type": "view", "name": "进入报修系统", - "key": "OP_ENTER_SYSTEM" + "url": "https://wwbx.davisye.cn" } ] @@ -35,14 +30,14 @@ "name": "后台", "sub_button": [ { - "type":"click", + "type":"view", "name":"查看后台", - "key":"OP_ENTER_CONSOLE" + "url":"https://wwbx.davisye.cn/op" }, { - "type":"click", - "name":"我的资料", - "key":"OP_CHECK_PROFILE" + "type":"view", + "name":"我的排班", + "url":"https://wwbx.davisye.cn/op/scheduler" } ] @@ -51,4 +46,4 @@ "matchrule": { "tag_id": "100" } - } \ No newline at end of file + }