feat: 项目基础框架+配置+Kernel

This commit is contained in:
testadmin
2026-04-29 05:35:00 +08:00
parent 6ce7adcbfb
commit 9a6151fce3
5082 changed files with 437062 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\DAO\PrizePool;
interface PrizeCalculator
{
/**
* 计算奖励
*
* @param integer $scene 奖励场景
* @param float $reward_qty 奖励数量
* @param \App\Users $to_user 被奖励者
* @param \App\Users $from_user 触发用户
* @param string $memo 备注
* @param array $attach_data 附加数据
* @return \App\PrizePool 返回奖池记录
*/
public function calculate($scene, $reward_qty, $to_user, $from_user = null, $memo = '', $attach_data = []);
}