node服务线上设置

This commit is contained in:
2022-11-21 16:39:35 +08:00
parent 3e9f03f4b5
commit b169da6d1b

View File

@@ -26,9 +26,11 @@ const getFileInfo = (app, file) => {
}
const saveApps = app => {
if (app.list.length > 0) {
axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => {
axios.post("http://dvcp.sinoecare.net/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => {
if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...")
}).catch(() => 0)
}).catch(err => {
console.log(err)
})
}
}