| 12345678910111213141516171819202122232425262728 |
- <?php
- /**
- * 运营分析
- */
- namespace app\v1\controller\gameLog;
- use app\v1\logic\gameLog\AnalyseLogic;
- use plugin\saiadmin\basic\BaseController;
- use support\Request;
- use support\Response;
- class AnalyseController extends BaseController
- {
- public function __construct()
- {
- $this->logic = new AnalyseLogic();
- parent::__construct();
- }
- // 注册按日
- public function getRegDayDataList(Request $request){
- $where = $request->more([
- ['game_id', ''],
- ['reg_date', '']
- ]);
- $data = $this->logic->getRegDayDataList($where);
- $data['data'] = $this->logic->trandformListColumn($data['data'],['game']);
- return $this->success($data);
- }
- }
|