同步数据调整会局域网87
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user