创巨圆微信服务商管理平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cjy-mp-company/app/admin/model/Tester.php

25 lines
552 B

<?php
namespace app\admin\model;
use app\common\model\Tester as TesterModel;
use support\Request;
use think\db\exception\DbException;
/**
* @property mixed $id
*/
class Tester extends TesterModel
{
public static function list($request): array
{
$params = self::buildWhere(null, $request);
return self::where($params['where'])
->order('id', 'desc')
->paginate([
'page' => $params['current_page'],
'list_rows' => $params['page_size']
])->toArray();
}
}