查看问题
This commit is contained in:
@@ -5,6 +5,7 @@ let apps = {list: [], desc: "用于产品库主页面获取应用使用", type:
|
|||||||
const saveApps = app => {
|
const saveApps = app => {
|
||||||
if (app.list.length > 0) {
|
if (app.list.length > 0) {
|
||||||
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 => {
|
||||||
|
console.log(res)
|
||||||
if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...")
|
if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...")
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
chalkTag.error(err)
|
chalkTag.error(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user