feat: 完善协议管理、师傅资质认证、分账配置并完成测试环境全量部署与同步
这个提交包含在:
@@ -37,11 +37,41 @@
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-12 col-sm-4">结算账户:</label>
|
||||
<div class="col-xs-12 col-sm-8">
|
||||
<p class="form-control-static">{$channelList[$row.channel]|default=$row.channel} · {$row.account|htmlentities}</p>
|
||||
<p class="form-control-static">{$channelList[$row.channel]|default=$row.channel} · {$row.account|default='微信零钱'|htmlentities}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{if !empty($row.out_bill_no)}
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-12 col-sm-4">商户转账单号:</label>
|
||||
<div class="col-xs-12 col-sm-8">
|
||||
<p class="form-control-static"><code>{$row.out_bill_no|htmlentities}</code></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-12 col-sm-4">微信转账状态:</label>
|
||||
<div class="col-xs-12 col-sm-8">
|
||||
<p class="form-control-static"><span class="label label-info">{$transferStateLabel|htmlentities}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if !empty($row.fail_reason) || !empty($row.fail_code)}
|
||||
<div class="alert alert-danger" style="margin-bottom:12px; border-radius:6px;">
|
||||
<i class="fa fa-exclamation-triangle"></i> <strong>上次微信转账失败 / 异常诊断</strong>
|
||||
{if !empty($row.fail_code)} <span class="label label-danger">{$row.fail_code|htmlentities}</span>{/if}
|
||||
<div style="margin-top:4px; line-height:1.6;">{$row.fail_reason|htmlentities}</div>
|
||||
{if !empty($row.last_sync_time)}
|
||||
<div style="margin-top:4px; font-size:12px; opacity:0.85;">最近核验时间:{:date('Y-m-d H:i:s', $row.last_sync_time)}({if !empty($row.retry_count)}已重试 {$row.retry_count} 次{/if})</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if $row.status != 'wait'}
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-12 col-sm-2">已填批注:</label>
|
||||
@@ -60,7 +90,15 @@
|
||||
<h4 class="panel-title"><i class="fa fa-check-square-o"></i> 财务审核操作</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{if $row.status == 'wait'}
|
||||
{if $row.transfer_state == 'UNKNOWN_TIMEOUT'}
|
||||
<p class="text-danger" style="margin-top:0"><i class="fa fa-warning"></i> 该笔提现上次请求微信网关超时,可能已被受理。为严防双倍出款,系统已锁定重发,请先选择「同步微信转账最新状态」核实后再决定后续操作。</p>
|
||||
{elseif ($row.transfer_state == 'FAIL' || $row.transfer_state == 'NOT_FOUND') && !empty($useWxApi) /}
|
||||
<p class="text-warning" style="margin-top:0"><i class="fa fa-info-circle"></i> 上次微信转账未成功出款。在排查修复上方失败原因(如商户余额不足、IP 白名单或配置错误)后,可选择「重新发起微信商家转账」使用递增单号安全重试,或选择驳回退回师傅余额。</p>
|
||||
{elseif !empty($useWxApi) && $row.status == 'wait' /}
|
||||
<p class="text-muted" style="margin-top:0">选择「审核通过并发起微信商家转账」将直接调用微信支付 V3(场景 1005 佣金报酬)向师傅发起转账,师傅在小程序「我的钱包」点击确认收款后即自动入账微信零钱。</p>
|
||||
{elseif $row.channel == 'wechat' && !empty($row.out_bill_no) /}
|
||||
<p class="text-muted" style="margin-top:0">该笔提现已发起微信商家转账,正在等待师傅在小程序「我的钱包」确认收款。可点击「同步微信最新状态」刷新结果,或在师傅收款前选择「撤销转账并退回余额」。</p>
|
||||
{elseif $row.status == 'wait' /}
|
||||
<p class="text-muted" style="margin-top:0">审核通过后资金保持冻结,待打款后标记「打款完成」划出冻结金额;驳回将自动退回师傅钱包余额。</p>
|
||||
{else /}
|
||||
<p class="text-muted" style="margin-top:0">该单已审核通过,请线下完成打款后标记「打款完成」,系统将自动划出冻结金额;如审核有误可驳回,将自动退回师傅余额。</p>
|
||||
@@ -70,13 +108,15 @@
|
||||
<label class="control-label col-xs-12 col-sm-2">审核操作:</label>
|
||||
<div class="col-xs-12 col-sm-10">
|
||||
<div class="radio" style="margin-top:5px">
|
||||
{foreach name="flowOptions" item="op"}
|
||||
{foreach name="flowOptions" item="op" key="idx"}
|
||||
{if $op == 'pass'}
|
||||
<label><input name="row[status]" type="radio" value="pass" checked /> 审核通过</label>
|
||||
<label><input name="row[status]" type="radio" value="pass" {if $idx==0}checked{/if} /> {if !empty($row.out_bill_no)}重新发起微信商家转账{elseif !empty($useWxApi)/}审核通过并发起微信商家转账{else/}审核通过{/if}</label>
|
||||
{elseif $op == 'sync' /}
|
||||
<label><input name="row[status]" type="radio" value="sync" {if $idx==0}checked{/if} /> 同步微信转账最新状态</label>
|
||||
{elseif $op == 'reject' /}
|
||||
<label><input name="row[status]" type="radio" value="reject" /> 驳回(退回余额)</label>
|
||||
<label><input name="row[status]" type="radio" value="reject" {if $idx==0}checked{/if} /> {if !empty($row.out_bill_no)}撤销/核查微信转账并驳回(退回余额){else/}驳回(退回余额){/if}</label>
|
||||
{elseif $op == 'done' /}
|
||||
<label><input name="row[status]" type="radio" value="done" checked /> 标记打款完成</label>
|
||||
<label><input name="row[status]" type="radio" value="done" {if $idx==0}checked{/if} /> 标记线下打款完成</label>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
在新工单中引用
屏蔽一个用户