This commit is contained in:
2025-07-05 12:46:44 +08:00
parent ac32eb41e7
commit d5bd068d07
7 changed files with 88 additions and 100 deletions

View File

@@ -182,19 +182,3 @@ export const resetPassword = async (token, password) => {
}
}
/**
* 获取用户临时权限信息
* 路由: /user/temp_privilege
* 方法: GET
*
* 需要登录
* @returns {Promise<Object>} 返回一个包含临时权限信息的Promise对象
*/
export const getTempPrivilege = async () => {
try {
const response = await axiosInstance.get('/user/temp_privilege');
return response.data;
} catch (error) {
throw error;
}
}