소스 검색

意见反馈

黄琪勇 8 달 전
부모
커밋
5fe16af364
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/helpers/oss-file-upload.ts
  2. 1 1
      src/page-instrument/custom-plugins/helper-model/recommendation/index.tsx

+ 1 - 1
src/helpers/oss-file-upload.ts

@@ -14,7 +14,7 @@ export async function fileUpload(fileName:string,file:Blob) {
 
 const getUploadSign = async (fileName:string) => {
    const fileUrl = "yjl/" + fileName
-   return request.post("/open/getUploadSign", {
+   return request.post("/getUploadSign", {
       data: {
          postData: {
             key: fileUrl

+ 1 - 1
src/page-instrument/custom-plugins/helper-model/recommendation/index.tsx

@@ -53,7 +53,7 @@ export default defineComponent({
 					type: 'APP',
 					suggestionType: recommenData.suggestId,
 					mobileNo: storeData.user?.phone,
-					attachmentUrls: attachmentUrlsArr.join(",")
+					url: attachmentUrlsArr.join(",")
 				});
 				showToast({
 					message: "意见反馈已提交",