module.exports = { BASEURL: BASEURL, Token: getToken, userId: '' }; function BASEURL() { // return 'http://192.168.1.140/api/'; return 'http://112.230.202.146:10081/api/'//生产 } function getToken() { return uni.getStorageSync('token'); }