post()->goCheck('add'); $result = UserVisitLogic::add($params,$this->userId); if (true === $result) { return $this->success('添加成功', [], 1, 1); } return $this->fail(UserVisitLogic::getError()); } }