diff --git a/server2.js b/server2.js index 9a8a231..0aedcde 100755 --- a/server2.js +++ b/server2.js @@ -297,16 +297,19 @@ async function createMenu() { "name": "加入我们", "url": "https://www.zhipin.com/gongsi/job/d1e30046e726d2d01nN72Ni4EFQ~.html?ka=all-jobs-hot" }, - { - "type": "view", - "name": "运维招工", - "url": "https://zp.satabot.com/" + // { + // "type": "miniprogram", + // "appid": "wx3aefa617dcb7220f", + // "pagepath": "pages/index/index", + // "name": "运维招工", + // "url": "https://zp.satabot.com/" - } + // } ] } ] }; + console.log(menuData, 'menuData'); const res = await axios.post(url, menuData); if (res.data.errcode === 0) { console.log('✅ 菜单创建成功');