feat(用户): 用户身份接口路径修改

This commit is contained in:
tianfeng 2025-09-05 11:09:55 +08:00
parent 74c281f337
commit 72bd2832fe
2 changed files with 3 additions and 3 deletions

View File

@ -58,8 +58,8 @@ export function userBankSearchUserProfile(type, account) {
* @param {string} userId - 用户ID
* @returns {Promise} 返回用户身份权限信息
*/
export function getUserIdentity(userId) {
return get(`/app/h5/${userId}/identity`)
export function getUserIdentity() {
return get(`/app/h5/identity`)
}
/**

View File

@ -187,7 +187,7 @@ class IdentityChecker {
try {
console.debug('🔍 Checking user identity for:', userId)
const response = await getUserIdentity(userId)
const response = await getUserIdentity()
if (response && response.status && response.body) {
const identity = response.body