1
0
forked from dyf/APP

自动更新,从多个接口更新,避免单一的接口挂掉了无法更新

This commit is contained in:
liub
2025-09-19 13:46:33 +08:00
parent 482a47bd4f
commit 1cd9853f2f
4 changed files with 136 additions and 87 deletions

View File

@ -1,5 +1,5 @@
import config from '../config/index.js';
const env = 'production'; //production development //开发of线上 改这里就行
const env = 'development'; //production development //开发of线上 改这里就行
const BASE = config[env];
const request = (options) => {
console.log("options"+JSON.stringify(options),BASE.BASE_URL)