feat: 新增师傅入驻审核与接单状态联动功能
- 新增师傅资质审核模块及权限 - 未审核通过的师傅默认禁用接单状态 - 新增售后退款申诉功能与相关界面 - 新增用户钱包管理及充值功能 - 更新服务定价矩阵相关数据库结构 - 修复微信支付证书验证问题
这个提交包含在:
@@ -183,15 +183,23 @@ class User extends Backend
|
||||
->limit(8)
|
||||
->select();
|
||||
|
||||
$recentWalletLogs = Db::name('wallet_log')
|
||||
->where('user_type', 'user')
|
||||
->where('user_id', $uid)
|
||||
->order('id desc')
|
||||
->limit(6)
|
||||
->select();
|
||||
|
||||
$this->view->assign([
|
||||
'row' => $row,
|
||||
'masterProfile' => $masterProfile,
|
||||
'merchantProfile' => $merchantProfile,
|
||||
'addressList' => $addressList,
|
||||
'recentOrders' => $recentOrders,
|
||||
'coupons' => $coupons,
|
||||
'orderCount' => (int)($orderAgg['total_cnt'] ?? 0),
|
||||
'totalSpent' => number_format((float)($orderAgg['total_spent'] ?? 0), 2, '.', ''),
|
||||
'row' => $row,
|
||||
'masterProfile' => $masterProfile,
|
||||
'merchantProfile' => $merchantProfile,
|
||||
'addressList' => $addressList,
|
||||
'recentOrders' => $recentOrders,
|
||||
'coupons' => $coupons,
|
||||
'recentWalletLogs' => $recentWalletLogs,
|
||||
'orderCount' => (int)($orderAgg['total_cnt'] ?? 0),
|
||||
'totalSpent' => number_format((float)($orderAgg['total_spent'] ?? 0), 2, '.', ''),
|
||||
]);
|
||||
|
||||
return $this->view->fetch();
|
||||
|
||||
在新工单中引用
屏蔽一个用户