记得上下班打卡 | git大法好,push需谨慎

Commit b6e95c0a authored by 胡佳晨's avatar 胡佳晨

提交 实名认证

parent b0861ffc
package com.liquidnet.commons.lang.util;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
public class IdentityUtils {
private String aliThirdUrl = "https://1.api.apistore.cn/idcard3";
private String aliThirdAppCode = "cc29fa8cb494468289dec09df46922b5";
public String aliThird(String realName,String cardNo){
MultiValueMap<String, String> params = new LinkedMultiValueMap<>();
params.add("realName",realName);
params.add("cardNo",cardNo);
MultiValueMap<String, String> header = new LinkedMultiValueMap<>();
header.add("Authorization","APPCODE "+aliThirdAppCode);
return HttpUtil.post(aliThirdUrl,params,header);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment