|
|
|
@ -40,6 +40,11 @@ public class BeanConsumeController { |
|
|
|
@Autowired |
|
|
|
private TranslationService translationService; |
|
|
|
|
|
|
|
//获取角色的权限 |
|
|
|
@PostMapping("/getRoleChannel") |
|
|
|
public Result getRoleChannel(@RequestBody Integer roleId){ |
|
|
|
return Result.success(beanConsumeService.getRoleChannel(roleId)); |
|
|
|
} |
|
|
|
//获取消费用户分部信息 |
|
|
|
@PostMapping("/getDept") |
|
|
|
public Result getDept(@RequestHeader(defaultValue = "zh_CN") String lang){ |
|
|
|
|