diff --git a/pages/feedback/index.vue b/pages/feedback/index.vue index 9ebc216..7c1854d 100644 --- a/pages/feedback/index.vue +++ b/pages/feedback/index.vue @@ -54,7 +54,7 @@ @@ -97,6 +97,7 @@ import { pathToBase64, base64ToPath } from 'image-tools'; import { uploadBase64 } from "@/api/upload" import config from '@/config' import { getToken } from '@/utils/auth' +import { encryptWithSM4 } from '@/utils/sm' export default { data() { return { @@ -161,7 +162,7 @@ export default { "canteenName": this.canteenName, "suggestionPictures": arr, "content": this.content, - "contactTel": this.contactInfo, + "contactTel": encryptWithSM4(this.contactInfo), "userId": uni.getStorageSync('userId') } console.log(param) @@ -257,6 +258,10 @@ export default {