| | |
| | | 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; |
| | |
| | | @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) { |
| | |
| | | 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; |