接入小程序

This commit is contained in:
2026-01-16 16:06:41 +08:00
parent 8f4ba999d8
commit 19cd48a495

View File

@@ -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('✅ 菜单创建成功');