对接驿站
This commit is contained in:
parent
84cd8d93af
commit
a0a3c0cafe
|
|
@ -11,6 +11,7 @@ module.exports = {
|
|||
// baseUrl: 'http://192.168.2.69:58080',//董高文
|
||||
// baseUrl: 'http://192.168.0.44:58080',//董高文
|
||||
// baseUrl: 'http://192.168.2.83:58080',//盛旭
|
||||
// baseUrl: 'http://192.168.1.102:58080',//测试
|
||||
// #endif
|
||||
// #ifdef APP-PLUS
|
||||
// baseUrl: 'http://192.168.2.47:58080',
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getCodeImg } from '@/api/login'
|
||||
import { getCodeImg,getInfoNewAPI } from '@/api/login'
|
||||
import AES from '@/utils/aes'
|
||||
import Cookies from "js-cookie";
|
||||
export default {
|
||||
|
|
@ -176,10 +176,17 @@ export default {
|
|||
// 登录成功后,处理函数
|
||||
loginSuccess(result) {
|
||||
// 设置用户信息
|
||||
getInfoNewAPI({'custId':uni.getStorageSync('custId'),"sourceType":7}).then(result => {
|
||||
console.log(result)
|
||||
uni.setStorageSync('openId', result.data.openid,{expires:90})
|
||||
uni.setStorageSync('placeId', result.data.placeId,{expires:90})
|
||||
})
|
||||
this.$tab.reLaunch('/pages/system')
|
||||
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/system'
|
||||
// })
|
||||
this.$tab.reLaunch('/pages/system')
|
||||
|
||||
},
|
||||
// 记住密码
|
||||
rememberPassword(e) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>智慧后勤</title><script src=https://res.wx.qq.com/open/js/jweixin-1.1.0.js></script><script>document.addEventListener('DOMContentLoaded', function() {
|
||||
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
|
||||
})</script><link rel=stylesheet href=./static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.e640480a.js></script><script src=./static/js/index.469f5329.js></script></body></html>
|
||||
})</script><link rel=stylesheet href=./static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.e640480a.js></script><script src=./static/js/index.cfb225f7.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue