[色子游戏]玩家获取抽奖券记录-重构DicePlayerCoinRecord为DicePlayerTicketRecord
This commit is contained in:
@@ -4,24 +4,24 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: your name
|
||||
// +----------------------------------------------------------------------
|
||||
namespace app\dice\logic\player_coin_record;
|
||||
namespace app\dice\logic\player_ticket_record;
|
||||
|
||||
use plugin\saiadmin\basic\think\BaseLogic;
|
||||
use plugin\saiadmin\exception\ApiException;
|
||||
use plugin\saiadmin\utils\Helper;
|
||||
use app\dice\model\player_coin_record\DicePlayerCoinRecord;
|
||||
use app\dice\model\player_ticket_record\DicePlayerTicketRecord;
|
||||
|
||||
/**
|
||||
* 玩家购买抽奖记录逻辑层
|
||||
* 抽奖券获取记录逻辑层
|
||||
*/
|
||||
class DicePlayerCoinRecordLogic extends BaseLogic
|
||||
class DicePlayerTicketRecordLogic extends BaseLogic
|
||||
{
|
||||
/**
|
||||
* 构造函数
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->model = new DicePlayerCoinRecord();
|
||||
$this->model = new DicePlayerTicketRecord();
|
||||
}
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user