Commit 8d784b2d7e59857c01315db8086f2983d6178eb8

Authored by liujun001
1 parent b87ba607

优化车辆信息,将客户的数据拉入我们的库

trash-admin/src/main/resources/application-local.yml
... ... @@ -20,9 +20,8 @@ trash:
20 20 #remotePath: http://175.6.47.84:8008
21 21 #token: durable:auth:token:eyJhbGciOiJIUzUxMiJ9.eyJ5ZWEiOiJkdXJhYmxlIiwiZXhwIjo0MTAyNDE1OTk5LCJjcmVhdGVkIjoxNjg1NDE2NjEzMzU1fQ.58-J0KKfsK2pQhDQAzaBaUj-oFWMbYF1YzMAcshmcfidIkW16TZWIVhAVKPvCJvWfG54x7xB-ETxKCDLFnSctQ
22 22 #remotePath: http://cszhatu.natapp1.cc
23   - remotePath: http://175.178.228.30:8008
24   - token: Bearer durable:auth:token:eyJhbGciOiJIUzUxMiJ9.eyJ5ZWEiOiJjc3poIiwiZXhwIjo0MTAyNDE1OTk5LCJjcmVhdGVkIjoxNjg0NDU5MjEzNzQ2fQ.85oIrOnU7cz7L_-IGt4Bt1LXDTkFtyrdqNt05K0v9-4nsrrzzpbjbemK-yMlbnUpe4Fx2FFES-Wbw8Yr8ML69w
25   -
  23 + remotePath: http://183.66.242.6:14601
  24 + token: durable:auth:token:eyJhbGciOiJIUzUxMiJ9.eyJ5ZWEiOiJjc3poIiwiZXhwIjo0MTAyNDE1OTk5LCJjcmVhdGVkIjoxNjg0NDU5MjEzNzQ2fQ.85oIrOnU7cz7L_-IGt4Bt1LXDTkFtyrdqNt05K0v9-4nsrrzzpbjbemK-yMlbnUpe4Fx2FFES-Wbw8Yr8ML69w
26 25  
27 26 # 数据源配置
28 27 spring:
... ... @@ -33,9 +32,9 @@ spring:
33 32 # 主库数据源
34 33 master:
35 34 # url: jdbc:mysql://localhost:3306/trash?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
36   - url: jdbc:mysql://127.0.0.1:3306/trash?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
  35 + url: jdbc:mysql://192.168.168.141:3306/trash?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
37 36 username: root
38   - password: 1
  37 + password: root
39 38 # 从库数据源
40 39 slave:
41 40 # 从数据源开关/默认关闭
... ...
trash-garbage/src/main/java/com/trash/garbage/service/GarTransportationEnterpriseService.java 0 → 100644
  1 +package com.trash.garbage.service;
  2 +
  3 +import com.trash.enterprise.domain.TransportationEnterprise;
  4 +
  5 +import java.util.List;
  6 +
  7 +public interface GarTransportationEnterpriseService {
  8 + String requestStr(String tel,String adCodes,String officeAddress);
  9 +
  10 + List<TransportationEnterprise> request(String tel,String adCodes,String officeAddress);
  11 +
  12 +}
... ...