think/packages/domains/lib/api/file.js

14 lines
271 B
JavaScript
Raw Normal View History

2022-05-23 13:05:59 +08:00
"use strict";
exports.__esModule = true;
exports.FileApiDefinition = void 0;
exports.FileApiDefinition = {
/**
* 上传文件
*/
upload: {
2022-05-23 16:20:56 +08:00
method: 'post',
2022-05-23 13:05:59 +08:00
server: 'upload',
client: function () { return '/file/upload'; }
}
};