FengChaoYu преди 3 месеца
родител
ревизия
02a36b5efc
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/zfire/mall/manager/logic/trade/LoginOrderLogic.java
  2. 2 0
      src/main/resources/bootstrap.properties

+ 1 - 1
src/main/java/com/zfire/mall/manager/logic/trade/LoginOrderLogic.java

@@ -77,7 +77,7 @@ public class LoginOrderLogic {
     TradeCategoryConfigService tradeCategoryConfigService;
     @Resource
     LbsAmapService lbsAmapService;
-    @Value("${lbs.web.key}")
+//    @Value("${lbs.web.key}")
     private String lbsWebKey;
     private final String url = "https://restapi.amap.com";
 

+ 2 - 0
src/main/resources/bootstrap.properties

@@ -5,3 +5,5 @@ spring.profiles.active=dev
 spring.application.name=gj-supply-service
 spring.main.allow-bean-definition-overriding=true
 
+#高德
+lbs.web.key=b772f8b0ace6bc96c04ae8e48f241e36