dataCenter(); return $this->data($result); } /** * @notes 交易分析 * @return \think\response\Json * @author cjhao * @date 2023/2/17 16:43 */ public function dealCenter() { $result = (new FinanceLogic())->dealCenter(); return $this->data($result); } /** * @notes 商品销售分析 * @return \think\response\Json * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException * @author cjhao * @date 2023/2/17 16:58 */ public function goodsCenter() { $result = (new FinanceLogic())->goodsCenter(); return $this->data($result); } /** * @notes 访客分析 * @return \think\response\Json * @throws \Exception * @author cjhao * @date 2023/2/17 17:01 */ public function visitCenter() { $result = (new FinanceLogic())->visitCenter(); return $this->data($result); } }