Commit 8d784b2d7e59857c01315db8086f2983d6178eb8
1 parent
b87ba607
优化车辆信息,将客户的数据拉入我们的库
Showing
2 changed files
with
16 additions
and
5 deletions
trash-admin/src/main/resources/application-local.yml
| @@ -20,9 +20,8 @@ trash: | @@ -20,9 +20,8 @@ trash: | ||
| 20 | #remotePath: http://175.6.47.84:8008 | 20 | #remotePath: http://175.6.47.84:8008 |
| 21 | #token: durable:auth:token:eyJhbGciOiJIUzUxMiJ9.eyJ5ZWEiOiJkdXJhYmxlIiwiZXhwIjo0MTAyNDE1OTk5LCJjcmVhdGVkIjoxNjg1NDE2NjEzMzU1fQ.58-J0KKfsK2pQhDQAzaBaUj-oFWMbYF1YzMAcshmcfidIkW16TZWIVhAVKPvCJvWfG54x7xB-ETxKCDLFnSctQ | 21 | #token: durable:auth:token:eyJhbGciOiJIUzUxMiJ9.eyJ5ZWEiOiJkdXJhYmxlIiwiZXhwIjo0MTAyNDE1OTk5LCJjcmVhdGVkIjoxNjg1NDE2NjEzMzU1fQ.58-J0KKfsK2pQhDQAzaBaUj-oFWMbYF1YzMAcshmcfidIkW16TZWIVhAVKPvCJvWfG54x7xB-ETxKCDLFnSctQ |
| 22 | #remotePath: http://cszhatu.natapp1.cc | 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 | spring: | 27 | spring: |
| @@ -33,9 +32,9 @@ spring: | @@ -33,9 +32,9 @@ spring: | ||
| 33 | # 主库数据源 | 32 | # 主库数据源 |
| 34 | master: | 33 | master: |
| 35 | # url: jdbc:mysql://localhost:3306/trash?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true | 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 | username: root | 36 | username: root |
| 38 | - password: 1 | 37 | + password: root |
| 39 | # 从库数据源 | 38 | # 从库数据源 |
| 40 | slave: | 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 | +} |