法大大-电子签章流程
<h1>电子签章-完整流程:</h1>
<h2>1.开户 (法大大返回用户唯一编号,后期生成合同、盖章需要该编号)</h2>
<h4>a.个人,认证(姓名+身份证号+手机号),手机号验证码确认</h4>
<h4>b.企业,认证,认证通过后,确认【自动签署合同】协议 (这一步很复杂,需要产品设计原型+多次测试)</h4>
<h4>c.异步回调</h4>
<ul>
<li>认证通知</li>
</ul>
<p>字段解释地址:
<code>https://open.fadada.com/index.html#/portal/documentCenter/JAMZE3RG20/J7MJTOS47EGZHFI7</code></p>
<p>回调样例:</p>
<pre><code> {
&quot;appId&quot;: &quot;408180&quot;,
&quot;authenticationType&quot;: &quot;2&quot;,
&quot;certStatus&quot;: &quot;1&quot;,
&quot;customerId&quot;: &quot;7A484D31203A0065E36BBB506FD2ECC4&quot;,
&quot;payStatus&quot;: &quot;&quot;,
&quot;serialNo&quot;: &quot;d75d7e18081e4966ba861aee52669908&quot;,
&quot;sign&quot;: &quot;RUQyQTM1NDVGNEI4RDdCRDg2RTc2NzRERjg3NDlDMTY3N0VDMkMyNg==&quot;,
&quot;status&quot;: &quot;4&quot;,
&quot;statusDesc&quot;: &quot;&quot;,
&quot;taskStatus&quot;: &quot;1&quot;,
&quot;timestamp&quot;: &quot;20240822174246&quot;
}
</code></pre>
<ul>
<li>文档签署结果</li>
</ul>
<p>字段解释地址:
<code>https://open.fadada.com/index.html#/portal/documentCenter/IHLWUKC27D/VPRIC7HKFX5VJ4K1</code></p>
<p>回调样例:</p>
<pre><code>{
&quot;contract_id&quot;: &quot;AAABBB512&quot;,
&quot;download_url&quot;: &quot;https://testapi.fadada.com/api//getdocs.action?app_id=408180&amp;timestamp=20240822175744&amp;v=2.0&amp;msg_digest=RjkwMkQzMjQzOTg4QTc1RjM2RDZBNUZDMDYzOEI0MUU4OTY2N0VDQQ==&amp;transaction_id=CCCDDD512&amp;send_app_id=null&quot;,
&quot;msg_digest&quot;: &quot;RjkwMkQzMjQzOTg4QTc1RjM2RDZBNUZDMDYzOEI0MUU4OTY2N0VDQQ==&quot;,
&quot;result_code&quot;: &quot;3000&quot;,
&quot;result_desc&quot;: &quot;文档签署成功&quot;,
&quot;timestamp&quot;: &quot;20240822175744&quot;,
&quot;transaction_id&quot;: &quot;CCCDDD512&quot;,
&quot;viewpdf_url&quot;: &quot;https://testapi.fadada.com/api//viewdocs.action?app_id=408180&amp;timestamp=20240822175744&amp;v=2.0&amp;msg_digest=RjkwMkQzMjQzOTg4QTc1RjM2RDZBNUZDMDYzOEI0MUU4OTY2N0VDQQ==&amp;transaction_id=CCCDDD512&amp;send_app_id=null&quot;
}</code></pre>
<h2>2.合同模版</h2>
<h4>a.在法大大管理端,上传 【pdf】 模版</h4>
<h4>b.创建需要填充数据的文本框(后期需要往合同中填充数据)</h4>
<h2>3.获取模版信息</h2>
<h4>a.对应模版内的数据</h4>
<pre><code> {
&quot;code&quot;: 1,
&quot;data&quot;: &quot;[{\&quot;key\&quot;:\&quot;fieldName1\&quot;,\&quot;name\&quot;:\&quot;甲方名称\&quot;,\&quot;pageBegin\&quot;:1,\&quot;required\&quot;:true,\&quot;type\&quot;:\&quot;input\&quot;,\&quot;value\&quot;:\&quot;\&quot;,\&quot;xs\&quot;:273.5,\&quot;ys\&quot;:163.0},{\&quot;key\&quot;:\&quot;fieldName2\&quot;,\&quot;name\&quot;:\&quot;统一社会信用代码\&quot;,\&quot;pageBegin\&quot;:1,\&quot;required\&quot;:true,\&quot;type\&quot;:\&quot;input\&quot;,\&quot;value\&quot;:\&quot;\&quot;,\&quot;xs\&quot;:632.0,\&quot;ys\&quot;:162.0},{\&quot;key\&quot;:\&quot;fieldName3\&quot;,\&quot;name\&quot;:\&quot;乙方名称\&quot;,\&quot;pageBegin\&quot;:1,\&quot;required\&quot;:true,\&quot;type\&quot;:\&quot;input\&quot;,\&quot;value\&quot;:\&quot;\&quot;,\&quot;xs\&quot;:274.0,\&quot;ys\&quot;:197.0},{\&quot;key\&quot;:\&quot;fieldName4\&quot;,\&quot;name\&quot;:\&quot;合同编号\&quot;,\&quot;pageBegin\&quot;:1,\&quot;required\&quot;:true,\&quot;type\&quot;:\&quot;input\&quot;,\&quot;value\&quot;:\&quot;XXX\&quot;,\&quot;xs\&quot;:676.0,\&quot;ys\&quot;:77.0},{\&quot;key\&quot;:\&quot;fieldName5\&quot;,\&quot;name\&quot;:\&quot;甲方签署日期\&quot;,\&quot;pageBegin\&quot;:2,\&quot;required\&quot;:false,\&quot;type\&quot;:\&quot;input\&quot;,\&quot;value\&quot;:\&quot;\&quot;,\&quot;xs\&quot;:195.5,\&quot;ys\&quot;:318.0},{\&quot;key\&quot;:\&quot;fieldName6\&quot;,\&quot;name\&quot;:\&quot;乙方签署日期\&quot;,\&quot;pageBegin\&quot;:2,\&quot;required\&quot;:false,\&quot;type\&quot;:\&quot;input\&quot;,\&quot;value\&quot;:\&quot;\&quot;,\&quot;xs\&quot;:617.5,\&quot;ys\&quot;:316.0}]&quot;,
&quot;msg&quot;: &quot;success&quot;
}</code></pre>
<ul>
<li>填充数据</li>
</ul>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=92ec66dd006551b6ead42f0ff85c1b93&amp;file=file.png" alt="" /></p>
<ul>
<li>填充后的样例
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=69bf2ce84ecf0bfe4f4e0a0d4a91d514&amp;file=file.png" alt="" /></li>
</ul>
<h4>b.创建合同,填充数据</h4>
<h2>4.合同签署</h2>
<h4>a.个人(手机号接收验证码,验证正确性,确认签署)</h4>
<h4>b.企业(开户、认证通过后,自动签署)</h4>
<h2>5.合同归档(归档后,不可改变合同,)</h2>
<h4>归档接口的意义是告知法大大贵司这边签署完成,法大大证据中心进行存证</h4>
<h2>6.合同下载 pdf文件</h2>