You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
608 B

4 years ago
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.request = exports.URL = void 0;
var util_1 = require("../../../utils/util");
exports.URL = '/test/user/detail4';
/**
* @desc post方法传参类接收requestbody注解
*/
function request(bodyParams, options) {
var url = '/test/user/detail4';
var fetchOption = Object.assign({
url: url,
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: bodyParams,
}, options);
return util_1.fetch(fetchOption);
}
exports.request = request;