// +---------------------------------------------------------------------- declare (strict_types=1); namespace app\api\controller\balance; use think\response\Json; use app\api\controller\Controller; use app\api\model\user\BalanceLog as BalanceLogModel; /** * 余额账单明细 * Class Log * @package app\api\controller\balance */ class Log extends Controller { /** * 余额账单明细列表 * @return Json * @throws \cores\exception\BaseException * @throws \think\db\exception\DbException */ public function list(): Json { $model = new BalanceLogModel; $list = $model->getList($this->request->param()); return $this->renderSuccess(compact('list')); } }