123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <?php
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- namespace app\admin\controller;
-
- use app\common\basics\AdminBase;
- use app\common\server\JsonServer;
- use app\admin\logic\StatisticsLogic;
-
-
- class Statistics extends AdminBase
- {
-
-
- public function visit()
- {
- if($this->request->isAjax()){
- $post = $this->request->post();
- $res = StatisticsLogic::visit($post);
- return JsonServer::success('',$res);
- }
- return view();
- }
-
-
- public function trading()
- {
- if($this->request->isAjax()){
- $post = $this->request->post();
- $res = StatisticsLogic::trading($post);
- return JsonServer::success('',$res);
- }
- return view();
- }
-
-
-
- public function member()
- {
- if($this->request->isAjax()){
- $post = $this->request->post();
- $res = StatisticsLogic::member($post);
- return JsonServer::success('',$res);
- }
- return view();
- }
-
-
-
- public function shop()
- {
- if($this->request->isAjax()){
- $get= $this->request->get();
- $res = StatisticsLogic::shop($get);
- return JsonServer::success('',$res);
- }
- return view();
- }
-
-
-
- public function goods()
- {
- if($this->request->isAjax()){
- $get= $this->request->get();
- $res = StatisticsLogic::goods($get);
- return JsonServer::success('',$res);
- }
- return view();
- }
-
- }
|