MerchantRoleController.java 1.17 KB
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);
    }

}