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

Commit 3d30665d authored by jiangxiulong's avatar jiangxiulong

Merge remote-tracking branch 'origin/dev' into dev

parents 96c93548 b6e95c0a
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