/** *

AXIOS GET 请求装饰器

* * @param {string} value {string} 请求路径 * @param {boolean} [queue] 是否关闭请求队列 * @param {boolean} [permit] 是否关闭安全请求 * * @example * ```typescript * @RequestMapping("/proxy/service/order") * class OrderService { * * @GetMapping("/list") * async getAll() {} * * @GetMapping("/{id}") * async getById(id: number) {} * * // GET 模式下,order 对象键值对会被自动映射到请求路径中 * // order: { id: 1, name: 'test' } * // => GET /proxy/service/order/list?id=1&name=test * @GetMapping("/list") * async select(order: Order) {} * } * ``` */ declare function GetMapping(value?: string, queue?: boolean, permit?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** *

AXIOS POST 请求装饰器

* * @param {string} value {string} 请求路径 * @param {boolean} [queue] 是否关闭请求队列 * @param {boolean} [permit] 是否关闭安全请求 * * @example * ```typescript * @RequestMapping("/proxy/service/order") * class OrderService { * @PostMapping() * async create(order: Order) {} * } * ``` */ declare function PostMapping(value?: string, queue?: boolean, permit?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** *

AXIOS PUT 请求装饰器

* * @param {string} value {string} 请求路径 * @param {boolean} [queue] 是否关闭请求队列 * @param {boolean} [permit] 是否关闭安全请求 * * @example * ```typescript * @RequestMapping("/proxy/service/order") * class OrderService { * @PutMapping() * async update(order: Order) {} * } * ``` */ declare function PutMapping(value?: string, queue?: boolean, permit?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** *

AXIOS DELETE 请求装饰器

* * @param {string} value {string} 请求路径 * @param {boolean} [queue] 是否关闭请求队列 * @param {boolean} [permit] 是否关闭安全请求 * * @example * ```typescript * @RequestMapping("/proxy/service/order") * class OrderService { * @DeleteMapping("/{id}") * async delete(id: number) {} * } * ``` */ declare function DeleteMapping(value?: string, queue?: boolean, permit?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export { GetMapping, PostMapping, PutMapping, DeleteMapping };