Explorar el Código

角色api添加注释

lfeish hace 1 año
padre
commit
837ce01a19
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/api/system/role.ts

+ 2 - 2
src/api/system/role.ts

@@ -143,7 +143,7 @@ export function getFeaturePermissions() {
 
 
 /**
- * v4: 获取自己拥有的和自己创建的角色
+ * v4: 获取自己拥有的和自己创建的角色(分页)
  */
 export function getRolesPage(params: RolePageRequest) {
   return http.request<RolePageResponse>({
@@ -154,7 +154,7 @@ export function getRolesPage(params: RolePageRequest) {
 }
 
 /**
- * v4: 获取自己拥有和自己创建的角色
+ * v4: 获取自己拥有和自己创建的角色(全量)
  */
 export function getRoles() {
   return http.request<Role[]>({