feat: 移除步梯搬运费,所有商品搬运费改为0元

- 清除所有商品的步梯搬运收费配置,floor_fee和free_floor全部置0
- 订单详情、服务详情页移除步梯搬运费相关显示项
- 提现规则调整为全部金额需后台审核,取消小额免审自动转账
- 新增师傅端收支账单明细页面,支持查看结算和提现记录
- 更新提现相关配置,降低最低提现金额至0.1元,取消提现次数限制
这个提交包含在:
2026-11-30 10:49:05 +08:00
父节点 f6cdc99f0d
当前提交 48e54631b6
共有 28 个文件被更改,包括 1219 次插入 和 1074 次删除

查看文件

@@ -1586,45 +1586,17 @@ class Master extends MasterBase
return;
}
// 3. 若命中「小额免审自动发起微信转账」,在本地事务外自动发起商家转账(失败必落库记录中文原因并明确回传,严禁静默吞掉)
$autoInitiated = false;
$canConfirmNow = false;
$autoFailReason = '';
if (
$channel === 'wechat'
&& $wdCfg['transfer_mode'] === 'wx_mch_transfer'
&& $wdCfg['audit_mode'] === 'auto_small'
&& $amount <= (float)$wdCfg['auto_max_amount']
) {
try {
$autoWd = PaymentService::initiateWithdrawTransfer($withdrawId, '小额免审自动发起微信商家转账');
$autoInitiated = true;
$formattedAuto = $this->formatWithdrawItem($autoWd);
$canConfirmNow = !empty($formattedAuto['can_confirm']);
} catch (\Throwable $ae) {
$autoFailReason = trim((string)$ae->getMessage());
Db::name('withdraw')->where('id', $withdrawId)->update([
'audit_msg' => mb_substr('【小额免审自动转账失败】' . $autoFailReason, 0, 480),
'updatetime' => time(),
]);
\think\Log::error('[Master::withdraw auto_small] withdraw_id=' . $withdrawId . ' 自动转账失败: ' . $autoFailReason);
}
}
if ($canConfirmNow) {
$tipMsg = '提现已自动审核通过,请立即确认收款入账微信零钱';
} elseif ($autoFailReason !== '') {
$tipMsg = '提现申请已提交并冻结金额,但微信自动转账发起失败:' . $autoFailReason . ',已记录原因待财务核查处理';
} else {
$tipMsg = '提现申请已提交,审核通过后请在钱包内确认收款';
}
// 3. 所有提现申请均需经过后台财务审核后打款
$tipMsg = $channel === 'bank'
? '提现申请已提交,审核通过后打款至银行卡'
: '提现申请已提交,审核通过后请在钱包内确认收款';
$this->success($tipMsg, [
'withdraw_id' => $withdrawId,
'arrive_amount' => $arrive,
'auto_initiated' => $autoInitiated,
'can_confirm' => $canConfirmNow,
'auto_fail_reason' => $autoFailReason,
'auto_initiated' => false,
'can_confirm' => false,
'auto_fail_reason' => '',
]);
}