RpcServiceImpl.java 524 字节
Newer Older
zlt2000's avatar
zlt2000 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
package org.zlt.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.zlt.service.RpcService;

/**
 * @author zlt
 * @date 2020/1/30
 * <p>
 * Blog: https://zlt2000.gitee.io
 * Github: https://github.com/zlt2000
 */
@Slf4j
@DubboService(protocol = "dubbo")
public class RpcServiceImpl implements RpcService {
    @Override
    public String test(String param) {
        log.info("==============RpcServiceImpl");
        return "dubbo service: " + param;
    }
}