edit
This commit is contained in:
23
src/app/routes/menu-manager/services/menu-manager.service.ts
Normal file
23
src/app/routes/menu-manager/services/menu-manager.service.ts
Normal file
@ -0,0 +1,23 @@
|
||||
import { Injectable, Injector } from '@angular/core';
|
||||
import { BaseService } from '@shared';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class MenuManagerService extends BaseService {
|
||||
// 新增/更新菜单
|
||||
$api_add_one = `/scm/cuc/cuc/functionInfo/saveFunctionInfo`;
|
||||
|
||||
// 根据应用ID获取所有菜单
|
||||
$api_get_all = `/scm/cuc/cuc/functionInfo/getAllFunctionInfoByAppId`;
|
||||
|
||||
// 根据i18n和应用ID获取菜单
|
||||
$api_get_one = `/scm/cuc/cuc/functionInfo/getFunctionsInfoByI18n?_allow_badcode=true`;
|
||||
|
||||
// 删除多个菜单
|
||||
$api_del_many = `/scm/cuc/cuc/functionInfo/deletebatchFunctionInfo`;
|
||||
|
||||
constructor(public injector: Injector) {
|
||||
super(injector);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user