MerchantRoleController.java
1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package cn.com.glsx.merchants.controller;
import cn.com.glsx.framework.rop.response.RopResponse;
import cn.com.glsx.merchants.request.example.LoginRequest;
import cn.com.glsx.merchants.response.LoginResponse;
import cn.com.glsx.merchants.service.MerchantRoleService;
import com.rop.annotation.NeedInSessionType;
import com.rop.annotation.ServiceMethod;
import com.rop.annotation.ServiceMethodBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @author zhouhaibao
* @version 1.0
* @description: 角色管理接口
* @date 2021/7/13 10:00
*/
@Api("角色管理接口")
@ServiceMethodBean(version = "1.0.0", needInSession = NeedInSessionType.YES)
public class MerchantRoleController {
@Autowired
private MerchantRoleService roleService;
/**
*
* @param request
* @return
*/
@ServiceMethod(method = "org.ore.api.role.list", needInSession = NeedInSessionType.YES)
@ApiOperation("角色管理获取列表接口")
public RopResponse<LoginResponse> getRoleList(LoginRequest request) {
return RopResponse.success(null);
}
}