"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getUserById = exports.deleteSummary = void 0;

var _request = require("@titaui/request");

// @ts-ignore
var getUserById = function getUserById(userId) {
  return (0, _request.rget)("v2")("user/GetById?touserid=".concat(userId)).then(function (res) {
    return res.Data;
  });
};

exports.getUserById = getUserById;

var deleteSummary = function deleteSummary(id) {
  return (0, _request.rpost)("v1")("/summary/delete/".concat(id));
};

exports.deleteSummary = deleteSummary;