Commit 051b69ee authored by 廖旭伟's avatar 廖旭伟

修改php服务访问相关配置

parent eeb82e77
Pipeline #2978 canceled with stages
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
<profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr> <profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<profiles.phpServer>http://192.168.0.98:8090</profiles.phpServer>
<profiles.wx.appId>wxd3d6df0ebaf88f98</profiles.wx.appId> <profiles.wx.appId>wxd3d6df0ebaf88f98</profiles.wx.appId>
<profiles.wx.appSecret>fe4c83e34f89956960aa0f1f9e8f38b1</profiles.wx.appSecret> <profiles.wx.appSecret>fe4c83e34f89956960aa0f1f9e8f38b1</profiles.wx.appSecret>
</properties> </properties>
......
...@@ -40,7 +40,7 @@ import java.util.*; ...@@ -40,7 +40,7 @@ import java.util.*;
public class TerminalController extends BaseJsonBodyController { public class TerminalController extends BaseJsonBodyController {
/** php接口访问地址 */ /** php接口访问地址 */
@Value("${server.php:http://112.19.80.237:8090}") @Value("${phpServer:http://112.19.80.237:8090}")
private String phpServer; private String phpServer;
@Autowired @Autowired
private UserFillHistoryService userFillHistoryService; private UserFillHistoryService userFillHistoryService;
......
...@@ -55,7 +55,7 @@ import java.util.stream.Collectors; ...@@ -55,7 +55,7 @@ import java.util.stream.Collectors;
public class WeChatMiniProgramController extends BaseJsonBodyController { public class WeChatMiniProgramController extends BaseJsonBodyController {
/** php接口访问地址 */ /** php接口访问地址 */
@Value("${server.php:http://192.168.0.98:8090}") @Value("${phpServer:http://192.168.0.98:8090}")
private String phpServer; private String phpServer;
private static String ACTION = "/wechat/homebase/realInfo"; private static String ACTION = "/wechat/homebase/realInfo";
@Autowired @Autowired
......
...@@ -47,7 +47,7 @@ public class UserFillHistoryController extends BaseCRUDJsonBodyMappingController ...@@ -47,7 +47,7 @@ public class UserFillHistoryController extends BaseCRUDJsonBodyMappingController
@Autowired @Autowired
private ParamService paramService; private ParamService paramService;
@Value("${server.php:http://192.168.0.98:8090}") @Value("${phpServer:http://192.168.0.98:8090}")
private String phpServer; private String phpServer;
......
...@@ -54,4 +54,5 @@ hystrix: ...@@ -54,4 +54,5 @@ hystrix:
wx: wx:
appId: @profiles.wx.appId@ appId: @profiles.wx.appId@
appSecret: @profiles.wx.appSecret@ appSecret: @profiles.wx.appSecret@
phpServer: @profiles.phpServer@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment