From 024cf8ec81fcc467e61e2507cd303672c67501c9 Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Wed, 18 Sep 2024 10:51:14 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/backEnd/gz-dyh --- dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java b/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java index dd71270..150be21 100644 --- a/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java +++ b/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java @@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import java.util.HashMap; @@ -14,7 +15,8 @@ @Slf4j @Service public class GridUserService { - private String gridUrl = "http://219.137.166.84:8061"; + @Value("${grid.url:http://219.137.166.84:8061}") + private String gridUrl; private String testUrl = "http://183.2.142.46:9007"; public R<GridUserVo> getUserInfo(GridTokenVo gridTokenVo) { @@ -40,7 +42,7 @@ public HeadVo initHeadVo() { HeadVo headVo = new HeadVo(); headVo.setUsername("mtxt001"); - headVo.setPassword("aek8CdcaM"); + headVo.setPassword("kd*cCoAb"); headVo.setRequestId(UUID.randomUUID().toString()); headVo.setSource("string"); return headVo; -- Gitblit v1.8.0