diff --git a/miaosha-admin/miaosha-admin-api/src/main/java/com/geekq/admin/service/ILogininfoService.java b/miaosha-admin/miaosha-admin-api/src/main/java/com/geekq/admin/service/ILogininfoService.java index 9f3ecfd..c306ed4 100644 --- a/miaosha-admin/miaosha-admin-api/src/main/java/com/geekq/admin/service/ILogininfoService.java +++ b/miaosha-admin/miaosha-admin-api/src/main/java/com/geekq/admin/service/ILogininfoService.java @@ -2,10 +2,10 @@ package com.geekq.admin.service; import com.geekq.admin.entity.Logininfo; import com.geekq.common.utils.resultbean.ResultGeekQ; +import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; - public interface ILogininfoService { /** diff --git a/miaosha-admin/miaosha-admin-service/src/main/java/com/geekq/admin/service/impl/LogininfoServiceImpl.java b/miaosha-admin/miaosha-admin-service/src/main/java/com/geekq/admin/service/impl/LogininfoServiceImpl.java index 5007045..1c7371a 100644 --- a/miaosha-admin/miaosha-admin-service/src/main/java/com/geekq/admin/service/impl/LogininfoServiceImpl.java +++ b/miaosha-admin/miaosha-admin-service/src/main/java/com/geekq/admin/service/impl/LogininfoServiceImpl.java @@ -23,7 +23,7 @@ import java.util.Map; /** * @author 邱润泽 */ -@Service +@Service("logininfoServiceImpl") public class LogininfoServiceImpl implements ILogininfoService { private static final Logger logger = LoggerFactory.getLogger(LogininfoServiceImpl.class); diff --git a/miaosha-admin/miaosha-admin-service/src/main/resources/spring/applicationContext-dubbo-provider.xml b/miaosha-admin/miaosha-admin-service/src/main/resources/spring/applicationContext-dubbo-provider.xml index f63d872..1ff5cc8 100644 --- a/miaosha-admin/miaosha-admin-service/src/main/resources/spring/applicationContext-dubbo-provider.xml +++ b/miaosha-admin/miaosha-admin-service/src/main/resources/spring/applicationContext-dubbo-provider.xml @@ -10,12 +10,15 @@ - + - + - + + +