"use strict";

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

var _qs = _interopRequireDefault(require("qs"));

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

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var cancelGuide = function cancelGuide(type) {
  return (0, _request.rpost)("v2")("user/cancelUserGuide?type=".concat(type), {
    type: type
  }, {
    headers: {
      "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
    },
    transformRequest: _qs["default"].stringify
  });
};

exports.cancelGuide = cancelGuide;