mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
modal show global
This commit is contained in:
@@ -116,3 +116,10 @@ function removeHitAndRun($params)
|
||||
$rep = new \App\Repositories\BonusRepository();
|
||||
return $rep->consumeToCancelHitAndRun($CURUSER['id'], $params['id']);
|
||||
}
|
||||
|
||||
function consumeBenefit($params)
|
||||
{
|
||||
global $CURUSER;
|
||||
$rep = new \App\Repositories\UserRepository();
|
||||
return $rep->consumeBenefit($CURUSER['id'], $params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user