request->get(); $result = CenterLogic::trafficAnalysis($params); return $this->data($result); } /** * @notes 用户分析 * @return \think\response\Json * @author Tab * @date 2021/9/27 11:18 */ public function userAnalysis() { $params = $this->request->get(); $result = CenterLogic::userAnalysis($params); return $this->data($result); } /** * @notes 交易分析 * @return \think\response\Json * @author Tab * @date 2021/9/27 15:00 */ public function transactionAnalysis() { $params = $this->request->get(); $result = CenterLogic::transactionAnalysis($params); return $this->data($result); } /** * @notes 商品分析 * @return \think\response\Json * @author Tab * @date 2021/9/27 15:34 */ public function goodsAnalysis() { $params = $this->request->get(); $result = CenterLogic::goodsAnalysis($params); return $this->data($result); } /** * @notes 商品排行榜 * @return \think\response\Json * @author Tab * @date 2021/9/27 15:48 */ public function goodsTop() { $params = $this->request->get(); $result = CenterLogic::goodsTop($params); return $this->data($result); } }