|
@@ -84,6 +84,19 @@ export function UploadFile (params) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+// 上传文件
|
|
|
+export function UploadFileNew (params) {
|
|
|
+ return request({
|
|
|
+ url: `${PLATFROM_CONFIG.fileUrlNew}/openApi/fileupload`,
|
|
|
+ method: 'post',
|
|
|
+ headers: {
|
|
|
+ 'content-type': 'multipart/form-data',
|
|
|
+ },
|
|
|
+ data: params,
|
|
|
+ noToken: true,
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
// 上传文件
|
|
|
export function stateQuery (params) {
|
|
|
return request({
|