pages/api/common/common.js
@@ -1,11 +1,5 @@ import md5 from '@/static/js/md5.js' let network = uni.getStorageSync('Network') let baseUrl = '' if (network) { baseUrl = `http://${network[0].ip}:${network[0].port}/${network[0].address}` } console.log(network); async function onLogin(user) { let _this = this, item = {};