cn.fangxinqian.operator.sdk.sign.SignService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-operator Show documentation
Show all versions of sdk-operator Show documentation
identity contract sign smssend file convert
package cn.fangxinqian.operator.sdk.sign;
import cn.fangxinqian.operator.sdk.sign.vo.SignResultVO;
import cn.fangxinqian.operator.sdk.constant.UrlConstant;
import cn.fangxinqian.operator.sdk.sign.dto.SignDTO;
import cn.fangxinqian.operator.sdk.utils.OkHttp;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import java.io.IOException;
/**
* @Author NieZhiLiang
* @Email [email protected]
* @GitHub https://github.com/niezhiliang
* @Date 2019-10-09 8:39 上午
*/
public class SignService {
/**
* 签署的方法 1.0版本
* @param signDTO
* @return
* @throws IOException
*/
public static SignResultVO doSign_1(SignDTO signDTO) throws IOException {
String result = OkHttp.doPost(UrlConstant.SIGN_ONLINE, JSON.toJSONString(signDTO));
return JSONObject.parseObject(result, SignResultVO.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy