初始化

master
chaiyapeng 2024-08-27 20:29:17 +08:00
parent ae8f3dd06f
commit 9ab76e76ff
5 changed files with 6861 additions and 5 deletions

View File

@ -49,9 +49,9 @@ public class MarketController extends BaseController {
/**
*
*/
@GetMapping("PhonePlace")
public Result PhonePlace(@RequestParam(name = "tel") String tel){
return marketService.PhonePlace(tel);
@GetMapping("phonePlace")
public Result phonePlace(@RequestParam(name = "tel") String tel){
return marketService.phonePlace(tel);
}
/**
* IP

View File

@ -18,7 +18,7 @@ import java.util.List;
public interface MarketService extends IService<Market> {
List<Market> findMarketList();
Result PhonePlace(String tel);
Result phonePlace(String tel);
Result getIpPlace(String ip);

View File

@ -67,7 +67,7 @@ public class MarketServiceImpl extends ServiceImpl<MarketMapper, Market> impleme
* @param tel
*/
@Override
public Result PhonePlace(String tel) {
public Result phonePlace(String tel) {
PhonePlace phonePlace = MobileLocation.queryMobileLocation(tel);
return Result.success(phonePlace);
}

File diff suppressed because it is too large Load Diff

View File

@ -2397,3 +2397,86 @@ java.net.SocketException: Connection reset
20:27:53.815 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed
20:27:53.815 [SpringApplicationShutdownHook] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success,
20:27:53.815 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye
20:28:03.126 [main] INFO c.m.c.m.MarketApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev"
20:28:04.765 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
20:28:04.765 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24]
20:28:04.931 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
20:28:08.604 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited
20:28:08.605 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success
20:28:08.605 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master]
20:28:08.637 [main] INFO c.m.c.d.MyMetaObjectHandler - [<init>,17] - 元对象字段填充控制器 ------- 加载完成
20:28:09.366 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
20:28:15.149 [main] INFO c.m.c.x.XXLJobConfig - [xxlJobExecutor,25] - >>>>>>>>>>> xxl-job config init success.
20:28:17.044 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-no-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@519d1224[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoNoParam]
20:28:17.044 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-one-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@5c5dd9ac[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoOneParam]
20:28:17.065 [main] INFO c.x.j.c.util.NetUtil - [isPortUsed,56] - >>>>>>>>>>> xxl-job, port[9999] is in use.
20:28:17.275 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,82] - >>>>>>>>>>> xxl-job remoting server start success, nettype = class com.xxl.job.core.server.EmbedServer, port = 10000
20:28:18.316 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null
20:28:18.317 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
20:28:18.317 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null
20:28:18.320 [main] INFO c.a.n.client.naming - [<init>,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource
20:28:18.323 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
20:28:18.323 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
20:28:18.513 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of 72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea
20:28:18.514 [main] INFO c.a.n.client.naming - [<init>,109] - Create naming rpc client for uuid->72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea
20:28:18.514 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
20:28:18.514 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
20:28:18.515 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
20:28:18.515 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] Try to connect to server on start up, server: {serverIp = '47.116.184.54', server main port = 8848}
20:28:18.515 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:47.116.184.54 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
20:28:19.244 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] Success to connect to server [47.116.184.54:8848] on start up, connectionId = 1724761700850_139.224.212.27_62488
20:28:19.244 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
20:28:19.244 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] Notify connected event to listeners.
20:28:19.244 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$631/0x000001edd25246a0
20:28:19.244 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
20:28:19.245 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] cloud-2112 registering service cloud-port with instance Instance{instanceId='null', ip='192.168.174.1', port=10006, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=[2409:891f:8f64:8bbc:9ee3:ac19:f0c:8732], preserved.register.source=SPRING_CLOUD}}
20:28:19.288 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-port 192.168.174.1:10006 register finished
20:28:20.466 [main] INFO c.m.c.m.MarketApplication - [logStarted,56] - Started MarketApplication in 22.29 seconds (process running for 23.06)
20:28:20.472 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis
20:28:20.473 [main] INFO c.a.n.c.c.i.CacheData - [<clinit>,99] - nacos.cache.data.init.snapshot = true
20:28:20.473 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-cloud-2112-47.116.184.54_8848] [subscribe] cloud-port+DEFAULT_GROUP+cloud-2112
20:28:20.477 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port, group=DEFAULT_GROUP, cnt=1
20:28:20.478 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port, group=DEFAULT_GROUP
20:28:20.479 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-cloud-2112-47.116.184.54_8848] [subscribe] cloud-port-dev.yml+DEFAULT_GROUP+cloud-2112
20:28:20.479 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port-dev.yml, group=DEFAULT_GROUP, cnt=1
20:28:20.479 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port-dev.yml, group=DEFAULT_GROUP
20:28:20.479 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-cloud-2112-47.116.184.54_8848] [subscribe] cloud-port.yml+DEFAULT_GROUP+cloud-2112
20:28:20.479 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-cloud-2112-47.116.184.54_8848] [add-listener] ok, tenant=cloud-2112, dataId=cloud-port.yml, group=DEFAULT_GROUP, cnt=1
20:28:20.479 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-port.yml, group=DEFAULT_GROUP
20:28:20.814 [RMI TCP Connection(4)-172.16.0.9] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
20:29:08.317 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,91] - >>>>>>>>>>> xxl-job remoting server stop.
20:29:08.363 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,87] - >>>>>>>>>>> xxl-job registry-remove success, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-port', registryValue='http://172.16.0.9:10000/'}, registryResult:ReturnT [code=200, msg=null, content=null]
20:29:08.363 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,105] - >>>>>>>>>>> xxl-job, executor registry thread destroy.
20:29:08.363 [SpringApplicationShutdownHook] INFO c.x.j.c.s.EmbedServer - [stop,117] - >>>>>>>>>>> xxl-job remoting server destroy success.
20:29:08.364 [xxl-job, executor JobLogFileCleanThread] INFO c.x.j.c.t.JobLogFileCleanThread - [run,99] - >>>>>>>>>>> xxl-job, executor JobLogFileCleanThread thread destroy.
20:29:08.365 [xxl-job, executor TriggerCallbackThread] INFO c.x.j.c.t.TriggerCallbackThread - [run,98] - >>>>>>>>>>> xxl-job, executor callback thread destroy.
20:29:08.365 [Thread-11] INFO c.x.j.c.t.TriggerCallbackThread - [run,128] - >>>>>>>>>>> xxl-job, executor retry callback thread destroy.
20:29:08.368 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,95] - De-registering from Nacos Server now...
20:29:08.368 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,272] - [DEREGISTER-SERVICE] cloud-2112 deregistering service cloud-port with instance: Instance{instanceId='null', ip='192.168.174.1', port=10006, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
20:29:08.412 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,115] - De-registration finished.
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,254] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,180] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,182] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,256] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,204] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,149] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,218] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
20:29:08.414 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,223] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
20:29:08.415 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,468] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
20:29:08.415 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,470] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
20:29:08.415 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,487] - Shutdown naming grpc client proxy for uuid->72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea
20:29:08.415 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,331] - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@9414f50[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 16]
20:29:08.415 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,425] - Shutdown rpc client, set status to shutdown
20:29:08.415 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,427] - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@309d5241[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
20:29:08.415 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1724761700850_139.224.212.27_62488
20:29:08.417 [SpringApplicationShutdownHook] INFO c.a.n.c.r.c.g.GrpcClient - [shutdown,187] - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@407e0a2a[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 17]
20:29:08.418 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutDownAndRemove,497] - shutdown and remove naming rpc client for uuid ->72d7e3c9-b3dc-4b33-9847-dc187fd6e9ea
20:29:08.418 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialWatcher - [stop,107] - [null] CredentialWatcher is stopped
20:29:08.418 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialService - [free,91] - [null] CredentialService is freed
20:29:08.418 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,211] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
20:29:08.422 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing ....
20:29:08.424 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ...
20:29:08.428 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed
20:29:08.429 [SpringApplicationShutdownHook] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success,
20:29:08.429 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye