<?php
// +----------------------------------------------------------------------
// | saiadmin [ saiadmin快速开发框架 ]
// +----------------------------------------------------------------------
// | Author: your name
// +----------------------------------------------------------------------
namespace app\dice\logic\play_record_test;

use app\dice\basic\DiceBaseLogic;
use plugin\saiadmin\exception\ApiException;
use plugin\saiadmin\utils\Helper;
use app\dice\model\play_record_test\DicePlayRecordTest;

/**
 * 玩家抽奖记录(测试数据)逻辑层
 */
class DicePlayRecordTestLogic extends DiceBaseLogic
{
    /**
     * 构造函数
     */
    public function __construct()
    {
        $this->model = new DicePlayRecordTest();
        // 默认按 id 倒序，保证列表默认显示最新记录
        $this->setOrderField('id')->setOrderType('DESC');
    }

}
