用户积分列表

This commit is contained in:
2024-12-23 13:49:09 +08:00
parent f4727a6b19
commit c43e7a037a
4 changed files with 75 additions and 1 deletions

View File

@ -2,7 +2,9 @@
namespace plugin\points_mall\controller;
use plugin\points_mall\model\PointsMallUserPoint;
use think\admin\Controller;
use think\admin\helper\QueryHelper;
/**
* 积分情况
@ -17,6 +19,12 @@ class Point extends Controller
*/
public function index()
{
$this->title = '积分详情';
PointsMallUserPoint::mQuery()->layTable(function () {
}, static function (QueryHelper $query) {
$query->with('user');
$query->valueBetween('point');
});
}
}