| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- namespace app\admin\controller\system;
- use app\admin\logic\UserteamLogLogic;
- use app\common\controller\AdminController;
- use app\common\model\PayConfigModel;
- use app\common\model\SystemFaq;
- use app\common\model\UserteamLogModel;
- use think\App;
- /**
- * @ControllerAnnotation(title="星钻等级分红")
- */
- class Xzfenhong extends AdminController
- {
- use \app\admin\traits\Curd;
- public function __construct (App $app)
- {
- parent::__construct($app);
- $this->model = new UserteamLogModel();
- }
- /**
- * @NodeAnotation(title="列表")
- */
- public function index ()
- {
- if ($this->request->isAjax()) {
- // }
- list($page, $limit, $where) = $this->buildTableParames();
- list($count, $list) = UserteamLogLogic::getList($page, $limit, $where, $this->sort);
- $data = [
- 'code' => 0,
- 'msg' => '',
- 'count' => $count,
- 'data' => $list,
- ];
- return json($data);
- }
- return $this->fetch();
- }
- }
|