You've already forked guangan
30 lines
595 B
PHP
30 lines
595 B
PHP
<?php
|
|
|
|
namespace plugin\points_mall\controller;
|
|
|
|
use plugin\points_mall\model\PointsMallUserPoint;
|
|
use think\admin\Controller;
|
|
use think\admin\helper\QueryHelper;
|
|
|
|
/**
|
|
* 积分情况
|
|
*/
|
|
class Point extends Controller
|
|
{
|
|
/**
|
|
* 积分情况
|
|
* @auth true
|
|
* @menu true
|
|
* @return void
|
|
*/
|
|
public function index()
|
|
{
|
|
$this->title = '积分详情';
|
|
PointsMallUserPoint::mQuery()->layTable(function () {
|
|
|
|
}, static function (QueryHelper $query) {
|
|
$query->with('user');
|
|
$query->valueBetween('point');
|
|
});
|
|
}
|
|
} |