Compare commits
3 Commits
0bfbfb510e
...
ff022d0e90
Author | SHA1 | Date |
---|---|---|
|
ff022d0e90 | |
|
d4f50f3433 | |
|
2d23012c0f |
|
@ -4,8 +4,15 @@
|
|||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/bwie-modules/bwie-alipay/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="ignoredFiles">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$/bwie-modules/bwie-slide/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/bwie-modules/bwie-xxl/pom.xml" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
</project>
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,4 @@
|
|||
<changelist name="Uncommitted_changes_before_Update_at_2024_5_2_19_15_[Changes]" date="1714648529424" recycled="false" toDelete="true">
|
||||
<option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2024_5_2_19_15_[Changes]/shelved.patch" />
|
||||
<option name="DESCRIPTION" value="Uncommitted changes before Update at 2024/5/2 19:15 [Changes]" />
|
||||
</changelist>
|
|
@ -0,0 +1,419 @@
|
|||
2024-04-28 16:05:01,563 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 16:05:02,035 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0
|
||||
2024-04-28 16:05:02,086 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 25 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 16:05:02,112 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 9 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 16:05:02,125 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 16:05:02,128 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:05:02,132 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 16:05:02,138 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 16:05:02,146 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 16:05:02,147 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:05:02,147 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 16:05:02,148 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$464/0x0000026f203a9ed0
|
||||
2024-04-28 16:05:02,148 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$465/0x0000026f203aa0f0
|
||||
2024-04-28 16:05:02,148 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 16:05:02,149 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 16:05:02,154 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 16:05:03,046 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714291502295_114.95.173.7_54517
|
||||
2024-04-28 16:05:03,047 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Notify connected event to listeners.
|
||||
2024-04-28 16:05:03,048 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 16:05:03,048 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [dbf08289-9c67-4b69-8f4c-2a8e0965020c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x0000026f204e38c0
|
||||
2024-04-28 16:05:03,128 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:05:03,141 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:05:03,156 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay-dev.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:05:03,156 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 16:05:03,162 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 16:05:03,215 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Zhifupay' for bean class [com.bwie.alipay.utils.service.AlipayWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.AlipayWay]
|
||||
2024-04-28 16:05:03,237 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
|
||||
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Zhifupay' for bean class [com.bwie.alipay.utils.service.AlipayWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.AlipayWay]
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
|
||||
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
|
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
|
||||
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:17)
|
||||
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Zhifupay' for bean class [com.bwie.alipay.utils.service.AlipayWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.AlipayWay]
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:349)
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:287)
|
||||
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
|
||||
... 13 common frames omitted
|
||||
2024-04-28 16:05:03,238 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 16:05:03,238 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 16:05:03,238 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 16:05:03,238 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 16:06:10,334 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 16:06:10,813 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0
|
||||
2024-04-28 16:06:10,851 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 19 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 16:06:10,874 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 14 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 16:06:10,880 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 16:06:10,882 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:06:10,888 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 16:06:10,896 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 16:06:10,904 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 16:06:10,905 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:06:10,906 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 16:06:10,906 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$464/0x00000272013a9220
|
||||
2024-04-28 16:06:10,907 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$465/0x00000272013a9440
|
||||
2024-04-28 16:06:10,907 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 16:06:10,908 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 16:06:10,913 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 16:06:11,718 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714291570976_114.95.173.5_64797
|
||||
2024-04-28 16:06:11,719 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Notify connected event to listeners.
|
||||
2024-04-28 16:06:11,719 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 16:06:11,719 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0dfe1dd2-edc7-4a67-b541-943546784bd6_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x00000272014e2b58
|
||||
2024-04-28 16:06:11,816 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:06:11,841 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:06:11,859 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 16:06:11,870 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 16:06:11,914 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Zhifupay' for bean class [com.bwie.alipay.utils.service.AlipayWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.AlipayWay]
|
||||
2024-04-28 16:06:11,931 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
|
||||
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Zhifupay' for bean class [com.bwie.alipay.utils.service.AlipayWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.AlipayWay]
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
|
||||
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
|
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
|
||||
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:17)
|
||||
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Zhifupay' for bean class [com.bwie.alipay.utils.service.AlipayWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.AlipayWay]
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:349)
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:287)
|
||||
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
|
||||
... 13 common frames omitted
|
||||
2024-04-28 16:06:11,932 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 16:06:11,932 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 16:06:11,932 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 16:06:11,932 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 16:09:02,501 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 16:09:02,931 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of a09db6bb-c099-4be4-b15d-09a768d5e502_config-0
|
||||
2024-04-28 16:09:02,975 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 25 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 16:09:03,003 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 13 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 16:09:03,023 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 17 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 16:09:03,024 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:09:03,029 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 16:09:03,037 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 16:09:03,043 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 16:09:03,046 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:09:03,047 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 16:09:03,047 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$464/0x000001a5013a9bf8
|
||||
2024-04-28 16:09:03,047 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$465/0x000001a5013a9e18
|
||||
2024-04-28 16:09:03,048 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 16:09:03,048 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 16:09:03,056 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 16:09:03,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714291743154_114.95.172.254_50017
|
||||
2024-04-28 16:09:03,936 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Notify connected event to listeners.
|
||||
2024-04-28 16:09:03,937 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 16:09:03,939 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a09db6bb-c099-4be4-b15d-09a768d5e502_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x000001a5014e38c0
|
||||
2024-04-28 16:09:04,069 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:09:04,093 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:09:04,132 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 16:09:04,146 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 16:09:04,193 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Wechpay' for bean class [com.bwie.alipay.utils.service.Wechpay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.Wechpay]
|
||||
2024-04-28 16:09:04,210 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
|
||||
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Wechpay' for bean class [com.bwie.alipay.utils.service.Wechpay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.Wechpay]
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
|
||||
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
|
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
|
||||
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:17)
|
||||
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Wechpay' for bean class [com.bwie.alipay.utils.service.Wechpay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.Wechpay]
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:349)
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:287)
|
||||
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
|
||||
... 13 common frames omitted
|
||||
2024-04-28 16:09:04,212 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 16:09:04,212 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 16:09:04,212 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 16:15:00,636 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 16:15:01,095 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0
|
||||
2024-04-28 16:15:01,134 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 19 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 16:15:01,153 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 16:15:01,164 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 10 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 16:15:01,165 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:15:01,174 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 9 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 16:15:01,181 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 16:15:01,187 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 16:15:01,188 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:15:01,189 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 16:15:01,190 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$464/0x000001ff15378b08
|
||||
2024-04-28 16:15:01,191 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$465/0x000001ff15378d28
|
||||
2024-04-28 16:15:01,191 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 16:15:01,192 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 16:15:01,196 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 16:15:01,971 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714292101229_114.95.172.254_65271
|
||||
2024-04-28 16:15:01,974 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Notify connected event to listeners.
|
||||
2024-04-28 16:15:01,975 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 16:15:01,976 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [19d4d766-2e7b-4bb3-a21d-8d196cc6a82f_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x000001ff154d22e8
|
||||
2024-04-28 16:15:02,076 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:15:02,089 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:15:02,104 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 16:15:02,120 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 16:15:02,470 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
|
||||
java.lang.IllegalArgumentException: Fallback factory must produce instances of fallback classes that implement the interface annotated by @FeignClient
|
||||
at org.springframework.util.Assert.isTrue(Assert.java:121)
|
||||
at org.springframework.cloud.openfeign.FeignClientsRegistrar.validateFallbackFactory(FeignClientsRegistrar.java:88)
|
||||
at org.springframework.cloud.openfeign.FeignClientsRegistrar.validate(FeignClientsRegistrar.java:266)
|
||||
at org.springframework.cloud.openfeign.FeignClientsRegistrar.registerFeignClient(FeignClientsRegistrar.java:239)
|
||||
at org.springframework.cloud.openfeign.FeignClientsRegistrar.registerFeignClients(FeignClientsRegistrar.java:202)
|
||||
at org.springframework.cloud.openfeign.FeignClientsRegistrar.registerBeanDefinitions(FeignClientsRegistrar.java:151)
|
||||
at org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86)
|
||||
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:396)
|
||||
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
|
||||
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:395)
|
||||
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:157)
|
||||
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:129)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:343)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
|
||||
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
|
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
|
||||
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:17)
|
||||
2024-04-28 16:15:02,472 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 16:15:02,472 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 16:15:02,473 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 16:15:02,473 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 16:15:31,923 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 16:15:32,354 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0
|
||||
2024-04-28 16:15:32,391 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 18 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 16:15:32,409 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 16:15:32,416 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 16:15:32,417 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:15:32,430 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 16:15:32,436 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 16:15:32,443 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 16:15:32,444 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 16:15:32,445 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 16:15:32,445 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$464/0x000002711e3a9bf8
|
||||
2024-04-28 16:15:32,446 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$465/0x000002711e3a9e18
|
||||
2024-04-28 16:15:32,446 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 16:15:32,446 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 16:15:32,452 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 16:15:33,229 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714292132484_114.95.172.249_65303
|
||||
2024-04-28 16:15:33,230 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Notify connected event to listeners.
|
||||
2024-04-28 16:15:33,231 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 16:15:33,232 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f68e4aab-8748-4e37-ab80-e28c7e9d8077_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x000002711e4e38c0
|
||||
2024-04-28 16:15:33,332 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:15:33,344 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 16:15:33,365 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 16:15:33,381 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 16:15:33,878 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 16:15:33,882 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 16:15:33,904 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 6 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 16:15:34,119 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=3fa509a4-6c1e-3012-9449-bdcebe782b4d
|
||||
2024-04-28 16:15:34,371 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 16:15:34,373 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 16:15:34,374 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$643/0x000002711e6920e0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 16:15:34,375 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 16:15:34,399 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 16:15:34,404 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 16:15:34,576 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 108] Tomcat initialized with port(s): 9090 (http)
|
||||
2024-04-28 16:15:34,583 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Initializing ProtocolHandler ["http-nio-9090"]
|
||||
2024-04-28 16:15:34,583 INFO [main] o.a.catalina.core.StandardService [DirectJDKLog.java : 173] Starting service [Tomcat]
|
||||
2024-04-28 16:15:34,583 INFO [main] o.a.catalina.core.StandardEngine [DirectJDKLog.java : 173] Starting Servlet engine: [Apache Tomcat/9.0.56]
|
||||
2024-04-28 16:15:34,683 INFO [main] o.a.c.c.C.[Tomcat].[localhost].[/] [DirectJDKLog.java : 173] Initializing Spring embedded WebApplicationContext
|
||||
2024-04-28 16:15:34,683 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 290] Root WebApplicationContext: initialization completed in 1285 ms
|
||||
2024-04-28 16:15:34,897 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 16:15:34,901 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 16:15:34,938 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 16:15:34,938 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 16:15:35,192 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 16:15:36,181 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 16:15:36,285 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 55c05d2c-8118-48d2-8988-7c77cfd4ef61
|
||||
2024-04-28 16:15:36,287 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 16:15:36,288 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 16:15:36,288 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 16:15:36,288 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 16:15:36,289 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 16:15:36,422 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714292135749_114.95.172.249_65304
|
||||
2024-04-28 16:15:36,422 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 16:15:36,422 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Notify connected event to listeners.
|
||||
2024-04-28 16:15:36,422 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x000002711e4e38c0
|
||||
2024-04-28 16:15:36,459 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Starting ProtocolHandler ["http-nio-9090"]
|
||||
2024-04-28 16:15:36,466 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 220] Tomcat started on port(s): 9090 (http) with context path ''
|
||||
2024-04-28 16:15:36,484 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP bwie-alipay 192.168.88.1:9090 register finished
|
||||
2024-04-28 16:15:36,615 INFO [main] com.bwie.alipay.AlipayApplication [StartupInfoLogger.java : 61] Started AlipayApplication in 5.111 seconds (JVM running for 5.73)
|
||||
2024-04-28 16:15:37,042 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Receive server push request, request = NotifySubscriberRequest, requestId = 188
|
||||
2024-04-28 16:15:37,045 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [55c05d2c-8118-48d2-8988-7c77cfd4ef61] Ack server push request, request = NotifySubscriberRequest, requestId = 188
|
||||
2024-04-28 18:37:21,836 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 18:37:21,836 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 18:37:21,846 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 18:37:21,849 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 18:37:22,005 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 90] De-registering from Nacos Server now...
|
||||
2024-04-28 18:37:22,017 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 110] De-registration finished.
|
||||
2024-04-28 18:37:22,355 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 18:37:22,356 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@1a20e48c[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 18:37:22,356 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714292135749_114.95.172.249_65304
|
||||
2024-04-28 18:37:22,360 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@7e549802[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 1704]
|
||||
2024-04-28 18:37:22,361 WARN [SpringApplicationShutdownHook] o.s.b.f.s.DisposableBeanAdapter [DisposableBeanAdapter.java : 328] Custom destroy method 'close' on bean with name 'nacosServiceRegistry' threw an exception: java.lang.NullPointerException: Cannot invoke "com.alibaba.nacos.api.naming.NamingService.shutDown()" because "this.namingService" is null
|
||||
2024-04-28 18:37:22,364 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
||||
2024-04-28 21:07:47,974 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 21:07:48,462 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 8e051c1f-f214-46cb-91a7-1444e869383c_config-0
|
||||
2024-04-28 21:07:48,511 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 20 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 21:07:48,536 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 21:07:48,545 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 21:07:48,546 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:07:48,551 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 21:07:48,557 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 21:07:48,564 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 21:07:48,565 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:07:48,566 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 21:07:48,566 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$464/0x000001e81c3a8fc8
|
||||
2024-04-28 21:07:48,566 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$465/0x000001e81c3a91e8
|
||||
2024-04-28 21:07:48,567 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 21:07:48,567 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 21:07:48,572 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:07:49,495 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714309668577_114.95.172.249_60917
|
||||
2024-04-28 21:07:49,495 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Notify connected event to listeners.
|
||||
2024-04-28 21:07:49,495 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:07:49,497 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [8e051c1f-f214-46cb-91a7-1444e869383c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x000001e81c4e2b58
|
||||
2024-04-28 21:07:49,567 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:07:49,578 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:07:49,595 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 21:07:49,608 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 21:07:49,652 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Alipay' for bean class [com.bwie.alipay.utils.service.UnionWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.service.AlipayWay]
|
||||
2024-04-28 21:07:49,673 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
|
||||
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.bwie.alipay.AlipayApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Alipay' for bean class [com.bwie.alipay.utils.service.UnionWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.service.AlipayWay]
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
|
||||
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
|
||||
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
|
||||
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
|
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
|
||||
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:14)
|
||||
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'Alipay' for bean class [com.bwie.alipay.utils.service.UnionWay] conflicts with existing, non-compatible bean definition of same name and class [com.bwie.alipay.utils.service.AlipayWay]
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:349)
|
||||
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:287)
|
||||
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
|
||||
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
|
||||
... 13 common frames omitted
|
||||
2024-04-28 21:07:49,675 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 21:07:49,675 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 21:07:49,675 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 21:07:49,675 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 21:08:06,234 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 21:08:06,686 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of eba59e51-b0db-4fe6-b451-9f608de1405c_config-0
|
||||
2024-04-28 21:08:06,733 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 24 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 21:08:06,755 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 21:08:06,761 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 21:08:06,764 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:08:06,770 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 21:08:06,777 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 21:08:06,782 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 21:08:06,784 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:08:06,784 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 21:08:06,785 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$464/0x000001cd813a8b08
|
||||
2024-04-28 21:08:06,785 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$465/0x000001cd813a8d28
|
||||
2024-04-28 21:08:06,785 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 21:08:06,786 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 21:08:06,791 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:08:07,589 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714309686648_114.95.173.5_60948
|
||||
2024-04-28 21:08:07,590 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Notify connected event to listeners.
|
||||
2024-04-28 21:08:07,591 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:08:07,593 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [eba59e51-b0db-4fe6-b451-9f608de1405c_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x000001cd814e22e8
|
||||
2024-04-28 21:08:07,677 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:08:07,688 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:08:07,708 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 21:08:07,720 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 21:08:08,161 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 21:08:08,163 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 21:08:08,180 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 6 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 21:08:08,416 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=273a9c70-dbbb-30c7-9499-33a879f109c3
|
||||
2024-04-28 21:08:08,678 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:08:08,681 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:08:08,681 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$643/0x000001cd816920e0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:08:08,682 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:08:08,715 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:08:08,728 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:08:08,958 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 108] Tomcat initialized with port(s): 9090 (http)
|
||||
2024-04-28 21:08:08,968 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Initializing ProtocolHandler ["http-nio-9090"]
|
||||
2024-04-28 21:08:08,969 INFO [main] o.a.catalina.core.StandardService [DirectJDKLog.java : 173] Starting service [Tomcat]
|
||||
2024-04-28 21:08:08,969 INFO [main] o.a.catalina.core.StandardEngine [DirectJDKLog.java : 173] Starting Servlet engine: [Apache Tomcat/9.0.56]
|
||||
2024-04-28 21:08:09,070 INFO [main] o.a.c.c.C.[Tomcat].[localhost].[/] [DirectJDKLog.java : 173] Initializing Spring embedded WebApplicationContext
|
||||
2024-04-28 21:08:09,071 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 290] Root WebApplicationContext: initialization completed in 1340 ms
|
||||
2024-04-28 21:08:09,318 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 21:08:09,321 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:08:09,351 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 21:08:09,352 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:08:09,616 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 21:08:10,729 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 21:08:10,839 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 895124bf-a5c9-4fed-8727-d50a30d77009
|
||||
2024-04-28 21:08:10,839 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 21:08:10,841 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 21:08:10,841 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 21:08:10,842 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 21:08:10,842 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:08:10,989 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714309690122_114.95.172.249_60951
|
||||
2024-04-28 21:08:10,989 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:08:10,989 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Notify connected event to listeners.
|
||||
2024-04-28 21:08:10,990 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$479/0x000001cd814e22e8
|
||||
2024-04-28 21:08:11,022 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Starting ProtocolHandler ["http-nio-9090"]
|
||||
2024-04-28 21:08:11,039 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 220] Tomcat started on port(s): 9090 (http) with context path ''
|
||||
2024-04-28 21:08:11,055 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP bwie-alipay 192.168.88.1:9090 register finished
|
||||
2024-04-28 21:08:11,212 INFO [main] com.bwie.alipay.AlipayApplication [StartupInfoLogger.java : 61] Started AlipayApplication in 5.423 seconds (JVM running for 6.054)
|
||||
2024-04-28 21:08:11,608 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Receive server push request, request = NotifySubscriberRequest, requestId = 251
|
||||
2024-04-28 21:08:11,612 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [895124bf-a5c9-4fed-8727-d50a30d77009] Ack server push request, request = NotifySubscriberRequest, requestId = 251
|
||||
2024-04-28 21:52:23,414 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 21:52:23,414 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 21:52:23,415 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 21:52:23,415 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 21:52:23,482 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 90] De-registering from Nacos Server now...
|
||||
2024-04-28 21:52:23,490 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 110] De-registration finished.
|
||||
2024-04-28 21:52:23,824 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 21:52:23,825 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@13af6869[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 21:52:23,825 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714309690122_114.95.172.249_60951
|
||||
2024-04-28 21:52:23,826 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@43ea1031[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 538]
|
||||
2024-04-28 21:52:23,827 WARN [SpringApplicationShutdownHook] o.s.b.f.s.DisposableBeanAdapter [DisposableBeanAdapter.java : 328] Custom destroy method 'close' on bean with name 'nacosServiceRegistry' threw an exception: java.lang.NullPointerException: Cannot invoke "com.alibaba.nacos.api.naming.NamingService.shutDown()" because "this.namingService" is null
|
||||
2024-04-28 21:52:23,828 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
|
@ -0,0 +1,28 @@
|
|||
package com.bwie;
|
||||
|
||||
import com.bwie.common.handler.GlobalExceptionHandle;
|
||||
import com.bwie.common.redis.RedisCache;
|
||||
|
||||
import com.bwie.common.remote.system.RemoteUserService;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
|
||||
@EnableDiscoveryClient
|
||||
@EnableFeignClients("com.bwie.**")
|
||||
@Import({GlobalExceptionHandle.class, RedisCache.class, RemoteUserService.class})
|
||||
public class AuthApp {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
SpringApplication.run(AuthApp.class,args);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
package com.bwie.auth.controller;
|
||||
|
||||
import com.bwie.auth.service.AuthService;
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
import com.bwie.common.domain.request.PhoneLoginRequest;
|
||||
import com.bwie.common.domain.request.UserReq;
|
||||
import com.bwie.common.domain.request.UserResponse;
|
||||
import com.bwie.common.result.Result;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
@RestController
|
||||
public class AuthController {
|
||||
|
||||
|
||||
private final AuthService authService;
|
||||
|
||||
public AuthController(AuthService authService) {
|
||||
this.authService = authService;
|
||||
}
|
||||
|
||||
/**
|
||||
* 登录
|
||||
* @param loginRequest
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/login")
|
||||
public Result<UserResponse> login(@RequestBody LoginRequest loginRequest){
|
||||
return Result.success(
|
||||
authService.login(loginRequest)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 注册
|
||||
* @param userReq
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/reg")
|
||||
public Result regUser(@RequestBody UserReq userReq){
|
||||
return authService.reg(userReq);
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送验证码
|
||||
* @param userPhone
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/sendCode/{userPhone}")
|
||||
public Result sencCode(@PathVariable("userPhone") String userPhone){
|
||||
return authService.sendCode(userPhone);
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机号登录
|
||||
* @param userPhone
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/sendCode/{userPhone}")
|
||||
public Result sendCode(@PathVariable String userPhone){
|
||||
|
||||
Result result = authService.sencCode(userPhone);
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取验证码
|
||||
* @param phoneLoginRequest
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/phoneLogin")
|
||||
public Result phoneLogin1(@RequestBody PhoneLoginRequest phoneLoginRequest){
|
||||
Result result = authService.phoneLogin(phoneLoginRequest);
|
||||
|
||||
return Result.success(result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户信息
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/info")
|
||||
public Result<User> getInfo(){
|
||||
return Result.success(
|
||||
authService.getInfo()
|
||||
);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.bwie.auth.service;
|
||||
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
import com.bwie.common.domain.request.PhoneLoginRequest;
|
||||
import com.bwie.common.domain.request.UserReq;
|
||||
import com.bwie.common.domain.request.UserResponse;
|
||||
import com.bwie.common.result.Result;
|
||||
|
||||
public interface AuthService {
|
||||
|
||||
|
||||
|
||||
Result reg(UserReq userReq);
|
||||
|
||||
Result sendCode(String userPhone);
|
||||
|
||||
UserResponse login(LoginRequest loginRequest);
|
||||
|
||||
User getInfo();
|
||||
|
||||
Result sencCode(String userPhone);
|
||||
|
||||
Result phoneLogin(PhoneLoginRequest phoneLoginRequest);
|
||||
}
|
|
@ -0,0 +1,159 @@
|
|||
package com.bwie.auth.service.impl;
|
||||
|
||||
import cn.hutool.core.lang.Assert;
|
||||
import cn.hutool.core.util.RandomUtil;
|
||||
import cn.hutool.crypto.SecureUtil;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.bwie.auth.service.AuthService;
|
||||
import com.bwie.common.constant.JwtConstants;
|
||||
import com.bwie.common.constant.TokenConstants;
|
||||
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
|
||||
import com.bwie.common.domain.request.PhoneLoginRequest;
|
||||
import com.bwie.common.domain.request.UserReq;
|
||||
import com.bwie.common.domain.request.UserResponse;
|
||||
import com.bwie.common.redis.RedisCache;
|
||||
import com.bwie.common.remote.system.RemoteUserService;
|
||||
import com.bwie.common.result.BizException;
|
||||
import com.bwie.common.result.Result;
|
||||
import com.bwie.common.utils.JwtUtils;
|
||||
import com.bwie.common.utils.SecurityUtils;
|
||||
import com.bwie.common.utils.StringUtils;
|
||||
import io.jsonwebtoken.Claims;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.StringRedisTemplate;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.HashMap;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
@Service
|
||||
public class AuthServiceImpl implements AuthService {
|
||||
|
||||
@Autowired
|
||||
private RemoteUserService remoteLoginService;
|
||||
|
||||
@Autowired
|
||||
private StringRedisTemplate redisTemplate;
|
||||
|
||||
@Autowired
|
||||
private RedisCache redisCache;
|
||||
|
||||
@Autowired
|
||||
private HttpServletRequest request;
|
||||
|
||||
|
||||
@Override
|
||||
public UserResponse login(LoginRequest loginRequest) {
|
||||
|
||||
Assert.isTrue(
|
||||
!StringUtils.isAnyBlank(loginRequest.getUserPwd(),
|
||||
loginRequest.getUserName()),"账号或密码不能为空"
|
||||
);
|
||||
Result<User> result = remoteLoginService.login(loginRequest);
|
||||
User user = result.getData();
|
||||
Assert.notNull(user,"该账号不是系统用户");
|
||||
|
||||
HashMap<String, Object> map = new HashMap<>();
|
||||
String userKey = UUID.randomUUID().toString().replaceAll("-", "");
|
||||
map.put(JwtConstants.USER_KEY,userKey);
|
||||
map.put(JwtConstants.DETAILS_USERNAME,user.getUserName());
|
||||
map.put(JwtConstants.DETAILS_USER_ID,user.getUserId());
|
||||
String token = JwtUtils.createToken(map);
|
||||
redisCache.setCacheObject(
|
||||
TokenConstants.LOGIN_TOKEN_KEY+userKey,
|
||||
JSON.toJSONString(user),
|
||||
TokenConstants.EXPIRATION,
|
||||
TimeUnit.SECONDS
|
||||
);
|
||||
return UserResponse.builder()
|
||||
.token(token)
|
||||
.expired(TokenConstants.EXPIRATION)
|
||||
.build();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result reg(UserReq userReq) {
|
||||
String password = SecureUtil.md5(userReq.getUserPwd() + "|" +"");
|
||||
Result result = remoteLoginService.register(
|
||||
User.builder()
|
||||
.userName(userReq.getUserName())
|
||||
.userPwd(password)
|
||||
.userPhone(userReq.getUserPhone())
|
||||
.userRole(userReq.getUserRole())
|
||||
.build()
|
||||
);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result sendCode(String userPhone) {
|
||||
Result<User> result = remoteLoginService.findByPhone(userPhone);
|
||||
User user = result.getData();
|
||||
if(null == user){
|
||||
throw new BizException(408,"请先注册手机号");
|
||||
}
|
||||
String code = RandomUtil.randomNumbers(4);
|
||||
redisCache.setCacheObject("Send_sms_"+userPhone,code);
|
||||
|
||||
return Result.success("验证码为:"+code,"发送成功");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Result sencCode(String userPhone) {
|
||||
Result<User> result = remoteLoginService.phoneLogin(userPhone);
|
||||
if(StringUtils.isNull(result.getData())){
|
||||
return Result.error("手机号不存在");
|
||||
}
|
||||
String code = RandomUtil.randomNumbers(4);
|
||||
System.out.println("验证码为:"+code);
|
||||
redisTemplate.opsForValue().set(userPhone,code,5,TimeUnit.MINUTES);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Result phoneLogin(PhoneLoginRequest phoneLoginRequest) {
|
||||
Result<User> result = remoteLoginService.phoneLogin(phoneLoginRequest.getUserPhone());
|
||||
User user = result.getData();
|
||||
if(null==user){
|
||||
return Result.error("手机号不存在");
|
||||
}
|
||||
if(!redisTemplate.hasKey(phoneLoginRequest.getUserPhone())){
|
||||
return Result.error("验证码过期");
|
||||
}
|
||||
String code = redisTemplate.opsForValue().get(phoneLoginRequest.getUserPhone());
|
||||
if(!phoneLoginRequest.getUserCode().equals(code)){
|
||||
return Result.error("验证码错误");
|
||||
}
|
||||
HashMap<String, Object> map = new HashMap<>();
|
||||
String userKey = UUID.randomUUID().toString().replaceAll("-","");
|
||||
map.put(JwtConstants.DETAILS_USERNAME,user.getUserName());
|
||||
map.put(JwtConstants.DETAILS_USER_ID,user.getUserId());
|
||||
map.put(JwtConstants.USER_KEY,userKey);
|
||||
String token = JwtUtils.createToken(map);
|
||||
redisCache.setCacheObject(TokenConstants.LOGIN_TOKEN_KEY, user, TokenConstants.EXPIRATION, TimeUnit.HOURS);
|
||||
|
||||
UserResponse userResponse = new UserResponse();
|
||||
userResponse.setToken(token);
|
||||
userResponse.setExpired(TokenConstants.EXPIRATION);
|
||||
return Result.success(userResponse,"登陆成功");
|
||||
}
|
||||
|
||||
@Override
|
||||
public User getInfo() {
|
||||
String token = request.getHeader(TokenConstants.TOKEN);
|
||||
Claims claims = JwtUtils.parseToken(token);
|
||||
String userKey = JwtUtils.getUserKey(claims);
|
||||
String cacheObject = redisCache.getCacheObject(TokenConstants.LOGIN_TOKEN_KEY + userKey);
|
||||
User user = JSONObject.parseObject(cacheObject, User.class);
|
||||
return user;
|
||||
}
|
||||
}
|
|
@ -110,5 +110,9 @@
|
|||
<artifactId>fastjson2</artifactId>
|
||||
<version>2.0.42</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
@ -2,5 +2,5 @@ package com.bwie.common.constant;
|
|||
|
||||
public class ServerNameConstants {
|
||||
|
||||
public final static String SYSTEM_NAME="bwie-system";
|
||||
public final static String SYSTEM_NAME="bwie-User";
|
||||
}
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 订单表
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("order")
|
||||
|
||||
public class BuyOrder {
|
||||
private Long orderId;
|
||||
private Long userId;
|
||||
private String userPhone;
|
||||
private Integer orderState;
|
||||
private Integer orderInventory;
|
||||
private String orderName;
|
||||
private String orderNumber;
|
||||
private Long attrId;
|
||||
private Long addrId;
|
||||
private BigDecimal orderPrice;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
private Integer isDelete;
|
||||
private String orderAddr;
|
||||
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*商品的属性
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("goods_attr")
|
||||
public class GoodAttr {
|
||||
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;//属性ID
|
||||
@TableField("name")
|
||||
private String name;//属性名称
|
||||
@TableField("search_type")
|
||||
private Integer searchType;//是否需要检索(0.不需要,1.需要)
|
||||
@TableField("icon")
|
||||
private String icon;//属性图标
|
||||
@TableField("value_select")
|
||||
private String valueSelect;//可选值链表(用逗号分隔)
|
||||
@TableField("type")
|
||||
private Integer type;//属性类型[0-销售属性,1-基本属性,2-既是销售属性又是基本属性]
|
||||
@TableField("enable")
|
||||
private Integer enable;//启用状态[0 - 禁用,1 - 启用]
|
||||
@TableField("show_desc")
|
||||
private Integer showDesc;//快速展示【是否展示在介绍上;0-否 1-是】,在sku中仍然可以调整
|
||||
@TableField("category_id")
|
||||
private Long categoryId;//所属分类
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 商品的sku
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("good_sku")
|
||||
public class GoodSku {
|
||||
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;//正常的ID
|
||||
@TableField("spu_id")
|
||||
private Long spuId;//spuId
|
||||
@TableField("name")
|
||||
private String name;//名称
|
||||
@TableField("category_id")
|
||||
private Long categoryId;//类型ID
|
||||
@TableField("default_image")
|
||||
private String defaultImage;//图片
|
||||
@TableField("title")
|
||||
private String title;//标题
|
||||
@TableField("subtitle")
|
||||
private String subTitle;//副标题
|
||||
@TableField("price")
|
||||
private BigDecimal price;
|
||||
@TableField("weight")
|
||||
private Integer weight;
|
||||
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商品的spu
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("goods_spu")
|
||||
public class GoodSpu {
|
||||
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;//物品ID
|
||||
@TableField("name")
|
||||
private String name;//物品名称
|
||||
@TableField("good_sales")
|
||||
private Integer goodSales;//物品销量
|
||||
@TableField("good_inventory")
|
||||
private Integer goodInventory;//物品库存
|
||||
@TableField("category_id")
|
||||
private Long categoryId;//物品类型ID
|
||||
@TableField("publish_status")
|
||||
private Integer publishStatus;//上架状态(0.下架,1.上架)
|
||||
@TableField("keywords")
|
||||
private String keyWords;//关键字
|
||||
@TableField("good_brief")
|
||||
private String goodBrief;//物品简介
|
||||
@TableField("good_unit")
|
||||
private String goodUnit;//物品单位
|
||||
@TableField("good_freight")
|
||||
private Integer goodFreight;//运费模版
|
||||
@TableField("create_time")
|
||||
private Date createTime;//创建时间字段
|
||||
@TableField("update_time")
|
||||
private Date updateTime;//修改时间字段
|
||||
@TableField("is_delete")
|
||||
private Integer isDelete;//逻辑删除字段
|
||||
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 商品的类型
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("goods_category")
|
||||
public class GoodsCateGory {
|
||||
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;//正常的Id
|
||||
@TableField("name")
|
||||
private String name;//名称
|
||||
@TableField("parent_id")
|
||||
private Long parentId;//父类ID
|
||||
@TableField("status")
|
||||
private Long status;//是否显示(0.不显示,1.显示)
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 商品sku的属性名称
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("goods_sku_attr_value")
|
||||
public class GoodsSkuAttrValue {
|
||||
|
||||
@TableField("id")
|
||||
private Long id;//正常主键ID
|
||||
@TableField("skuId")
|
||||
private Long skuId;//skuId
|
||||
@TableField("attrId")
|
||||
private Long attrId;//属性的ID
|
||||
@TableField("attrName")
|
||||
private String attrName;//属性名称
|
||||
@TableField("attrValue")
|
||||
private String attrValue;//属性值
|
||||
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 商品spu的属性名称
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("goods_spu_attr_value")
|
||||
public class GoodsSpuAttrValue {
|
||||
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;//Id
|
||||
@TableField("spu_id")
|
||||
private Long spuId;//商品ID
|
||||
@TableField("attr_id")
|
||||
private Long attrId;//属性ID
|
||||
@TableField("attr_name")
|
||||
private String attrName;//属性名字
|
||||
@TableField("attr_value")
|
||||
private String attrValue;//属性值
|
||||
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
package com.bwie.common.domain;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 添加商品的图片及其图片类型
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("goods_spu_images")
|
||||
public class GoodsSpuImages {
|
||||
@TableField("id")
|
||||
private Long id;//正常主键的ID
|
||||
@TableField("spuId")
|
||||
private Long spuId;//spuId
|
||||
@TableField("url")
|
||||
private String url;//图片的路径
|
||||
@TableField("default_status")
|
||||
private Integer defaultStatus;//(0.封面图,1.轮播图)
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 支付明细表
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("trade")
|
||||
public class PaymentEntity {
|
||||
|
||||
|
||||
private Long tradeId;
|
||||
private String tradeNum;
|
||||
private String ordersNumber;
|
||||
private BigDecimal tradeMoney;
|
||||
private Integer tradeStatus;
|
||||
private String thirdNum;
|
||||
private Integer thirdStatus;
|
||||
private String thirdMessage;
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date backTime;
|
||||
private String tradeType;
|
||||
private Integer isDelete;
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updTime;
|
||||
private Long userId;
|
||||
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
package com.bwie.common.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*登录表
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@TableName("user")
|
||||
public class User {
|
||||
|
||||
|
||||
private Long userId;//用户名Id
|
||||
private String userName;//用户名
|
||||
private String userPwd;//密码
|
||||
private String userPhone;//手机号
|
||||
private Integer userRole;//角色
|
||||
private Integer userGrade;//用户等级
|
||||
private Date createTime;//创建时间
|
||||
private Date updateTime;//修改时间
|
||||
private Integer isDelete;//逻辑删除
|
||||
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
package com.bwie.common.domain.request;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class LoginRequest {
|
||||
|
||||
|
||||
private String userName;
|
||||
private String userPwd;
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
package com.bwie.common.domain.request;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class PhoneLoginRequest {
|
||||
|
||||
private String userPhone;
|
||||
private String userCode;
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
package com.bwie.common.domain.request;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class UserReq {
|
||||
private String userName;
|
||||
/*
|
||||
密码
|
||||
*/
|
||||
private String userPwd;
|
||||
/*
|
||||
手机号
|
||||
*/
|
||||
private String userPhone;
|
||||
/*
|
||||
用户等级()
|
||||
*/
|
||||
private Integer userGrade;
|
||||
/*
|
||||
登陆人身份【0-经纪人 1-用户】
|
||||
*/
|
||||
private Integer userRole;
|
||||
/*
|
||||
入职时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
/*
|
||||
最新修改时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||
private Date updateTime;
|
||||
/*
|
||||
逻辑删除字段
|
||||
*/
|
||||
private Integer isDelete;
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
package com.bwie.common.domain.request;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class UserResponse {
|
||||
|
||||
private String token;
|
||||
private Long expired;
|
||||
}
|
|
@ -1,11 +1,43 @@
|
|||
package com.bwie.common.remote.system;
|
||||
|
||||
import com.bwie.common.constant.ServerNameConstants;
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
import com.bwie.common.remote.system.factory.RemoteUserFactory;
|
||||
import com.bwie.common.result.Result;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@FeignClient(
|
||||
name = ServerNameConstants.SYSTEM_NAME,
|
||||
fallbackFactory = RemoteUserService.class
|
||||
name = "bwie-User",
|
||||
fallbackFactory = RemoteUserFactory.class
|
||||
)
|
||||
public interface RemoteUserService {
|
||||
|
||||
@PostMapping("/login")
|
||||
public Result<User> login(@RequestBody LoginRequest loginRequest);
|
||||
|
||||
|
||||
@PostMapping("/register")
|
||||
public Result register(@RequestBody User user);
|
||||
|
||||
|
||||
@GetMapping("/findByPhone/{userPhone}")
|
||||
public Result<User> findByPhone(@PathVariable("userPhone") String userPhone);
|
||||
|
||||
|
||||
@PostMapping("/phoneLogin/{userPhone}")
|
||||
public Result<User> phoneLogin(@PathVariable("userPhone") String userPhone);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,15 +1,50 @@
|
|||
package com.bwie.common.remote.system.factory;
|
||||
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
import com.bwie.common.remote.system.RemoteUserService;
|
||||
import com.bwie.common.result.Result;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@Component
|
||||
@Log4j2
|
||||
public class RemoteUserFactory implements FallbackFactory<RemoteUserService> {
|
||||
@Override
|
||||
public RemoteUserService create(Throwable cause) {
|
||||
return null;
|
||||
|
||||
return new RemoteUserService() {
|
||||
|
||||
@Override
|
||||
public Result<User> login(@RequestBody LoginRequest loginRequest){
|
||||
log.error("用户登录失败:[{}]",cause.getMessage(),cause);
|
||||
return Result.error(cause.getMessage());
|
||||
}
|
||||
@Override
|
||||
public Result register(@RequestBody User user){
|
||||
log.error("用户登录失败:[{}]",cause.getMessage(),cause);
|
||||
return Result.error(cause.getMessage());
|
||||
}
|
||||
@Override
|
||||
public Result<User> findByPhone(@PathVariable("userPhone") String userPhone){
|
||||
log.error("手机号登录失败:[{}]",cause.getMessage(),cause);
|
||||
return Result.error(cause.getMessage());
|
||||
}
|
||||
@Override
|
||||
public Result<User> phoneLogin(@PathVariable String userPhone){
|
||||
log.error("手机号登录失败:[{}]",cause.getMessage(),cause);
|
||||
return Result.error(cause.getMessage());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
package com.bwie.common.result;
|
||||
|
||||
/**
|
||||
* @ClassName
|
||||
* @Description 描述
|
||||
* @Author XuWen.Luo
|
||||
* @Date
|
||||
*/
|
||||
|
||||
public class BizException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String msg;
|
||||
private int code = 500;
|
||||
|
||||
public BizException(String msg) {
|
||||
super(msg);
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public BizException(String msg, Throwable e) {
|
||||
super(msg, e);
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public BizException(int code, String msg) {
|
||||
super(msg);
|
||||
this.msg = msg;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public BizException(String msg, int code, Throwable e) {
|
||||
super(msg, e);
|
||||
this.msg = msg;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,477 @@
|
|||
2024-04-28 21:45:08,554 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
|
||||
2024-04-28 21:45:08,560 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2024-04-28 21:45:08,561 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2024-04-28 21:45:08,658 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
|
||||
2024-04-28 21:45:08,736 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
|
||||
2024-04-28 21:45:08,748 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3382f8ae, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@60641ec8, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@75f65e45, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@6eeade6c, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4a891c97, org.springframework.test.context.support.DirtiesContextTestExecutionListener@a5bd950, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4d18aa28, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@75390459, org.springframework.test.context.event.EventPublishingTestExecutionListener@7756c3cd, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@2313052e, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@2bd2b28e, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@16746061, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@57fd91c9, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@6cfcd46d, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@52045dbe]
|
||||
2024-04-28 21:45:09,266 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 21:45:09,815 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0
|
||||
2024-04-28 21:45:09,868 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 28 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 21:45:09,903 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 21:45:09,912 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 21:45:09,916 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:45:09,920 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 21:45:09,927 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 21:45:09,932 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 21:45:09,934 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:45:09,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 21:45:09,936 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$709/0x0000018b6139acc8
|
||||
2024-04-28 21:45:09,936 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$710/0x0000018b6139aee8
|
||||
2024-04-28 21:45:09,937 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 21:45:09,937 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 21:45:09,946 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:45:10,787 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714311909844_114.95.173.5_57172
|
||||
2024-04-28 21:45:10,789 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Notify connected event to listeners.
|
||||
2024-04-28 21:45:10,789 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:45:10,790 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$725/0x0000018b61523d48
|
||||
2024-04-28 21:45:10,864 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:45:10,874 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:45:10,891 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 21:45:10,911 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 21:45:11,440 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 21:45:11,442 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 21:45:11,463 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 21:45:11,671 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
|
||||
2024-04-28 21:45:12,055 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:45:12,059 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:45:12,061 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$882/0x0000018b616d38b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:45:12,063 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:45:12,091 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:45:12,094 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:45:12,540 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 21:45:12,547 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:45:12,602 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 21:45:12,603 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:45:13,914 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 21:45:15,892 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 21:45:15,971 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 7fd82d10-ee91-496a-9c29-87756451d453
|
||||
2024-04-28 21:45:15,971 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 21:45:15,973 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 21:45:15,974 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 21:45:15,974 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 21:45:15,975 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:45:16,113 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714311915233_114.95.173.5_57175
|
||||
2024-04-28 21:45:16,114 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Notify connected event to listeners.
|
||||
2024-04-28 21:45:16,114 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:45:16,115 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$725/0x0000018b61523d48
|
||||
2024-04-28 21:45:16,159 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 7.365 seconds (JVM running for 8.403)
|
||||
2024-04-28 21:45:16,542 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 21:45:16,543 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 21:45:16,543 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 21:45:16,543 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 21:45:16,652 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Receive server push request, request = NotifySubscriberRequest, requestId = 256
|
||||
2024-04-28 21:45:16,653 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Ack server push request, request = NotifySubscriberRequest, requestId = 256
|
||||
2024-04-28 21:45:17,132 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 21:45:17,133 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@1b17eb5a[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 21:45:17,133 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714311915233_114.95.173.5_57175
|
||||
2024-04-28 21:45:17,142 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@46419afc[Running, pool size = 7, active threads = 0, queued tasks = 0, completed tasks = 7]
|
||||
2024-04-28 21:45:17,144 INFO [nacos-grpc-client-executor-7] c.a.n.c.r.client.grpc.GrpcClient [LoggerUtils.java : 60] [1714311915233_114.95.173.5_57175]Ignore complete event,isRunning:false,isAbandon=false
|
||||
2024-04-28 21:45:17,146 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
||||
2024-04-28 21:54:12,476 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
|
||||
2024-04-28 21:54:12,480 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2024-04-28 21:54:12,480 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2024-04-28 21:54:12,567 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
|
||||
2024-04-28 21:54:12,641 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
|
||||
2024-04-28 21:54:12,651 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6da00fb9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a202ccb, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@20f12539, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@75b25825, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@18025ced, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13cf7d52, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3a3e4aff, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d2a4eed, org.springframework.test.context.event.EventPublishingTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@78fbff54, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3e10dc6, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7e22550a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@45e37a7e]
|
||||
2024-04-28 21:54:13,104 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 21:54:13,636 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0
|
||||
2024-04-28 21:54:13,678 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 20 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 21:54:13,712 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 15 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 21:54:13,719 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 21:54:13,722 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:54:13,729 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 21:54:13,736 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 21:54:13,742 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 2 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 21:54:13,745 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:54:13,746 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 21:54:13,747 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$714/0x000002372739d500
|
||||
2024-04-28 21:54:13,747 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$715/0x000002372739d720
|
||||
2024-04-28 21:54:13,748 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 21:54:13,748 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 21:54:13,755 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:54:14,544 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312453603_114.95.173.5_53518
|
||||
2024-04-28 21:54:14,544 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Notify connected event to listeners.
|
||||
2024-04-28 21:54:14,544 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:54:14,546 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x00000237274e48d0
|
||||
2024-04-28 21:54:14,607 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:54:14,622 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:54:14,641 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 21:54:14,656 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 21:54:15,153 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 21:54:15,157 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 21:54:15,177 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 21:54:15,424 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
|
||||
2024-04-28 21:54:15,757 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:54:15,759 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:54:15,761 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$886/0x00000237276a72f8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:54:15,762 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:54:15,792 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:54:15,795 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:54:16,281 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 21:54:16,290 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:54:16,327 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 21:54:16,327 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:54:17,297 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 21:54:18,938 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 21:54:19,066 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of f8b92c1e-266f-4006-9209-65a40ce85dc8
|
||||
2024-04-28 21:54:19,066 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 21:54:19,068 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 21:54:19,068 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 21:54:19,069 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 21:54:19,069 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:54:19,227 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312458335_114.95.172.249_53523
|
||||
2024-04-28 21:54:19,228 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Notify connected event to listeners.
|
||||
2024-04-28 21:54:19,228 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:54:19,228 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x00000237274e48d0
|
||||
2024-04-28 21:54:19,269 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.585 seconds (JVM running for 7.477)
|
||||
2024-04-28 21:54:19,566 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 21:54:19,566 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 21:54:19,566 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 21:54:19,567 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 21:54:19,780 INFO [nacos-grpc-client-executor-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Receive server push request, request = NotifySubscriberRequest, requestId = 258
|
||||
2024-04-28 21:54:19,781 INFO [nacos-grpc-client-executor-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Ack server push request, request = NotifySubscriberRequest, requestId = 258
|
||||
2024-04-28 21:54:20,247 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 21:54:20,248 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@512a5e57[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 21:54:20,248 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714312458335_114.95.172.249_53523
|
||||
2024-04-28 21:54:20,250 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@72e9cbb1[Running, pool size = 9, active threads = 0, queued tasks = 0, completed tasks = 9]
|
||||
2024-04-28 21:54:20,251 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
||||
2024-04-28 21:54:59,452 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
|
||||
2024-04-28 21:54:59,456 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2024-04-28 21:54:59,458 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2024-04-28 21:54:59,558 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
|
||||
2024-04-28 21:54:59,628 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
|
||||
2024-04-28 21:54:59,637 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6da00fb9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a202ccb, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@20f12539, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@75b25825, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@18025ced, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13cf7d52, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3a3e4aff, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d2a4eed, org.springframework.test.context.event.EventPublishingTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@78fbff54, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3e10dc6, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7e22550a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@45e37a7e]
|
||||
2024-04-28 21:55:00,107 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 21:55:00,616 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of b1927ab9-4d25-4752-aec6-c6d2196577af_config-0
|
||||
2024-04-28 21:55:00,663 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 21 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 21:55:00,712 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 21:55:00,729 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 13 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 21:55:00,732 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:55:00,736 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 2 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 21:55:00,742 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 21:55:00,747 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 21:55:00,749 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:55:00,749 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 21:55:00,750 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$714/0x0000021ec739cfb8
|
||||
2024-04-28 21:55:00,750 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$715/0x0000021ec739d1d8
|
||||
2024-04-28 21:55:00,750 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 21:55:00,751 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 21:55:00,757 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:55:01,556 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312500603_114.95.172.249_49712
|
||||
2024-04-28 21:55:01,559 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Notify connected event to listeners.
|
||||
2024-04-28 21:55:01,560 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:55:01,561 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x0000021ec74e3d48
|
||||
2024-04-28 21:55:01,637 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:55:01,651 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:55:01,674 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 21:55:01,697 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 21:55:02,211 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 21:55:02,215 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 21:55:02,244 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 21:55:02,526 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
|
||||
2024-04-28 21:55:02,894 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:02,897 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:02,899 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$886/0x0000021ec769e8b0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:02,901 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:02,935 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:02,938 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:03,411 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 21:55:03,422 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:55:03,466 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 21:55:03,466 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:55:04,346 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 21:55:05,840 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 21:55:05,954 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 13d833cd-e3b5-471e-8945-888d53ee46ef
|
||||
2024-04-28 21:55:05,954 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 21:55:05,956 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 21:55:05,956 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 21:55:05,957 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 21:55:05,958 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:55:06,099 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312505213_114.95.172.249_49756
|
||||
2024-04-28 21:55:06,100 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Notify connected event to listeners.
|
||||
2024-04-28 21:55:06,100 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:55:06,100 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x0000021ec74e3d48
|
||||
2024-04-28 21:55:06,143 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.469 seconds (JVM running for 7.368)
|
||||
2024-04-28 21:55:06,439 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 21:55:06,439 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 21:55:06,439 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 21:55:06,439 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 21:55:06,641 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Receive server push request, request = NotifySubscriberRequest, requestId = 260
|
||||
2024-04-28 21:55:06,643 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Ack server push request, request = NotifySubscriberRequest, requestId = 260
|
||||
2024-04-28 21:55:07,105 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 21:55:07,106 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@1b2baf8e[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 21:55:07,106 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714312505213_114.95.172.249_49756
|
||||
2024-04-28 21:55:07,108 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@7facf961[Running, pool size = 8, active threads = 0, queued tasks = 0, completed tasks = 8]
|
||||
2024-04-28 21:55:07,110 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
||||
2024-04-28 21:55:35,401 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
|
||||
2024-04-28 21:55:35,406 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2024-04-28 21:55:35,407 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2024-04-28 21:55:35,500 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
|
||||
2024-04-28 21:55:35,577 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
|
||||
2024-04-28 21:55:35,588 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@20a14b55, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@39ad977d, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@6da00fb9, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@a202ccb, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@20f12539, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75b25825, org.springframework.test.context.transaction.TransactionalTestExecutionListener@18025ced, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@13cf7d52, org.springframework.test.context.event.EventPublishingTestExecutionListener@3a3e4aff, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@5d2a4eed, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@78fbff54, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3e10dc6]
|
||||
2024-04-28 21:55:36,050 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 21:55:36,569 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0
|
||||
2024-04-28 21:55:36,619 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 24 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 21:55:36,656 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 9 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 21:55:36,671 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 21:55:36,675 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:55:36,678 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 1 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 21:55:36,685 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 21:55:36,690 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 21:55:36,691 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 21:55:36,692 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 21:55:36,693 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$711/0x00000298b339a7e8
|
||||
2024-04-28 21:55:36,694 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$712/0x00000298b339aa08
|
||||
2024-04-28 21:55:36,695 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 21:55:36,695 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 21:55:36,701 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:55:37,484 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312536541_114.95.172.249_63717
|
||||
2024-04-28 21:55:37,487 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Notify connected event to listeners.
|
||||
2024-04-28 21:55:37,487 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:55:37,489 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$726/0x00000298b34e3d48
|
||||
2024-04-28 21:55:37,557 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:55:37,570 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 21:55:37,592 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 21:55:37,615 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 21:55:38,121 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 21:55:38,123 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 21:55:38,141 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 21:55:38,421 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
|
||||
2024-04-28 21:55:38,793 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:38,796 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:38,799 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$883/0x00000298b369bae0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:38,800 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:38,823 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:38,828 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 21:55:39,297 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 21:55:39,302 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:55:39,344 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 21:55:39,345 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 21:55:40,261 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 21:55:41,847 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 21:55:41,933 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 349afa2b-00be-4653-9f6e-7700a58d4128
|
||||
2024-04-28 21:55:41,933 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 21:55:41,934 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 21:55:41,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 21:55:41,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 21:55:41,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 21:55:42,076 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312541187_114.95.173.5_63732
|
||||
2024-04-28 21:55:42,076 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 21:55:42,076 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Notify connected event to listeners.
|
||||
2024-04-28 21:55:42,076 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$726/0x00000298b34e3d48
|
||||
2024-04-28 21:55:42,112 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.488 seconds (JVM running for 7.395)
|
||||
2024-04-28 21:55:42,392 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 21:55:42,392 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 21:55:42,393 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 21:55:42,393 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 21:55:42,663 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Receive server push request, request = NotifySubscriberRequest, requestId = 261
|
||||
2024-04-28 21:55:42,665 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Ack server push request, request = NotifySubscriberRequest, requestId = 261
|
||||
2024-04-28 21:55:43,091 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 21:55:43,092 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@4377c03b[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 21:55:43,092 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714312541187_114.95.173.5_63732
|
||||
2024-04-28 21:55:43,094 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@3f2f4dba[Running, pool size = 8, active threads = 0, queued tasks = 0, completed tasks = 8]
|
||||
2024-04-28 21:55:43,096 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
||||
2024-04-28 22:20:40,402 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
|
||||
2024-04-28 22:20:40,407 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2024-04-28 22:20:40,408 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2024-04-28 22:20:40,506 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
|
||||
2024-04-28 22:20:40,586 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
|
||||
2024-04-28 22:20:40,596 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@75f65e45, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6eeade6c, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4a891c97, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@a5bd950, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4d18aa28, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75390459, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7756c3cd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2313052e, org.springframework.test.context.event.EventPublishingTestExecutionListener@2bd2b28e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@16746061, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@57fd91c9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6cfcd46d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@52045dbe, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@674658f7, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@5c8eee0f]
|
||||
2024-04-28 22:20:41,108 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 22:20:41,686 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 470be299-3896-4977-814e-8d92d0de18cf_config-0
|
||||
2024-04-28 22:20:41,747 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 31 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 22:20:41,773 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 22:20:41,781 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 22:20:41,784 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 22:20:41,790 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 22:20:41,800 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 22:20:41,807 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 22:20:41,810 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 22:20:41,812 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 22:20:41,812 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$712/0x000001b6283e5a58
|
||||
2024-04-28 22:20:41,813 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$713/0x000001b6283e5c78
|
||||
2024-04-28 22:20:41,813 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 22:20:41,814 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 22:20:41,821 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 22:20:42,656 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314041700_114.95.173.7_65480
|
||||
2024-04-28 22:20:42,657 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Notify connected event to listeners.
|
||||
2024-04-28 22:20:42,658 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 22:20:42,658 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x000001b62851d3c8
|
||||
2024-04-28 22:20:42,750 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 22:20:42,763 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 22:20:42,780 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 22:20:42,802 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 22:20:43,373 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 22:20:43,375 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 22:20:43,396 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 22:20:43,641 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
|
||||
2024-04-28 22:20:44,029 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:20:44,032 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:20:44,034 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$885/0x000001b6286d4000] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:20:44,037 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:20:44,066 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:20:44,070 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:20:44,594 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 22:20:44,598 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 22:20:44,649 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 22:20:44,649 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 22:20:45,766 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 22:20:47,645 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 22:20:47,737 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 5e74941a-b26e-4400-a7a0-77b5a922f557
|
||||
2024-04-28 22:20:47,737 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 22:20:47,739 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 22:20:47,739 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 22:20:47,740 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 22:20:47,740 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 22:20:47,880 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314046984_114.95.173.7_65481
|
||||
2024-04-28 22:20:47,880 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Notify connected event to listeners.
|
||||
2024-04-28 22:20:47,880 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 22:20:47,880 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x000001b62851d3c8
|
||||
2024-04-28 22:20:47,920 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 7.281 seconds (JVM running for 8.474)
|
||||
2024-04-28 22:20:48,226 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 22:20:48,226 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 22:20:48,226 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 22:20:48,227 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 22:20:48,419 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Receive server push request, request = NotifySubscriberRequest, requestId = 265
|
||||
2024-04-28 22:20:48,420 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Ack server push request, request = NotifySubscriberRequest, requestId = 265
|
||||
2024-04-28 22:20:48,898 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 22:20:48,898 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@314684ec[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 22:20:48,899 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714314046984_114.95.173.7_65481
|
||||
2024-04-28 22:20:48,903 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@57c7dcc2[Running, pool size = 6, active threads = 0, queued tasks = 0, completed tasks = 6]
|
||||
2024-04-28 22:20:48,905 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
||||
2024-04-28 22:21:17,002 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
|
||||
2024-04-28 22:21:17,006 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2024-04-28 22:21:17,007 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2024-04-28 22:21:17,103 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
|
||||
2024-04-28 22:21:17,173 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
|
||||
2024-04-28 22:21:17,183 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6da00fb9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a202ccb, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@20f12539, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@75b25825, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@18025ced, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13cf7d52, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3a3e4aff, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d2a4eed, org.springframework.test.context.event.EventPublishingTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@78fbff54, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3e10dc6, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7e22550a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@45e37a7e]
|
||||
2024-04-28 22:21:17,643 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 22:21:18,108 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0
|
||||
2024-04-28 22:21:18,156 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 22 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 22:21:18,195 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 14 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 22:21:18,203 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 22:21:18,207 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 22:21:18,211 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 22:21:18,217 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 22:21:18,224 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 22:21:18,227 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 22:21:18,228 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 22:21:18,229 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$714/0x000001c4a939d5a8
|
||||
2024-04-28 22:21:18,230 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$715/0x000001c4a939d7c8
|
||||
2024-04-28 22:21:18,231 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 22:21:18,232 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 22:21:18,246 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 22:21:19,014 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314078061_114.95.172.254_65524
|
||||
2024-04-28 22:21:19,017 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Notify connected event to listeners.
|
||||
2024-04-28 22:21:19,017 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 22:21:19,018 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x000001c4a94e4d48
|
||||
2024-04-28 22:21:19,100 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 22:21:19,113 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 22:21:19,163 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 22:21:19,203 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 22:21:19,699 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 22:21:19,702 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 22:21:19,725 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 22:21:19,953 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
|
||||
2024-04-28 22:21:20,317 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:21:20,320 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:21:20,322 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$886/0x000001c4a969f798] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:21:20,323 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:21:20,348 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:21:20,352 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:21:20,827 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 22:21:20,834 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 22:21:20,871 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 22:21:20,872 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 22:21:21,692 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 22:21:23,273 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 22:21:23,335 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 1e576cf3-3599-4049-96b7-67e9344fd1df
|
||||
2024-04-28 22:21:23,335 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 22:21:23,336 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 22:21:23,337 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 22:21:23,337 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 22:21:23,337 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 22:21:23,478 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314082570_114.95.173.5_65526
|
||||
2024-04-28 22:21:23,479 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Notify connected event to listeners.
|
||||
2024-04-28 22:21:23,479 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 22:21:23,480 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x000001c4a94e4d48
|
||||
2024-04-28 22:21:23,524 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.306 seconds (JVM running for 7.198)
|
||||
2024-04-28 22:21:23,823 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 22:21:23,823 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 22:21:23,823 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 22:21:23,823 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 22:21:24,057 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Receive server push request, request = NotifySubscriberRequest, requestId = 266
|
||||
2024-04-28 22:21:24,061 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Ack server push request, request = NotifySubscriberRequest, requestId = 266
|
||||
2024-04-28 22:21:24,500 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 22:21:24,500 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@5f8eafc7[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 22:21:24,501 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714314082570_114.95.173.5_65526
|
||||
2024-04-28 22:21:24,508 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@1c3d92f9[Running, pool size = 7, active threads = 0, queued tasks = 0, completed tasks = 7]
|
||||
2024-04-28 22:21:24,512 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
||||
2024-04-28 22:22:35,447 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
|
||||
2024-04-28 22:22:35,453 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2024-04-28 22:22:35,454 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2024-04-28 22:22:35,552 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
|
||||
2024-04-28 22:22:35,627 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
|
||||
2024-04-28 22:22:35,638 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@75f65e45, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6eeade6c, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4a891c97, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@a5bd950, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4d18aa28, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75390459, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7756c3cd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2313052e, org.springframework.test.context.event.EventPublishingTestExecutionListener@2bd2b28e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@16746061, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@57fd91c9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6cfcd46d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@52045dbe, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@674658f7, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@5c8eee0f]
|
||||
2024-04-28 22:22:36,151 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
|
||||
2024-04-28 22:22:36,674 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0
|
||||
2024-04-28 22:22:36,746 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 28 ms to scan 1 urls, producing 3 keys and 6 values
|
||||
2024-04-28 22:22:36,784 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 4 keys and 9 values
|
||||
2024-04-28 22:22:36,794 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 3 keys and 10 values
|
||||
2024-04-28 22:22:36,798 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 22:22:36,803 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 1 keys and 5 values
|
||||
2024-04-28 22:22:36,813 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
|
||||
2024-04-28 22:22:36,820 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 2 keys and 8 values
|
||||
2024-04-28 22:22:36,824 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
|
||||
2024-04-28 22:22:36,825 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
|
||||
2024-04-28 22:22:36,826 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$712/0x0000019ac539e448
|
||||
2024-04-28 22:22:36,827 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$713/0x0000019ac539e668
|
||||
2024-04-28 22:22:36,828 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
|
||||
2024-04-28 22:22:36,829 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
|
||||
2024-04-28 22:22:36,840 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 22:22:37,644 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314156683_114.95.172.254_49201
|
||||
2024-04-28 22:22:37,646 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Notify connected event to listeners.
|
||||
2024-04-28 22:22:37,647 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 22:22:37,649 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x0000019ac5525638
|
||||
2024-04-28 22:22:37,755 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
|
||||
2024-04-28 22:22:37,777 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
|
||||
2024-04-28 22:22:37,799 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
|
||||
2024-04-28 22:22:37,822 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
|
||||
2024-04-28 22:22:38,347 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2024-04-28 22:22:38,349 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2024-04-28 22:22:38,367 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
|
||||
2024-04-28 22:22:38,578 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
|
||||
2024-04-28 22:22:38,941 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:22:38,945 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:22:38,946 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$885/0x0000019ac56d77e8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:22:38,949 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:22:38,978 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:22:38,982 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
||||
2024-04-28 22:22:39,436 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
|
||||
2024-04-28 22:22:39,442 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 22:22:39,501 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
|
||||
2024-04-28 22:22:39,502 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
|
||||
2024-04-28 22:22:40,635 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
|
||||
2024-04-28 22:22:42,498 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
|
||||
2024-04-28 22:22:42,573 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of e410f4c5-45b3-40f0-8768-addeeea528e8
|
||||
2024-04-28 22:22:42,574 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] RpcClient init label, labels = {module=naming, source=sdk}
|
||||
2024-04-28 22:22:42,575 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
|
||||
2024-04-28 22:22:42,575 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
|
||||
2024-04-28 22:22:42,575 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
|
||||
2024-04-28 22:22:42,576 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
|
||||
2024-04-28 22:22:42,722 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314161817_114.95.172.249_49215
|
||||
2024-04-28 22:22:42,723 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Notify connected event to listeners.
|
||||
2024-04-28 22:22:42,723 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
|
||||
2024-04-28 22:22:42,724 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x0000019ac5525638
|
||||
2024-04-28 22:22:42,775 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 7.098 seconds (JVM running for 8.104)
|
||||
2024-04-28 22:22:43,085 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
|
||||
2024-04-28 22:22:43,085 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
|
||||
2024-04-28 22:22:43,085 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
|
||||
2024-04-28 22:22:43,086 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
|
||||
2024-04-28 22:22:43,338 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Receive server push request, request = NotifySubscriberRequest, requestId = 269
|
||||
2024-04-28 22:22:43,341 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Ack server push request, request = NotifySubscriberRequest, requestId = 269
|
||||
2024-04-28 22:22:43,742 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
|
||||
2024-04-28 22:22:43,743 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@47b479bb[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
|
||||
2024-04-28 22:22:43,743 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714314161817_114.95.172.249_49215
|
||||
2024-04-28 22:22:43,752 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@5792cc77[Running, pool size = 6, active threads = 0, queued tasks = 0, completed tasks = 6]
|
||||
2024-04-28 22:22:43,755 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
|
|
@ -9,7 +9,7 @@
|
|||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>bwie-xxl</artifactId>
|
||||
<artifactId>bwie-alipay</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
|
@ -17,6 +17,12 @@
|
|||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!--支付宝接口pom文件-->
|
||||
<dependency>
|
||||
<groupId>com.alipay.sdk</groupId>
|
||||
<artifactId>alipay-sdk-java</artifactId>
|
||||
<version>4.39.2.ALL</version>
|
||||
</dependency>
|
||||
<!-- 系统公共 依赖 -->
|
||||
<dependency>
|
||||
<groupId>com.bwie</groupId>
|
||||
|
@ -58,11 +64,26 @@
|
|||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.xuxueli</groupId>
|
||||
<artifactId>xxl-job-core</artifactId>
|
||||
<version>2.4.0</version>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis-spring</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.bwie</groupId>
|
||||
<artifactId>bwie-common</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-test</artifactId>
|
||||
<version>2.7.18</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>5.8.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
package com.bwie.alipay;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@SpringBootApplication
|
||||
@MapperScan("com.bwie.alipay.mapper")
|
||||
public class AlipayApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(AlipayApplication.class);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
package com.bwie.alipay.config;
|
||||
import com.alipay.api.AlipayClient;
|
||||
import com.alipay.api.AlipayConstants;
|
||||
import com.alipay.api.DefaultAlipayClient;
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Data
|
||||
@ConfigurationProperties(prefix = "alipay")
|
||||
public class AlipayConfig {
|
||||
|
||||
/**
|
||||
* 商户appid
|
||||
*/
|
||||
private String appId;
|
||||
|
||||
/**
|
||||
* 商户PID,卖家支付宝账号ID
|
||||
*/
|
||||
private String sellerId;
|
||||
|
||||
/**
|
||||
* 私钥 pkcs8格式的,rsc中的私钥
|
||||
*/
|
||||
private String privateKey;
|
||||
|
||||
/**
|
||||
* 支付宝公钥
|
||||
*/
|
||||
private String publicKey;
|
||||
|
||||
/**
|
||||
* 请求网关地址
|
||||
*/
|
||||
private String serverUrl;
|
||||
|
||||
/**
|
||||
* 页面跳转同步通知(可以直接返回前端页面、或者通过后端进行跳转)
|
||||
*/
|
||||
private String returnUrl;
|
||||
|
||||
/**
|
||||
* 服务器异步通知
|
||||
*/
|
||||
private String notifyUrl;
|
||||
|
||||
/**
|
||||
* 获得初始化的AlipayClient
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Bean
|
||||
public AlipayClient alipayClien() {
|
||||
// 获得初始化的AlipayClient
|
||||
return new DefaultAlipayClient(serverUrl, appId, privateKey,
|
||||
AlipayConstants.FORMAT_JSON, AlipayConstants.CHARSET_UTF8,
|
||||
publicKey, AlipayConstants.SIGN_TYPE_RSA2);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.bwie.alipay.controller;
|
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/alipay")
|
||||
public class AlipayController {
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
package com.bwie.alipay.controller;
|
||||
import com.alipay.api.AlipayApiException;
|
||||
import com.alipay.api.AlipayConstants;
|
||||
import com.alipay.api.internal.util.AlipaySignature;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.bwie.alipay.service.AlimentPayService;
|
||||
import com.bwie.alipay.service.AlipayWayService;
|
||||
import com.bwie.alipay.utils.service.AlipayWay;
|
||||
import com.bwie.alipay.utils.PayServive;
|
||||
import com.bwie.alipay.vo.Alipay;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
import com.bwie.common.domain.PaymentEntity;
|
||||
import com.bwie.common.result.BizException;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@Slf4j
|
||||
@RestController
|
||||
public class AlipayWayController {
|
||||
@Autowired
|
||||
private AlipayWay alipayWay;
|
||||
@Autowired
|
||||
private AlipayWayService alipayWayService;//buyOrder
|
||||
@Autowired
|
||||
private AlimentPayService alimentPayService;//PaymentEntity
|
||||
|
||||
@Autowired
|
||||
private ApplicationContext applicationContext;
|
||||
@ResponseBody
|
||||
@GetMapping("/pay")
|
||||
public String pay(Long buyOrderId,String type) throws AlipayApiException {
|
||||
BuyOrder buyOrder = alipayWayService.getOne(
|
||||
new LambdaQueryWrapper<BuyOrder>().eq(BuyOrder::getOrderId, buyOrderId));
|
||||
|
||||
|
||||
if(buyOrder.getOrderState().equals(3)){
|
||||
throw new BizException(500,"不能重复支付!!!!!");
|
||||
}
|
||||
PaymentEntity paymentEntity = PaymentEntity.builder()
|
||||
.ordersNumber(buyOrder.getOrderNumber())
|
||||
.userId(buyOrder.getUserId())
|
||||
.tradeMoney(buyOrder.getOrderPrice())
|
||||
.backTime(new Date())
|
||||
.tradeStatus(1).build();
|
||||
//添加到数据库
|
||||
alimentPayService.save(paymentEntity);
|
||||
|
||||
|
||||
alipayWayService.updateById(
|
||||
BuyOrder.builder()
|
||||
.orderId(buyOrder.getOrderId())
|
||||
.orderState(2).build()
|
||||
);
|
||||
PayServive bean = (PayServive)applicationContext.getBean(type);
|
||||
return bean.alipay(buyOrder);
|
||||
}
|
||||
|
||||
@Resource
|
||||
private Alipay alipay;
|
||||
@Transactional
|
||||
@RequestMapping("/notifyUrl")
|
||||
public void notifyUrl(HttpServletRequest request, HttpServletResponse response) throws Exception {
|
||||
|
||||
request.setCharacterEncoding("utf-8");
|
||||
|
||||
HashMap<String, String> params = new HashMap<>(8);
|
||||
|
||||
Map<String, String[]> requestParams = request.getParameterMap();
|
||||
|
||||
for (Map.Entry<String, String[]> stringEntry : requestParams.entrySet()) {
|
||||
|
||||
String[] values = stringEntry.getValue();
|
||||
|
||||
String valueStr="";
|
||||
for (int i = 0; i < values.length; i++) {
|
||||
valueStr = (i == values.length - 1) ? valueStr + values[i]
|
||||
: valueStr + values[i] + ",";
|
||||
}
|
||||
System.out.println("key="+stringEntry.getKey()+" value="+valueStr);
|
||||
params.put(stringEntry.getKey(), valueStr);
|
||||
}
|
||||
boolean signVerified = AlipaySignature.rsaCheckV1(params,alipay.getAlipayPublicKey(), AlipayConstants.CHARSET_UTF8, AlipayConstants.SIGN_TYPE_RSA2);
|
||||
if(!signVerified){
|
||||
log.error("验签失败!!!!");
|
||||
}
|
||||
String orderSn = new String(params.get("out_trade_no").getBytes(StandardCharsets.ISO_8859_1), StandardCharsets.UTF_8);
|
||||
BuyOrder buyOrder = alipayWayService.getOne(
|
||||
new LambdaQueryWrapper<BuyOrder>()
|
||||
.eq(BuyOrder::getOrderNumber, orderSn)
|
||||
);
|
||||
if(buyOrder.getOrderState().equals(3)){
|
||||
throw new BizException(500,"已经支付成功,禁止重复回掉");
|
||||
}
|
||||
List<PaymentEntity> paymentEntityList = alimentPayService.list(
|
||||
new LambdaQueryWrapper<PaymentEntity>()
|
||||
.eq(PaymentEntity::getOrdersNumber, buyOrder.getOrderNumber())
|
||||
);
|
||||
paymentEntityList.forEach(c->{
|
||||
if(c.getTradeStatus().equals(2)){
|
||||
throw new BizException(500,"已经支付成功,禁止重复回掉");
|
||||
}
|
||||
});
|
||||
paymentEntityList.forEach(c->{
|
||||
if(c.getTradeStatus().equals(1)){ //正在支付
|
||||
alimentPayService.updateById(
|
||||
PaymentEntity.builder()
|
||||
.tradeId(c.getTradeId())
|
||||
.thirdStatus(2).build()
|
||||
); //修改为已支付
|
||||
}
|
||||
});
|
||||
alipayWayService.updateById(
|
||||
buyOrder.builder()
|
||||
.orderId(buyOrder.getOrderId())
|
||||
.orderState(3).build()
|
||||
);
|
||||
response.setStatus(HttpServletResponse.SC_OK);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
package com.bwie.alipay.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class Test01 {
|
||||
|
||||
@GetMapping("/test")
|
||||
public String aaaa(){
|
||||
return "succerr";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.alipay.demo;
|
||||
|
||||
public interface ListenerPer {
|
||||
|
||||
|
||||
public void test03(String message);
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.bwie.alipay.demo;
|
||||
|
||||
public interface MonitorPer {
|
||||
|
||||
void test01(ListenerPer listenerPer);
|
||||
void test02(ListenerPer listenerPer);
|
||||
|
||||
void test04(String message);
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
package com.bwie.alipay.demo;
|
||||
|
||||
public interface Newspaper {
|
||||
/**
|
||||
* 添加订阅者
|
||||
* @param subscriber
|
||||
*/
|
||||
void addSubscriber(Subscriber subscriber);
|
||||
|
||||
/**
|
||||
* 移除订阅者
|
||||
* @param subscriber
|
||||
*/
|
||||
void removeSubscriber(Subscriber subscriber);
|
||||
|
||||
/**
|
||||
* 通知订阅者
|
||||
* @param message
|
||||
*/
|
||||
void notifySubscribers(String message);
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
package com.bwie.alipay.demo;
|
||||
|
||||
public interface Subscriber {
|
||||
|
||||
public void update(String message);
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
package com.bwie.alipay.demo.controller;
|
||||
import com.bwie.alipay.demo.MonitorPer;
|
||||
import com.bwie.alipay.demo.Newspaper;
|
||||
import com.bwie.alipay.demo.Subscriber;
|
||||
import com.bwie.alipay.demo.service.ListenerImpl;
|
||||
import com.bwie.alipay.demo.service.MonitorImpl;
|
||||
import com.bwie.alipay.demo.service.NewspaperImpl;
|
||||
import com.bwie.alipay.demo.service.SubscriberImpl;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
public class TestObserver {
|
||||
@Test
|
||||
void testObserver() {
|
||||
Newspaper newspaper = new NewspaperImpl();
|
||||
|
||||
Subscriber li = new SubscriberImpl("李老头");
|
||||
Subscriber wang = new SubscriberImpl("王奶奶");
|
||||
//李老头和王奶奶订阅了报纸
|
||||
newspaper.addSubscriber(li);
|
||||
|
||||
newspaper.addSubscriber(wang);
|
||||
//报纸到了,通知订阅者
|
||||
newspaper.notifySubscribers("今天的报纸到了!!!");
|
||||
//李老头取消订阅了,移除
|
||||
newspaper.removeSubscriber(li);
|
||||
|
||||
newspaper.notifySubscribers("明天的报纸还是这个点到!!!");
|
||||
}
|
||||
|
||||
@Test
|
||||
void test04(){
|
||||
MonitorPer monitor = new MonitorImpl();
|
||||
|
||||
ListenerImpl listener = new ListenerImpl("佩奇佩奇");
|
||||
ListenerImpl listener1 = new ListenerImpl("狗嘉狗嘉");
|
||||
monitor.test01(listener);
|
||||
monitor.test04("我爱你,爱你爱你");
|
||||
monitor.test02(listener);
|
||||
monitor.test01(listener1);
|
||||
monitor.test04("我想拉拉手,拉拉手,拉拉手");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
package com.bwie.alipay.demo.service;
|
||||
|
||||
import com.bwie.alipay.demo.ListenerPer;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class ListenerImpl implements ListenerPer {
|
||||
|
||||
private String name;
|
||||
|
||||
@Override
|
||||
public void test03(String message){
|
||||
System.out.println(name+"本次收到的内容是: "+message);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
package com.bwie.alipay.demo.service;
|
||||
|
||||
import com.bwie.alipay.demo.ListenerPer;
|
||||
import com.bwie.alipay.demo.MonitorPer;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class MonitorImpl implements MonitorPer{
|
||||
|
||||
|
||||
ArrayList<ListenerPer> arrayList = new ArrayList<>();
|
||||
//添加
|
||||
@Override
|
||||
public void test01(ListenerPer listenerPer){
|
||||
arrayList.add(listenerPer);
|
||||
}
|
||||
//删除
|
||||
@Override
|
||||
public void test02(ListenerPer listenerPer){
|
||||
arrayList.remove(listenerPer);
|
||||
}
|
||||
//通知
|
||||
@Override
|
||||
public void test04(String message){
|
||||
for (ListenerPer s : arrayList) {
|
||||
s.test03(message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package com.bwie.alipay.demo.service;
|
||||
|
||||
import com.bwie.alipay.demo.Newspaper;
|
||||
import com.bwie.alipay.demo.Subscriber;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class NewspaperImpl implements Newspaper {
|
||||
List<Subscriber> subscribers = new ArrayList<>();
|
||||
//添加订阅者
|
||||
@Override
|
||||
public void addSubscriber(Subscriber subscriber) {
|
||||
subscribers.add(subscriber);
|
||||
}
|
||||
//移除订阅者
|
||||
@Override
|
||||
public void removeSubscriber(Subscriber subscriber) {
|
||||
subscribers.remove(subscriber);
|
||||
}
|
||||
//通知订阅者
|
||||
@Override
|
||||
public void notifySubscribers(String message) {
|
||||
for (Subscriber s : subscribers) {
|
||||
s.update(message);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
package com.bwie.alipay.demo.service;
|
||||
|
||||
import com.bwie.alipay.demo.Subscriber;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class SubscriberImpl implements Subscriber {
|
||||
private String name;
|
||||
|
||||
@Override
|
||||
public void update(String message) {
|
||||
System.out.println(name + "---接到消息: " + message);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.bwie.alipay.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.PaymentEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface AlimentPayMapper extends BaseMapper<PaymentEntity> {
|
||||
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.alipay.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
@Mapper
|
||||
public interface AlipayMapper{
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.bwie.alipay.mapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface AlipayWayMapper extends BaseMapper<BuyOrder> {
|
||||
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
package com.bwie.alipay.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.bwie.common.domain.PaymentEntity;
|
||||
|
||||
public interface AlimentPayService extends IService<PaymentEntity> {
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.bwie.alipay.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
import com.bwie.common.domain.PaymentEntity;
|
||||
import com.bwie.common.result.Result;
|
||||
|
||||
public interface AlipayService {
|
||||
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.alipay.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
|
||||
public interface AlipayWayService extends IService<BuyOrder> {
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
package com.bwie.alipay.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.bwie.alipay.mapper.AlimentPayMapper;
|
||||
import com.bwie.alipay.mapper.AlipayWayMapper;
|
||||
import com.bwie.alipay.service.AlimentPayService;
|
||||
import com.bwie.common.domain.PaymentEntity;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class AlimentPayServiceImpl extends ServiceImpl<AlimentPayMapper, PaymentEntity> implements AlimentPayService {
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.bwie.alipay.service.impl;
|
||||
|
||||
import com.bwie.alipay.service.AlipayService;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
@Service
|
||||
public class AlipayServiceImpl implements AlipayService {
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.bwie.alipay.service.impl;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.bwie.alipay.mapper.AlipayWayMapper;
|
||||
import com.bwie.alipay.service.AlipayWayService;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.stereotype.Service;
|
||||
@Service
|
||||
public class AlipayWayServiceImpl extends ServiceImpl<AlipayWayMapper, BuyOrder> implements AlipayWayService {
|
||||
}
|
|
@ -0,0 +1,60 @@
|
|||
package com.bwie.alipay.time;
|
||||
|
||||
import com.bwie.alipay.service.AlimentPayService;
|
||||
import com.bwie.alipay.service.AlipayWayService;
|
||||
import com.bwie.alipay.utils.service.AlipayWay;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Log4j2
|
||||
@Component
|
||||
public class CreateTime {
|
||||
|
||||
@Autowired
|
||||
private AlipayWayService alipayWayService;
|
||||
@Autowired
|
||||
private AlipayWay alipayWay;
|
||||
|
||||
@Autowired
|
||||
private AlimentPayService alimentPayService;
|
||||
// @Scheduled(cron = "0/5 * * * * *")
|
||||
// public void findOrderSn(){
|
||||
// List<BuyOrder> buyOrderList = alipayWayService.list(
|
||||
// new LambdaQueryWrapper<BuyOrder>()
|
||||
// .eq(BuyOrder::getBuyOrderZt, 3)
|
||||
//
|
||||
// );
|
||||
// buyOrderList.forEach(c->{
|
||||
// try {
|
||||
// OrderSnRequest buyOrderDh = alipayWay.findBuyOrderDh(c.getBuyOrderDh());
|
||||
// OrderSnRequest.AlipayTradeQueryResponseBean queryResponse = buyOrderDh.getAlipay_trade_query_response();
|
||||
// String tradeStatus = queryResponse.getTrade_status();
|
||||
// if(tradeStatus.equals("TRADE_SUCCESS")){
|
||||
// alipayWayService.updateById(
|
||||
// BuyOrder.builder()
|
||||
// .buyOrderId(c.getBuyOrderId())
|
||||
// .buyOrderZt(c.getBuyOrderZt())
|
||||
// .build()
|
||||
// );
|
||||
// }
|
||||
// alimentPayService.list(
|
||||
// new LambdaQueryWrapper<PaymentEntity>()
|
||||
// .eq(PaymentEntity::getPaymentDh,c.getBuyOrderDh())
|
||||
// ).forEach(s->{
|
||||
// if(s.getPaymentState().equals(2)){
|
||||
// alimentPayService.updateById(
|
||||
// PaymentEntity.builder()
|
||||
// .paymentId(s.getPaymentId())
|
||||
// .paymentState(3)
|
||||
// .build()
|
||||
// );
|
||||
// }
|
||||
// });
|
||||
// }catch(AlipayApiException e) {
|
||||
// throw new RuntimeException(e);
|
||||
// }
|
||||
// }
|
||||
// );
|
||||
// }
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.bwie.alipay.utils;
|
||||
|
||||
|
||||
import com.alipay.api.AlipayApiException;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
|
||||
public interface PayServive{
|
||||
|
||||
public String alipay(BuyOrder buyOrder) throws AlipayApiException;
|
||||
}
|
|
@ -0,0 +1,86 @@
|
|||
package com.bwie.alipay.utils.service;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.alipay.api.AlipayApiException;
|
||||
import com.alipay.api.AlipayClient;
|
||||
import com.alipay.api.AlipayConfig;
|
||||
import com.alipay.api.DefaultAlipayClient;
|
||||
import com.alipay.api.domain.AlipayTradeQueryModel;
|
||||
import com.alipay.api.request.AlipayTradePagePayRequest;
|
||||
import com.alipay.api.response.AlipayTradePagePayResponse;
|
||||
import com.bwie.alipay.vo.OrderSnRequest;
|
||||
import com.bwie.alipay.utils.PayServive;
|
||||
import com.bwie.alipay.vo.Alipay;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@Component("Alipay")
|
||||
public class AlipayWay implements PayServive {
|
||||
@Autowired
|
||||
private Alipay alipay;
|
||||
public String alipay(BuyOrder buyOrder) throws AlipayApiException {
|
||||
AlipayConfig alipayConfig = new AlipayConfig();
|
||||
alipayConfig.setServerUrl(alipay.getServerUrl());
|
||||
alipayConfig.setAppId(alipay.getAppId());
|
||||
alipayConfig.setPrivateKey(alipay.getPrivateKey());
|
||||
alipayConfig.setFormat("json");
|
||||
alipayConfig.setAlipayPublicKey(alipay.getAlipayPublicKey());
|
||||
alipayConfig.setCharset(alipay.getCharset());
|
||||
alipayConfig.setSignType(alipay.getSignType());
|
||||
AlipayClient alipayClient = new DefaultAlipayClient(alipayConfig);
|
||||
AlipayTradePagePayRequest request = new AlipayTradePagePayRequest();
|
||||
JSONObject bizContent = new JSONObject();
|
||||
//商户订单号,商家自定义,保持唯一性
|
||||
bizContent.put("out_trade_no", buyOrder.getOrderNumber());
|
||||
//支付金额,最小值0.01元
|
||||
bizContent.put("total_amount",buyOrder.getOrderPrice());
|
||||
//订单标题,不可使用特殊符号
|
||||
bizContent.put("subject", buyOrder.getOrderName());
|
||||
//电脑网站支付场景固定传值FAST_INSTANT_TRADE_PAY
|
||||
bizContent.put("product_code", "FAST_INSTANT_TRADE_PAY");
|
||||
request.setBizContent(bizContent.toString());
|
||||
request.setNotifyUrl(" http://eeh7ds.natappfree.cc/notifyUrl");
|
||||
AlipayTradePagePayResponse response = alipayClient.pageExecute(request, "GET");
|
||||
String pageRedirectionData = response.getBody();
|
||||
System.out.println(pageRedirectionData);
|
||||
if (response.isSuccess()) {
|
||||
System.out.println("调用成功!!!!");
|
||||
} else {
|
||||
System.out.printf("调用失败!!!!");
|
||||
}
|
||||
return pageRedirectionData;
|
||||
}
|
||||
|
||||
public OrderSnRequest findBuyOrderDh(String buyOrderDh) throws AlipayApiException {
|
||||
AlipayConfig alipayConfig = new AlipayConfig();
|
||||
alipayConfig.setServerUrl(alipay.getServerUrl());
|
||||
alipayConfig.setAppId(alipay.getAppId());
|
||||
alipayConfig.setPrivateKey(alipay.getPrivateKey());
|
||||
alipayConfig.setFormat("json");
|
||||
alipayConfig.setAlipayPublicKey(alipay.getAlipayPublicKey());
|
||||
alipayConfig.setCharset(alipay.getCharset());
|
||||
alipayConfig.setSignType(alipay.getSignType());
|
||||
AlipayClient alipayClient = new DefaultAlipayClient(alipayConfig);
|
||||
|
||||
AlipayTradePagePayRequest request = new AlipayTradePagePayRequest();
|
||||
|
||||
AlipayTradeQueryModel model = new AlipayTradeQueryModel();
|
||||
model.setOutTradeNo(buyOrderDh);
|
||||
|
||||
ArrayList<String> arrayList = new ArrayList<>();
|
||||
arrayList.add("trade_settle_info");
|
||||
model.setQueryOptions(arrayList);
|
||||
request.setBizModel(model);
|
||||
AlipayTradePagePayResponse response = alipayClient.execute(request);
|
||||
OrderSnRequest orderSnRequest = JSON.parseObject(response.getBody().toString(), OrderSnRequest.class);
|
||||
if (response.isSuccess()) {
|
||||
System.out.println("调用成功!!!!");
|
||||
} else {
|
||||
System.out.printf("调用失败!!!!");
|
||||
}
|
||||
return orderSnRequest;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.bwie.alipay.utils.service;
|
||||
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component("UnionPay")
|
||||
public class UnionWay {
|
||||
|
||||
public String alipay(BuyOrder buyOrder){
|
||||
return "你好消费者,这是银联支付奥,支付金额是: "+buyOrder.getOrderPrice()+"元,支付的名称是: "+buyOrder.getOrderName()+",支付的单号是: "+buyOrder.getOrderNumber();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
package com.bwie.alipay.utils.service;
|
||||
|
||||
import com.bwie.alipay.utils.PayServive;
|
||||
import com.bwie.common.domain.BuyOrder;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component("Wechpay")
|
||||
public class Wechpay implements PayServive {
|
||||
|
||||
|
||||
public String alipay(BuyOrder buyOrder){
|
||||
return "你好消费者,这是微信支付奥,支付金额是: "+buyOrder.getOrderPrice()+"元,支付的名称是: "+buyOrder.getOrderName()+",支付的单号是: "+buyOrder.getOrderNumber();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
package com.bwie.alipay.vo;
|
||||
|
||||
import com.alipay.api.AlipayClient;
|
||||
import com.alipay.api.AlipayConstants;
|
||||
import com.alipay.api.DefaultAlipayClient;
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "zhipay")
|
||||
@Data
|
||||
public class Alipay {
|
||||
private String privateKey;//私钥
|
||||
private String alipayPublicKey;//支付宝公钥
|
||||
private String appId;//商户ID
|
||||
private String notifyUrl;//
|
||||
private String returnUrl;//
|
||||
private String serverUrl;
|
||||
private String charset;
|
||||
private String signType;
|
||||
private BigDecimal ordersPrice;
|
||||
@Bean
|
||||
public AlipayClient alipayClient() {
|
||||
// 获得初始化的AlipayClient
|
||||
return new DefaultAlipayClient(serverUrl, appId, privateKey,
|
||||
AlipayConstants.FORMAT_JSON, AlipayConstants.CHARSET_UTF8,
|
||||
alipayPublicKey, AlipayConstants.SIGN_TYPE_RSA2);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package com.bwie.alipay.vo;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@ToString
|
||||
@Data
|
||||
public class OrderSnRequest {
|
||||
private AlipayTradeQueryResponseBean alipay_trade_query_response;
|
||||
private String sign;
|
||||
@ToString
|
||||
@Data
|
||||
public static class AlipayTradeQueryResponseBean {
|
||||
private String code;
|
||||
private String msg;
|
||||
private String trade_no;
|
||||
private String out_trade_no;
|
||||
private String buyer_logon_id;
|
||||
private String trade_status;
|
||||
private String total_amount;
|
||||
private String buyer_pay_amount;
|
||||
private String point_amount;
|
||||
private String invoice_amount;
|
||||
private String send_pay_date;
|
||||
private String receipt_amount;
|
||||
private String store_id;
|
||||
private String terminal_id;
|
||||
private String store_name;
|
||||
private String buyer_user_id;
|
||||
private String buyer_open_id;
|
||||
private String buyer_user_type;
|
||||
private String mdiscount_amount;
|
||||
private String discount_amount;
|
||||
private String ext_infos;
|
||||
private List<FundBillListBean> fund_bill_list;
|
||||
@ToString
|
||||
@Data
|
||||
public static class FundBillListBean {
|
||||
private String fund_channel;
|
||||
private String amount;
|
||||
private String real_amount;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 9090
|
||||
# Spring
|
||||
spring:
|
||||
# datasource:
|
||||
# url: jdbc:mysql:xm_house//localhost:3306/mydatabase
|
||||
# username: root
|
||||
# password: admin111.
|
||||
main:
|
||||
allow-circular-references: true
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
time-zone: GMT+8
|
||||
application:
|
||||
# 应用名称
|
||||
name: bwie-alipay
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 124.221.30.134:8848
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 124.221.30.134:8848
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
zhipay:
|
||||
serverUrl: "https://openapi-sandbox.dl.alipaydev.com/gateway.do"
|
||||
charset: "UTF-8"
|
||||
signType: "RSA2"
|
||||
appId: "9021000135679979"
|
||||
privateKey: "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCx8r9WaFV7CujWc9AzpbgsCq8axYJWm4s7x2eDcJXC+qhDXWsFW0xDX+xs4JCuVJ54+FGiflB24BeqgFDLNOchtkocK65BJohG5ojVONHq/ciruqbzAD0W6x96h8fKqlVuvz3EotMXuejg5J1gbDRmgTvPx7mYq94TXjxt75CUEserThSMF0geB0DJhrPxNe5JLAPKA5pRXd2e6wDybi2yKL2s2j4YuaTgDZuNAnlBYAiV6Pk7WpFB06LtbGg7JiM+Jawn3N64fL/24d4VIzcJD3AxWbGDZAXtW9+XZtsDa8z6ik3OGpbrSKu+RK0jjWzT2ETHnb/BdhtDJzFBo4dnAgMBAAECggEBAKWvrWIqATVwof1Tlk8QhVxUklfuAP7dExYVA5fJ01fZhaQ7rjMtn+O3w+5YZb48QdXG+FPBIvCclMyHbzLVzkOAdJ6oOTamRwslCdDmd+ZCaH8lat8loLvfLs8q7+cPFD7qx/t30+7qhiAoHTSza1LqD6PWhkPV+w+zlbaS8d471COE8P7XyxouFZ70qe9Aa7uVLEClxQemviSqIYOuHTFkNjWMleQR48tL2HA2ifKpa309Ifnbf3kGktyNaiG7plC5x3gUU3dSQdWZpnRHq/wh65TBhJHgLrjsIPhnfB9mmwCMZ66EJiUKajuqlvEjC/J0dkduMO6uPLYzTkejxbkCgYEA4arhCQgLquzRJDk5pI94ZzBiSWXaP3JUzfYEHQbbzcNvRPZBYJLDBUXNRVReujjt6efIcyrCi1zD3XvHfN2QmaNubeD5yF7aObYPVwoxDCvqHzZDVbYd9ZUGR2yIa+jdkVc5py0vmyfyxLSx3RvMuSP+rYtzhCJbowQiCkN4XUMCgYEAyd3efuY/0f59XF2DBSu8vCEaer7Wkieit980VZm06jxwt/3b5UcRlknKpum32n+mGlbpu4M/r5Zbpta+uuWbx6ajbIjc43rMuElkK6cz5d6AUTm6AsOKq8ARQPh4F5pzI18vrNAQrNyVpxwDMXIdmyArHD0Dv4NeIjlwucCT2Q0CgYBTAXGoysbP5i+/bTUgrI0TF57vdIFkmP9MitNUgfNTqjFBYnsFtLX7OIOansABK3OHd/QpOG86p7J7w03LRgwsFwtFa101MH6Af9EAqQUFfxmsxV7bJhO7A0e9+dPsLUlibn0MWviJz5XieLx7ogAZkX3aA9NHpQOj4J9MuyiI1QKBgQC/NyIuNG5ZvWYEGzQjrsVtszHA+YqJEXBqGc0aFKoxgyUGtDoamdJH+Qg0SYl1OJsfshpfG7k02wlgJWSv5xVD7k45Xf9Wn5jSK/rt+skHQldsGXFgctelTx9I2tPvD8dmxyCC4ugYxi4gCEHiEYWHztXnPsiRHaAKbTyhR5EE9QKBgGQRjcds+qeZeNTKrwSPFG/KD8h/kI0jTnFfeKMm1WXfuXcadTavbaruGUihLzveO9/dsizKJm38Pc2j5xNyBxGYUdbSxGZtC5uNmYuIsR3u8gy2oT3qFBPaFp/Y1PoHzLu6QTAYeo8Cz0TG+U8ah/81O9JPzZWyrkGLHIp5XyKq"
|
||||
alipayPublicKey: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkVyIo6qyxzk0YWnBo3ueKIpcpUPnrX0MuhdaUAoyJPtp19u2M67g8jSw7BWqppJ0Vso8sm7Px6VS3rOunlmgW5lyN0uMgy6+mE76gW8+2msjwR/DrzNL7aQn2idu9NgxxKk2BnLzajpR7W5Tk+sXmB9woLffbQ9hJW+SWJ6DnMtAbaB+3E/xaDO4o5yjTFbY063Vr2mgyt+PfK5i3unb3ffZj9jtqICWsDfpoY42fxxrRsKa3eLCJVO6sqUz3XLRex8WV7vcjtAuMsp6rFbwTPT5ELSYHXEY3uWuHHJChDE4eAKUpvavYj/hTZhlsOyTe1xPOAbnkAQ2B+kA+XHDRQIDAQAB"
|
||||
notifyUrl: "http://m8gu77.natappfree.cc/notifyUrl"
|
||||
# returnUrl: "http://m8gu77.natappfree.cc/notifyUrl"
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration debug="false" scan="true" scanPeriod="1 seconds">
|
||||
|
||||
<contextName>logback</contextName>
|
||||
<property name="log.path" value="./applogs/xxl-job/xxl-job-executor-sample-springboot.log"/>
|
||||
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} %contextName [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>${log.path}.%d{yyyy-MM-dd}.zip</fileNamePattern>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>%date %level [%thread] %logger{36} [%file : %line] %msg%n
|
||||
</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="info">
|
||||
<appender-ref ref="console"/>
|
||||
<appender-ref ref="file"/>
|
||||
</root>
|
||||
</configuration>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bwie.alipay.mapper.AlipayWayMapper">
|
||||
|
||||
</mapper>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bwie.alipay.mapper.AlimentPayMapper">
|
||||
|
||||
</mapper>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bwie.system.mapper.SysMapper">
|
||||
<mapper namespace="com.bwie.alipay.mapper.AlipayMapper">
|
||||
|
||||
</mapper>
|
|
@ -1,4 +1,4 @@
|
|||
package com.bwie.xxl;
|
||||
package com.bwie;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
|
@ -8,8 +8,14 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
|||
|
||||
@SpringBootApplication
|
||||
@EnableDiscoveryClient
|
||||
public class XxlApp {
|
||||
@EnableFeignClients("com.bwie.**")
|
||||
@MapperScan("com.bwie.user.mapper")
|
||||
public class UserApp {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(XxlApp.class);
|
||||
|
||||
SpringApplication.run(UserApp.class,args);
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
package com.bwie.user.controller;
|
||||
|
||||
|
||||
import com.alibaba.nacos.shaded.org.checkerframework.checker.units.qual.A;
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
import com.bwie.common.result.Result;
|
||||
import com.bwie.user.service.UserService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.validation.constraints.Past;
|
||||
|
||||
@RestController
|
||||
public class UserController {
|
||||
|
||||
|
||||
@Autowired
|
||||
private UserService userService;
|
||||
|
||||
|
||||
public UserController(UserService userService) {
|
||||
this.userService = userService;
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/login")
|
||||
public Result<User> login(@RequestBody LoginRequest loginRequest){
|
||||
|
||||
return Result.success(
|
||||
userService.login(loginRequest)
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
@PostMapping("/register")
|
||||
public Result register(@RequestBody User user){
|
||||
userService.register(user);
|
||||
return Result.success();
|
||||
}
|
||||
|
||||
@GetMapping("/findByPhone/{userPhone}")
|
||||
public Result<User> findByPhone(@PathVariable("userPhone") String userPhone){
|
||||
return userService.findByPhone(userPhone);
|
||||
}
|
||||
|
||||
@PostMapping("/phoneLogin/{userPhone}")
|
||||
public Result<User> phoneLogin(@PathVariable String userPhone){
|
||||
User user = userService.phoneLogin(userPhone);
|
||||
|
||||
return Result.success(user);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
package com.bwie.user.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.User;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
@Mapper
|
||||
public interface UserMapper extends BaseMapper<User> {
|
||||
|
||||
|
||||
User phoneLogin(@Param("userPhone") String userPhone);
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.bwie.user.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
import com.bwie.common.result.Result;
|
||||
|
||||
public interface UserService extends IService<User> {
|
||||
|
||||
|
||||
User login(LoginRequest loginRequest);
|
||||
|
||||
void register(User user);
|
||||
|
||||
Result<User> findByPhone(String userPhone);
|
||||
|
||||
User phoneLogin(String userPhone);
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package com.bwie.user.service.impl;
|
||||
import cn.hutool.crypto.SecureUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
import com.bwie.common.domain.User;
|
||||
import com.bwie.common.domain.request.LoginRequest;
|
||||
import com.bwie.common.result.Result;
|
||||
import com.bwie.user.mapper.UserMapper;
|
||||
import com.bwie.user.service.UserService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {
|
||||
|
||||
@Autowired
|
||||
private UserMapper userMapper;
|
||||
|
||||
@Override
|
||||
public User login(LoginRequest loginRequest) {
|
||||
String userPwd = SecureUtil.md5(loginRequest.getUserPwd() + "|" + "");
|
||||
LambdaQueryWrapper<User> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(User::getUserName,loginRequest.getUserName())
|
||||
.eq(User::getUserPwd,userPwd);
|
||||
return this.getOne(queryWrapper);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register(User user) {
|
||||
this.save(user);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result<User> findByPhone(String userPhone) {
|
||||
User user = this.getOne(new LambdaQueryWrapper<User>()
|
||||
.eq(User::getUserPhone, userPhone));
|
||||
return Result.success(user);
|
||||
}
|
||||
|
||||
@Override
|
||||
public User phoneLogin(String userPhone) {
|
||||
|
||||
return userMapper.phoneLogin(userPhone);
|
||||
}
|
||||
}
|
|
@ -11,7 +11,7 @@ spring:
|
|||
time-zone: GMT+8
|
||||
application:
|
||||
# 应用名称
|
||||
name: bwie-system
|
||||
name: bwie-User
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bwie.user.mapper.UserMapper">
|
||||
|
||||
<select id="phoneLogin" resultType="com.bwie.common.domain.User">
|
||||
select * from user where user_phone = #{userPhone}
|
||||
</select>
|
||||
</mapper>
|
|
@ -8,9 +8,7 @@
|
|||
<artifactId>bwie-modules</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>bwie-team</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
|
@ -27,7 +25,6 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Druid -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
|
@ -45,7 +42,6 @@
|
|||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
<version>2.2.2</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Pagehelper -->
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
|
@ -58,5 +54,46 @@
|
|||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.15</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpcore</artifactId>
|
||||
<version>4.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-util</artifactId>
|
||||
<version>9.3.7.v20160115</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.tobato</groupId>
|
||||
<artifactId>fastdfs-client</artifactId>
|
||||
<version>1.27.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.tobato</groupId>
|
||||
<artifactId>fastdfs-client</artifactId>
|
||||
<version>1.26.5</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
package com.bwie.team;
|
||||
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
//@MapperScan("com.bwie.team")
|
||||
public class TeamApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(TeamApplication.class);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.team.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class GoodsAttrController {
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.team.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class GoodsCateGoryController {
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.team.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class GoodsSkuAttrValueController {
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.team.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class GoodsSkuController{
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.bwie.team.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class GoodsSpuAttrValueController {
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
package com.bwie.team.controller;
|
||||
|
||||
import com.bwie.common.domain.GoodSpu;
|
||||
import com.bwie.common.result.Result;
|
||||
import com.bwie.team.service.GoodsSpuService;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@RestController
|
||||
public class GoodsSpuController {
|
||||
|
||||
private final GoodsSpuService goodsSpuService;
|
||||
|
||||
public GoodsSpuController(GoodsSpuService goodsSpuService) {
|
||||
this.goodsSpuService = goodsSpuService;
|
||||
}
|
||||
|
||||
@PostMapping("/shouall")
|
||||
public Result<List<GoodSpu>> shouall(){
|
||||
return Result.success(goodsSpuService.shouall());
|
||||
}
|
||||
|
||||
@PostMapping("/addGoodSpu")
|
||||
public Result addGoodSpu(@RequestBody GoodSpu goodSpu){
|
||||
return goodsSpuService.addGoodSpu(goodSpu);
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
package com.bwie.team.controller;
|
||||
import com.bwie.common.domain.GoodsSpuImages;
|
||||
import com.bwie.common.result.Result;
|
||||
import com.bwie.team.service.GoodsSpuImageService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
@RestController
|
||||
public class GoodsSpuImageController {
|
||||
@Autowired
|
||||
private GoodsSpuImageService goodsSpuImageService;
|
||||
@PostMapping("/addImage")
|
||||
public Result addImage(@RequestBody GoodsSpuImages goodsSpuImages){
|
||||
return goodsSpuImageService.addImage(goodsSpuImages);
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/addImages")
|
||||
public Result addImages(@RequestBody GoodsSpuImages goodsSpuImages){
|
||||
return goodsSpuImageService.addImage(goodsSpuImages);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
package com.bwie.team.controller;
|
||||
|
||||
import com.bwie.common.result.Result;
|
||||
import com.bwie.team.service.TeamService;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class TeamController {
|
||||
private final TeamService teamService;
|
||||
|
||||
public TeamController(TeamService teamService) {
|
||||
this.teamService = teamService;
|
||||
}
|
||||
|
||||
@GetMapping("show")
|
||||
public Result show(){
|
||||
return Result.success(teamService.show());
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
package com.bwie.team.demo;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
public class demo {
|
||||
// public static void main(String[] args) {
|
||||
// String host = "https://D:\\mq\\aaaaa.jpg";
|
||||
// String path = "/iden2OCR";
|
||||
// String method = "POST";
|
||||
// String appcode = "你自己的AppCode";
|
||||
// Map<String, String> headers = new HashMap<String, String>();
|
||||
// //最后在header中的格式(中间是英文空格)为Authorization:APPCODE 83359fd73fe94948385f570e3c139105
|
||||
// headers.put("Authorization", "APPCODE " + appcode);
|
||||
// //根据API的要求,定义相对应的Content-Type
|
||||
// headers.put("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
|
||||
// //需要给X-Ca-Nonce的值生成随机字符串,每次请求不能相同
|
||||
// headers.put("X-Ca-Nonce", UUID.randomUUID().toString());
|
||||
// Map<String, String> querys = new HashMap<String, String>();
|
||||
// Map<String, String> bodys = new HashMap<String, String>();
|
||||
// bodys.put("imgbase64", "/9j/4AAQSkZJRgABAQAA... ...3F/9k=");
|
||||
// bodys.put("side", "front");
|
||||
// try {
|
||||
// /**
|
||||
// * 重要提示如下:
|
||||
// * HttpUtils请从
|
||||
// * https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/src/main/java/com/aliyun/api/gateway/demo/util/HttpUtils.java
|
||||
// * 下载
|
||||
// *
|
||||
// * 相应的依赖请参照
|
||||
// * https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/pom.xml
|
||||
// */
|
||||
// HttpResponse response = HttpUtils.doPost(host, path, method, headers, querys, bodys);
|
||||
// System.out.println(response.toString());
|
||||
// //获取response的body
|
||||
// //System.out.println(EntityUtils.toString(response.getEntity()));
|
||||
// } catch (Exception e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
// }
|
||||
public static void main(String[] args) {
|
||||
HashMap<String,String> map = new HashMap<>();
|
||||
map.put("admin","admin");
|
||||
map.put("hashmao","hashmap");
|
||||
Iterator it = map.keySet().iterator();
|
||||
//获取迭代器
|
||||
while(it.hasNext()){
|
||||
Object key = it.next();
|
||||
System.out.println(map.get(key));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.GoodAttr;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface GoodsAttrMapper extends BaseMapper<GoodAttr> {
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.GoodsCateGory;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
|
||||
@Mapper
|
||||
public interface GoodsCateGoryMapper extends BaseMapper<GoodsCateGory> {
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.GoodsSkuAttrValue;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface GoodsSkuAttrValueMapper extends BaseMapper<GoodsSkuAttrValue> {
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.GoodSku;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface GoodsSkuMapper extends BaseMapper<GoodSku> {
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.GoodsSpuAttrValue;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface GoodsSpuAttrValueMapper extends BaseMapper<GoodsSpuAttrValue> {
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.GoodsSpuImages;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface GoodsSpuImageMapper extends BaseMapper<GoodsSpuImages>{
|
||||
Integer addImages(GoodsSpuImages goodsSpuImages);
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.bwie.common.domain.GoodSpu;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface GoodsSpuMapper extends BaseMapper<GoodSpu> {
|
||||
Integer addGoodSpu(GoodSpu goodSpu);
|
||||
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package com.bwie.team.mapper;
|
||||
|
||||
import com.bwie.common.domain.Team;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface TeamMapper {
|
||||
List<Team> show();
|
||||
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
public interface GoodsAttrService {
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
public interface GoodsCateGoryService {
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
public interface GoodsSkuAttrValueService {
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
public interface GoodsSkuService {
|
||||
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
public interface GoodsSpuAttrValueService {
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
import com.bwie.common.domain.GoodsSpuImages;
|
||||
import com.bwie.common.result.Result;
|
||||
|
||||
public interface GoodsSpuImageService {
|
||||
|
||||
public Result addImage(GoodsSpuImages goodsSpuImages);
|
||||
|
||||
public Result addImages(GoodsSpuImages goodsSpuImages);
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
import com.bwie.common.domain.GoodSpu;
|
||||
import com.bwie.common.result.Result;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface GoodsSpuService {
|
||||
|
||||
List<GoodSpu> shouall();
|
||||
|
||||
Result addGoodSpu(GoodSpu goodSpu);
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
package com.bwie.team.service;
|
||||
|
||||
import com.aliyun.tea.Tea;
|
||||
import com.bwie.common.domain.Team;
|
||||
import com.bwie.team.vo.GroupSku;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface TeamService {
|
||||
// 查询商品信息
|
||||
List<Team> show();
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
package com.bwie.team.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.bwie.common.domain.GoodAttr;
|
||||
import com.bwie.team.mapper.GoodsAttrMapper;
|
||||
import com.bwie.team.service.GoodsAttrService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class GoodsAttrServiceImpl extends ServiceImpl<GoodsAttrMapper, GoodAttr> implements GoodsAttrService {
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
package com.bwie.team.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.bwie.common.domain.GoodsCateGory;
|
||||
import com.bwie.team.mapper.GoodsCateGoryMapper;
|
||||
import com.bwie.team.service.GoodsCateGoryService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class GoodsCateGoryServiceImpl extends ServiceImpl<GoodsCateGoryMapper, GoodsCateGory> implements GoodsCateGoryService {
|
||||
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue