feat: 完善协议管理、师傅资质认证、分账配置并完成测试环境全量部署与同步

这个提交包含在:
2026-11-12 17:19:49 +08:00
父节点 fafddceaf2
当前提交 72cea8445f
共有 179 个文件被更改,包括 29242 次插入 和 3340 次删除

查看文件

@@ -0,0 +1,61 @@
<?php
namespace app\admin\model;
use think\Model;
class CommissionRule extends Model
{
protected $name = 'commission_rule';
protected $autoWriteTimestamp = 'integer';
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
protected $deleteTime = false;
public function getOrderModeList(): array
{
return [
'all' => '不限订单类型',
'fixed' => '一口价',
'quote' => '师傅报价',
'custom' => '业主自主出价',
'range' => '区间定价',
];
}
public function getCustomerTypeList(): array
{
return [
'all' => '不限下单人',
'personal' => '个人下单',
'merchant' => '企业商家',
];
}
public function getUrgentModeList(): array
{
return [
'all' => '不限是否加急',
'normal' => '仅普通单',
'urgent' => '仅加急单',
];
}
public function getCalcModeList(): array
{
return [
'percent' => '按比例抽成 (%)',
'fixed' => '每单固定收费 (元)',
'mixed' => '按比例 + 每单固定费',
];
}
public function getStatusList(): array
{
return [
'normal' => '启用',
'hidden' => '停用',
];
}
}