This commit is contained in:
zpc 2025-06-25 14:39:18 +08:00
parent 19b46c235e
commit 37830158a0
2 changed files with 4 additions and 2 deletions

View File

@ -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) {

View File

@ -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'
})
}
});
/**