- Add HJF jobs, services, DAOs, models, admin/API controllers, release command - Respect brokerage_timing (on_pay vs confirm); dispatch HjfOrderPayJob for queue goods - Queue-only cycle commission and position index fix in StoreOrderCreateServices - UserBill income types: frozen_points_brokerage, frozen_points_release - Timer: fsgx_release_frozen_points -> PointsReleaseServices - Agent tasks: no_assess filtering for direct/umbrella counts - Migrations: queue_pool, points_release_log, fsgx_v1 checklist updates - Admin/uniapp: crontab preset, membership level, user list, finance routes, docs Made-with: Cursor
43 lines
1.0 KiB
PHP
43 lines
1.0 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace app\controller\admin\v1\hjf;
|
|
|
|
use app\controller\admin\AuthController;
|
|
use app\dao\hjf\PointsReleaseLogDao;
|
|
use think\annotation\Inject;
|
|
|
|
/**
|
|
* Admin · 积分管理接口
|
|
*
|
|
* GET /adminapi/hjf/points/release-log — 积分释放日志(分页)
|
|
*
|
|
* Class PointsController
|
|
* @package app\controller\admin\v1\hjf
|
|
*/
|
|
class PointsController extends AuthController
|
|
{
|
|
#[Inject]
|
|
protected PointsReleaseLogDao $dao;
|
|
|
|
/**
|
|
* 积分释放日志(分页)
|
|
*/
|
|
public function releaseLog(): mixed
|
|
{
|
|
$where = $this->request->getMore([
|
|
['keyword', ''],
|
|
['type', ''],
|
|
['start_time', ''],
|
|
['end_time', ''],
|
|
['page', 1],
|
|
['limit', 20],
|
|
]);
|
|
$page = (int)$where['page'];
|
|
$limit = (int)$where['limit'];
|
|
unset($where['page'], $where['limit']);
|
|
|
|
return $this->success($this->dao->getAdminList($where, $page, $limit));
|
|
}
|
|
}
|