支付流程
<h2>支付相关任务</h2>
<p>checkPaySend 判断是否发短信
qrcode_insurequery 二维码支付查询
paysend 验证码获取
checkCode 验证码确认</p>
<h1>支付不要二维码显示文字</h1>
<p>payUrl 不返回信息,返回到 payRemark 字段
entity.payInfo.payRemark="返回支付的信息"
entity.payInfo.payUrl 不返回</p>
<h2>支付流程</h2>
<p>根据万家配置[<strong>支付-前短信确认</strong>] 判断是否发送短信.</p>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/90bb1c03bdc1ca42a6bb70e9a5e8c6b8?showdoc=.jpg" alt="" /></p>
<p>如果<strong>未勾选</strong>,则直接调用 <strong>qrcode_insurequery</strong> 任务 获取支付二维码.</p>
<p>如果进行了<strong>勾选</strong>. 则会先调用 <strong>checkPaySend</strong> 任务.</p>
<pre><code class="language-java">if(autoTask.taskType.contains("checkPaySend")){
if( "1" != offSiteFlag && ((areaCode2=="11" && app_type=="1") || "true".equals(realname_authentication ) ||"03".equals(isSmsAction)) ){
throw new com.baoxian.exception.BWException(810001,"需要发送短信");
}else{
throw new com.baoxian.exception.BWException(810002,"不需要发送短信");
}
}</code></pre>
<p>万家会根据收到的结果,来确认是否展示短信验证码录入界面.
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/cd25d493539cc6ab301d8a0997cd9f7a?showdoc=.jpg" alt="" />
在该界面,点击<strong>发送</strong>,触发短信发送 <strong>paysend</strong> 任务.
输入验证码后,点击<strong>确定</strong>,触发验证码校验 <strong>checkCode</strong> 任务.
验证码校验通过后,弹出支付二维码.用户进行支付.</p>