feat: 新增充值退款功能完整实现
- 新增充值退款数据库表结构及相关枚举字段 - 新增充值退款服务层核心逻辑(创建、审核、退款、回调处理) - 新增充值退款后台管理页面及操作入口 - 新增充值退款前端页面及样式调整 - 新增充值退款相关测试用例 - 新增充值退款策略校验及网关处理逻辑
这个提交包含在:
@@ -649,7 +649,7 @@
|
||||
<span>系统会自动核对微信已退金额,不会重复退款。</span>
|
||||
</div>
|
||||
<div class="po-footer-actions">
|
||||
{if in_array($row.status, ['paid', 'refunding', 'refunded', 'refund_failed'])}
|
||||
{if $row.scene != 'recharge' && in_array($row.status, ['paid', 'refunding', 'refunded', 'refund_failed'])}
|
||||
<button type="button" class="btn btn-info js-action-sync" data-id="{$row.id}">
|
||||
<i class="fa fa-refresh"></i> 同步微信状态
|
||||
</button>
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
</div>
|
||||
<div class="po-guide-body">
|
||||
<strong>操作指引:</strong>
|
||||
{if $rechargeOnly}展示用户微信在线充值记录。充值退款功能正在完善,暂不可通过退款台账发起充值退款。{else /}展示全站微信支付与原路退款记录。充值流水暂不可通过此处发起退款。{/if}
|
||||
{if $rechargeOnly}可对已支付的充值订单申请原路退款,提交后占用余额,审核通过后向微信退款。{else /}展示全站微信支付与原路退款记录。充值退款请使用充值订单中的专用入口。{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -201,6 +201,7 @@
|
||||
<!-- 表格 -->
|
||||
<table id="table" class="table table-striped table-bordered table-hover"
|
||||
data-operate-detail="{:$auth->check('pay_order/detail')}"
|
||||
data-buttons-rechargerefund="{:$auth->check('recharge_refund/create')}"
|
||||
data-operate-sync="{:$auth->check('pay_order/sync')}"
|
||||
data-operate-retryrefund="{:$auth->check('pay_order/retryrefund')}"
|
||||
width="100%">
|
||||
|
||||
在新工单中引用
屏蔽一个用户