node服务线上设置
This commit is contained in:
		| @@ -26,9 +26,11 @@ const getFileInfo = (app, file) => { | |||||||
| } | } | ||||||
| const saveApps = app => { | const saveApps = app => { | ||||||
|   if (app.list.length > 0) { |   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("产品库目录已同步至后台数据库...") |       if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...") | ||||||
|     }).catch(() => 0) |     }).catch(err => { | ||||||
|  |       console.log(err) | ||||||
|  |     }) | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user