From 1d5b60515b80cf400b214a5f565792c212fe6f2e Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 28 三月 2024 13:52:12 +0800 Subject: [PATCH] Merge branch 'demo' of http://47.97.1.152:5880/r/wms_app into demo --- pages/api/common/common.js | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/pages/api/common/common.js b/pages/api/common/common.js index 67a13a7..4b3f3b1 100644 --- a/pages/api/common/common.js +++ b/pages/api/common/common.js @@ -1,8 +1,5 @@ import md5 from '@/static/js/md5.js' -let network = uni.getStorageSync('Network') -let baseUrl = `http://${network[0].ip}:${network[0].port}/${network[0].address}` - async function onLogin(user) { let _this = this, item = {}; @@ -13,6 +10,7 @@ password: md5.hex_md5(user.password) }, }).then((result) => { + console.log(result); result = result.data if (result.code === 200 && result.data.token) { uni.setStorageSync('token', result.data.token); -- Gitblit v1.9.1