|
@@ -1,7 +1,8 @@
|
|
const ui = require('./ui');
|
|
const ui = require('./ui');
|
|
- const BASE_URL = 'https://www.dghdwy.cn/monitor'
|
|
|
|
- // const BASE_URL = 'http://119.29.97.109:8080/monitor'
|
|
|
|
-
|
|
|
|
|
|
+ const BASE_URL = 'https://www.dghdwy.cn/monitor/api/erp1/we'
|
|
|
|
+ // const BASE_URL = 'http://119.29.97.109:8080/monitor/api/erp1/we'
|
|
|
|
+
|
|
|
|
+
|
|
function request(obj) {
|
|
function request(obj) {
|
|
return new Promise(function(resolve, reject) {
|
|
return new Promise(function(resolve, reject) {
|
|
if(obj.showLoading){
|
|
if(obj.showLoading){
|