Helius
2020-07-01 e09e66d3b3a74a8e8f178378e139f7f0e33f6225
src/main/java/com/xcong/excoin/modules/agent/controller/AgentController.java
@@ -66,4 +66,13 @@
        agentService.resetPwd(id);
        return new FebsResponse().success();
    }
    @PostMapping("edit")
    @RequiresPermissions("agent:edit")
    @ControllerEndpoint(operation = "修改代理商", exceptionMessage = "修改代理商失败")
    public FebsResponse edit(@Valid AgentUser agentUser) {
        User user = getCurrentUser();
        agentService.editAgent(agentUser, user);
        return new FebsResponse().success();
    }
}