mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Rebate.php
This commit is contained in:
parent
7877ee57ba
commit
e152501160
@ -3,6 +3,7 @@
|
||||
namespace app\data\controller\api\auth;
|
||||
|
||||
use app\data\controller\api\Auth;
|
||||
use app\data\service\RebateService;
|
||||
|
||||
/**
|
||||
* 用户返利管理
|
||||
@ -29,4 +30,12 @@ class Rebate extends Auth
|
||||
$result = $query->like('create_at#date')->order('id desc')->page(true, false, false, 15);
|
||||
$this->success('获取用户返利', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取奖励配置
|
||||
*/
|
||||
public function prize()
|
||||
{
|
||||
$this->success('获取奖励配置', RebateService::PRIZES);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user