公章管理测试
This commit is contained in:
@@ -96,9 +96,7 @@ public class SealUtil {
|
||||
//生成签名鉴权方式的的header
|
||||
Map<String, String> header = EsignHttpHelper.signAndBuildSignAndJsonHeader(eSignAppId,eSignAppSecret,jsonParm,requestType.name(),apiaddr,true);
|
||||
//发起接口请求
|
||||
EsignHttpResponse response = EsignHttpHelper.doCommHttp(eSignHost, apiaddr, requestType, jsonParm, header, true);
|
||||
System.out.println(response);
|
||||
return response;
|
||||
return EsignHttpHelper.doCommHttp(eSignHost, apiaddr, requestType, jsonParm, header, true);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -114,6 +112,7 @@ public class SealUtil {
|
||||
return EsignHttpHelper.doUploadHttp(uploadUrl,requestType,esignFileBean.getFileBytes(),esignFileBean.getFileContentMD5(), EsignHeaderConstant.CONTENTTYPE_STREAM.VALUE(),true);
|
||||
}
|
||||
public static void main(String[] args) throws Exception {
|
||||
queryAuthProcess("OF-2b1e52987408005c");
|
||||
// createOrgByImage();
|
||||
// getOrgEmpower();
|
||||
// queryAuthProcess("OF-2b00885895080028");
|
||||
|
||||
Reference in New Issue
Block a user