FengChaoYu hace 3 meses
padre
commit
02a36b5efc

+ 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