[回退更改](master): 回退到最新版本

回退错误代码
master
土豆兄弟 3 years ago
parent 5661e7b1dd
commit 9dd941578d

@ -8,8 +8,6 @@ import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.util.EntityUtils;
import java.util.Map;
/**
* @author wjt
* @date 2021/8/6

@ -2,7 +2,6 @@ package me.zhengjie.modules.uploadnew.task;
import cn.hutool.json.JSONUtil;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.modules.formdata.service.dto.FormdataDto;
import me.zhengjie.modules.uploadnew.httpRequest.HttpClient;
import me.zhengjie.modules.uploadnew.service.dto.OosDTO;
import me.zhengjie.utils.ConvertUtil;
@ -12,7 +11,6 @@ import org.springframework.stereotype.Component;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.util.List;
@Component
@Scope("prototype")
@ -30,7 +28,7 @@ public class TransFormDataTask {
}
private void runTask(OosDTO oosDTO) {
// String jsonStr = JSONUtil.toJsonStr(oosDTO);
// HttpClient.doPost(jsonStr, "utf-8");
String jsonStr = JSONUtil.toJsonStr(oosDTO);
HttpClient.doPost(jsonStr, "utf-8");
}
}

Loading…
Cancel
Save