dataLists(new ChatLogLists()); } /** * @notes 删除聊天记录 * @return Json * @author 段誉 * @date 2022/9/20 17:09 */ public function delete() { $params = $this->request->post(); return ChatLogLogic::delete($params) ? $this->success() : $this->fail(ChatLogLogic::getError()); } }