提交
This commit is contained in:
parent
19b46c235e
commit
37830158a0
|
|
@ -5,7 +5,7 @@ import { decryptRouteMap } from "../system/routeMap";
|
|||
* @returns {Promise} 用户信息
|
||||
*/
|
||||
export const getUserInfo = async () => {
|
||||
const res = await HttpRequest.get('/userInfo');
|
||||
const res = await HttpRequest.get('/get_userInfo');
|
||||
if (res.status == 1) {
|
||||
let userInfo = res.data;
|
||||
if (userInfo.other != null && userInfo.other != undefined) {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@ onLoad(async () => {
|
|||
if (config.buildVersion == "105") {
|
||||
navigateTo('/pages/news/news');
|
||||
} else {
|
||||
navigateTo('/pages/other/user-agreement');
|
||||
uni.reLaunch({
|
||||
url: '/pages/other/user-agreement'
|
||||
})
|
||||
}
|
||||
});
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user