浏览代码

fix(config):调整dev、test数据库地址

wangyc 7 年之前
父节点
当前提交
62a9b1927a

+ 1 - 0
mall-search/src/main/java/com/uas/search/controller/SearchController.java

@@ -72,6 +72,7 @@ public class SearchController {
 	 * @return idPage
 	 * @return idPage
 	 * @throws IOException 输入异常
 	 * @throws IOException 输入异常
 	 */
 	 */
+	@Deprecated
 	@RequestMapping("/productIds/b2b")
 	@RequestMapping("/productIds/b2b")
 	@ResponseBody
 	@ResponseBody
 	public SPage<Long> searchProductIdsB2B(String keyword, String tableName, Integer page, Integer size,
 	public SPage<Long> searchProductIdsB2B(String keyword, String tableName, Integer page, Integer size,

+ 1 - 1
mall-search/src/main/resources/application.yml

@@ -14,7 +14,7 @@ spring:
    max-request-size: 512MB
    max-request-size: 512MB
   encoding:
   encoding:
     charset: UTF-8
     charset: UTF-8
-     
+
 security:
 security:
  basic:
  basic:
   enabled: true
   enabled: true

+ 1 - 1
mall-search/src/main/resources/config/application-dev.properties

@@ -1,4 +1,4 @@
-datasource.url=jdbc:mysql://192.168.253.6:3306/mall_test_dev?characterEncoding=utf-8&useSSL=false
+datasource.url=jdbc:mysql://192.168.253.12:3306/mall_test_dev?characterEncoding=utf-8&useSSL=false
 datasource.username=root
 datasource.username=root
 datasource.password=select111***
 datasource.password=select111***
 datasource.driverClassName=com.mysql.jdbc.Driver
 datasource.driverClassName=com.mysql.jdbc.Driver

+ 1 - 1
mall-search/src/main/resources/config/application-test.properties

@@ -1,4 +1,4 @@
-datasource.url=jdbc:mysql://192.168.253.6:3306/mall_test_dev?characterEncoding=utf-8&useSSL=false
+datasource.url=jdbc:mysql://192.168.253.12:3306/mall_test_dev?characterEncoding=utf-8&useSSL=false
 datasource.username=root
 datasource.username=root
 datasource.password=select111***
 datasource.password=select111***
 datasource.driverClassName=com.mysql.jdbc.Driver
 datasource.driverClassName=com.mysql.jdbc.Driver