测试营业执照

上级 efdef304
......@@ -7,6 +7,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.mmc.iuav.http.HttpHelper;
import com.mmc.iuav.http.HttpsRequestUtil;
import com.mmc.iuav.user.constant.UserSystemConstant;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.http.client.methods.HttpHead;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -23,6 +24,7 @@ import java.util.regex.Pattern;
* @Date: 2023/5/17 13:37
*/
@Component
@Slf4j
public class QccEntAuthUtil {
@Autowired
......@@ -104,6 +106,7 @@ public class QccEntAuthUtil {
String bodys = "{\"image\":\""+businessLicenseUrl+"\"}";
try {
String response = HttpsRequestUtil.httpsRequest(url, method, headers, bodys);
log.info("response11111111111111: " + response);
//获取response的body
if(response.equals("Invalid Result - invalid business license")){
return null;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论