Commit eacc8b72 by wangnb

账户体系角色获取调整--think.wang

1 parent 8b7f3152
......@@ -2,7 +2,6 @@ package cn.com.glsx.merchants.controller;
import cn.com.glsx.framework.core.exception.RpcServiceException;
import cn.com.glsx.framework.rop.response.RopResponse;
import cn.com.glsx.merchants.request.accounttype.AccountTypeSearchRequest;
import cn.com.glsx.merchants.request.role.*;
import cn.com.glsx.merchants.response.RoleResponse;
import cn.com.glsx.merchants.service.MerchantRoleService;
......@@ -77,7 +76,7 @@ public class MerchantRoleController {
*/
@ServiceMethod(method = "org.ore.api.role.getById", needInSession = NeedInSessionType.NO)
@ApiOperation("根据id获取角色管理接口")
public RopResponse<RoleResponse> getById(AccountTypeSearchRequest request) {
public RopResponse<RoleResponse> getById(RoleSearchRequest request) {
try {
return RopResponse.success(roleService.getById(request.getId()));
} catch (RpcServiceException e) {
......
......@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
public class RoleSearchRequest extends AbstractRopRequest {
@NotNull
@ApiModelProperty(notes = "id", name = "id", dataType = "Integer", required = true)
@ApiModelProperty(notes = "id", name = "id", dataType = "Integer")
private Integer id;
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!