add 新增 请求加密传输 合并优化 !pr377
This commit is contained in:
		| @ -23,10 +23,10 @@ export const generateAesKey = () => { | ||||
| }; | ||||
|  | ||||
| /** | ||||
|  * 随机生成aes 密钥 | ||||
|  * 加密base64 | ||||
|  * @returns {string} | ||||
|  */ | ||||
| export const encryptBase64 = (str: string) => { | ||||
| export const encryptBase64 = (str: CryptoJS.lib.WordArray) => { | ||||
|   return CryptoJS.enc.Base64.stringify(str); | ||||
| }; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 疯狂的狮子Li
					疯狂的狮子Li