Forráskód Böngészése

区分pro环境和env环境

龚成明 3 éve
szülő
commit
0c0a2e8080

+ 1 - 1
src/main/test/http/SwapPathTest.http

@@ -1,5 +1,5 @@
 ###
-POST http://localhost:8088/swappath/findLevel2PathByLpAddress
+POST {{ baseUrl }}/swappath/findLevel2PathByLpAddress
 Content-Type: application/x-www-form-urlencoded
 
 lp_address=0x397FF1542f962076d0BFE58eA045FfA2d347ACa0&timestamp=12345&auth=338209cfc53e9db6d344073335e47cf0

+ 8 - 0
src/main/test/http/http-client.env.json

@@ -0,0 +1,8 @@
+{
+  "dev": {
+    "baseUrl": "http://localhost:8088"
+  },
+  "pro": {
+    "baseUrl": "http://www.410eth.com:8088"
+  }
+}