调整凭证接口ip

This commit is contained in:
hecan 2024-09-26 10:35:01 +08:00
parent 85158a75a9
commit 7e27fe43fc
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ import java.util.UUID;
@Service(value = "SenderGlPzmlServiceImpl") @Service(value = "SenderGlPzmlServiceImpl")
public class SenderGlPzmlServiceImpl extends BaseService<SenderGlPzmlEntity, String> implements ISenderGlPzmlService { public class SenderGlPzmlServiceImpl extends BaseService<SenderGlPzmlEntity, String> implements ISenderGlPzmlService {
private static String URLTest="http://39.106.158.149/";//测试环境 private static String URLTest="http://60.205.205.82/";//测试环境 http://39.106.158.149/
private static String URL="http://192.168.42.22/";//正式环境 private static String URL="http://192.168.42.22/";//正式环境
private ISenderGlPzmlDao senderGlPzmlDao; private ISenderGlPzmlDao senderGlPzmlDao;
@ -736,7 +736,7 @@ public class SenderGlPzmlServiceImpl extends BaseService<SenderGlPzmlEntity, Str
jsonObjectData.put("data",jsonArray); jsonObjectData.put("data",jsonArray);
String params = jsonObjectData.toJSONString(); String params = jsonObjectData.toJSONString();
logger.info("调用商学院凭证保存接口请求参数:{}",params); logger.info("调用商学院凭证保存接口请求参数:{}",params);
result = HttpRequest.post(URLTest + "/nky/service/zsApi/saveZJSYPZReimburse?accessToken="+token).header("Content-Type", "application/json;charset=UTF-8").timeout(30000).body(params).execute().body(); result = HttpRequest.post(URLTest + "nky/service/zsApi/saveZJSYPZReimburse?accessToken="+token).header("Content-Type", "application/json;charset=UTF-8").timeout(30000).body(params).execute().body();
logger.info("调用商学院凭证保存接口返回参数:{}",result); logger.info("调用商学院凭证保存接口返回参数:{}",result);
} }
JSONObject jsonObjectResult=new JSONObject(); JSONObject jsonObjectResult=new JSONObject();