feat(after-sale): 支持撤销售后工单并接入人机验证

This commit is contained in:
kate522 committed 2026-10-07 09:20:59 +08:00
1 parent 918ca371be
commit 8023e2e472
14 files changed
+427 -82

No files matched your search

@@ -150,4 +150,13 @@ $status_options = [
<div class="aksrt-orders-page__empty" data-aksrt-order-list><i class="fa fas fa-file-alt" aria-hidden="true"></i><h3><?php esc_html_e('还没有购买记录', 'aksrt'); ?></h3><p><?php esc_html_e('购买内容或开通权益后,订单会出现在这里。', 'aksrt'); ?></p></div>
<?php endif; ?>
<?php
// 售后人机验证挂载点(申请 / 撤销):场景未启用时 aksrt_render_captcha 无输出,
// 前端 order-after-sale.js 以挂载点存在与否决定是否先过验证。
if (function_exists('aksrt_render_captcha')) {
aksrt_render_captcha('after_sale_apply');
aksrt_render_captcha('after_sale_cancel');
}
?>
</div>