feat: 支持vip转移

This commit is contained in:
xiaojunnuo
2024-09-23 14:04:33 +08:00
parent e85b4da2e3
commit 361e8fe7ae
12 changed files with 104 additions and 55 deletions
@@ -46,7 +46,7 @@ export async function GetObj(id: any) {
* @returns {*}
* @constructor
*/
export function getPermissionIds(roleId: any) {
export async function getPermissionIds(roleId: any) {
return await request({
url: apiPrefix + "/getPermissionIds",
method: "post",
@@ -61,7 +61,7 @@ export function getPermissionIds(roleId: any) {
* @returns {*}
* @constructor
*/
export function DoAuthz(roleId: any, permissionIds: any) {
export async function DoAuthz(roleId: any, permissionIds: any) {
return await request({
url: apiPrefix + "/authz",
method: "post",