35 lines
840 B
PHP
35 lines
840 B
PHP
<?php
|
|
|
|
namespace app\admin\controller\agent;
|
|
|
|
use app\common\controller\Backend;
|
|
use support\Response;
|
|
use Webman\Http\Request as WebmanRequest;
|
|
|
|
/**
|
|
* 代理佣金记录
|
|
*/
|
|
class CommissionRecord extends Backend
|
|
{
|
|
protected ?object $model = null;
|
|
|
|
protected string|array $preExcludeFields = ['id', 'create_time', 'update_time'];
|
|
|
|
protected string|array $quickSearchField = ['id', 'remark'];
|
|
|
|
protected string|array $defaultSortField = ['id' => 'desc'];
|
|
|
|
protected string|array $orderGuarantee = ['id' => 'desc'];
|
|
|
|
protected array $withJoinTable = ['settlementPeriod', 'channel', 'admin'];
|
|
|
|
protected bool $modelValidate = false;
|
|
|
|
protected function initController(WebmanRequest $request): ?Response
|
|
{
|
|
$this->model = new \app\common\model\AgentCommissionRecord();
|
|
return null;
|
|
}
|
|
}
|
|
|