同步数据调整会局域网87

This commit is contained in:
aixianling
2022-12-15 10:41:59 +08:00
parent f7a0502ab1
commit 5316234edf

View File

@@ -18,9 +18,9 @@ const getFileInfo = (app, file) => {
}
const saveApps = app => {
if (app.list.length > 0) {
axios.post("http://dvcp.sinoecare.net/node/wechatapps/addOrUpdate", app).then(res => {
if (res?.code == 0) chalkTag.done("产品库目录已同步至后台数据库...")
}).catch(() => 0).finally(() => fsExtra.outputJson('src/config.json', {apps: app.list}))
axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app).then(res => {
if (res?.data?.code == 0) chalkTag.done("产品库目录已同步至后台数据库...")
}).catch(err => 0).finally(() => fsExtra.outputJson('src/config.json', {apps: app.list}))
}
}
const start = () => {