重试
This commit is contained in:
@@ -7,7 +7,7 @@ const saveApps = app => {
|
|||||||
return axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => {
|
return axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => {
|
||||||
if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...")
|
if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...")
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
chalkTag.error(err)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user