"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.postAttention = exports.getVisitData = exports.getOtherUserInfo = exports.getAttentionData = exports.delAttention = void 0;

var _request = require("../../utils/request");

var getAttentionData = function getAttentionData(userId) {
  return (0, _request.rget)("v1")("follow/getFollowerList?toUserId=".concat(userId));
};

exports.getAttentionData = getAttentionData;

var getVisitData = function getVisitData(userId) {
  return (0, _request.rget)("v1")("okr/okrCyclePageVisitor?toUserId=".concat(userId));
};

exports.getVisitData = getVisitData;

var postAttention = function postAttention(userId) {
  return (0, _request.rpost)("v1")("follow/addFollower?followerId=".concat(userId));
};

exports.postAttention = postAttention;

var delAttention = function delAttention(userId) {
  return (0, _request.rpost)("v1")("follow/delFollower?followerId=".concat(userId));
};

exports.delAttention = delAttention;

var getOtherUserInfo = function getOtherUserInfo(userId) {
  return (0, _request.rget)("v2")("user/GetById?toUserid=".concat(userId));
};

exports.getOtherUserInfo = getOtherUserInfo;