提交dubbo

This commit is contained in:
qiurunze123 2019-01-24 23:23:26 +08:00
parent 6482bed88a
commit a7315c1fca
3 changed files with 8 additions and 5 deletions

View File

@ -2,10 +2,10 @@ package com.geekq.admin.service;
import com.geekq.admin.entity.Logininfo; import com.geekq.admin.entity.Logininfo;
import com.geekq.common.utils.resultbean.ResultGeekQ; import com.geekq.common.utils.resultbean.ResultGeekQ;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
public interface ILogininfoService { public interface ILogininfoService {
/** /**

View File

@ -23,7 +23,7 @@ import java.util.Map;
/** /**
* @author 邱润泽 * @author 邱润泽
*/ */
@Service @Service("logininfoServiceImpl")
public class LogininfoServiceImpl implements ILogininfoService { public class LogininfoServiceImpl implements ILogininfoService {
private static final Logger logger = LoggerFactory.getLogger(LogininfoServiceImpl.class); private static final Logger logger = LoggerFactory.getLogger(LogininfoServiceImpl.class);

View File

@ -18,4 +18,7 @@
<dubbo:service retries="3" interface="com.geekq.admin.service.OrdersService" <dubbo:service retries="3" interface="com.geekq.admin.service.OrdersService"
ref="ordersService" timeout="6000"></dubbo:service> ref="ordersService" timeout="6000"></dubbo:service>
<dubbo:service retries="3" interface="com.geekq.admin.service.ILogininfoService"
ref="logininfoServiceImpl" timeout="6000"></dubbo:service>
</beans> </beans>