Commit b9dae3ed by zhouhb

[+]代码回退

1 parent 61e3a283
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.MerchantAccountTypeService;
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 MerchantAccountTypeController {
@Autowired
private MerchantAccountTypeService accountTypeService;
/**
*
* @param request
* @return
*/
@ServiceMethod(method = "org.ore.api.account.list", needInSession = NeedInSessionType.YES)
@ApiOperation("登录")
public RopResponse<LoginResponse> getAccountList(LoginRequest request) {
return RopResponse.success(null);
}
}
......@@ -6,7 +6,7 @@ import lombok.Data;
/**
* @author zhouhaibao
* @version 1.0
* @description: TODO
* @description: 登录信息
* @date 2021/7/16 16:50
*/
@Data
......
package cn.com.glsx.merchants.service;
import cn.com.glsx.merchants.remote.MerchantAccountTypeRemote;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
* @author zhouhaibao
* @version 1.0
* @description: 账户类型service
* @date 2021/7/12 17:00
*/
@Slf4j
@Service
public class MerchantAccountTypeService {
@Resource
private MerchantAccountTypeRemote merchantAccountTypeRemote;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!