|
|
@@ -113,8 +113,7 @@ const requestType = (file) => {
|
|
|
// #endif
|
|
|
|
|
|
return {
|
|
|
- "classname": "system.attachment.huawei.OBS",
|
|
|
- "method": "getFileName",
|
|
|
+ id: '10019701',
|
|
|
"content": {
|
|
|
"filename": `${Date.now() + file.size}.${ext}`,
|
|
|
"filetype": ext,
|
|
|
@@ -176,8 +175,7 @@ const uploadFile = (res, data) => {
|
|
|
header: { 'Content-Type': 'application/octet-stream' },
|
|
|
success: () => {
|
|
|
$Http.basic({
|
|
|
- "classname": "system.attachment.huawei.OBS",
|
|
|
- "method": "uploadSuccess",
|
|
|
+ id: 10019901,
|
|
|
"content": { "serialfilename": res.serialfilename }
|
|
|
}).then(s => {
|
|
|
console.log("文件上传反馈", s)
|