perf:默认开启加密

This commit is contained in:
曾文豪
2024-04-15 20:03:02 +08:00
parent 35e5fc003c
commit 9efce33810
4 changed files with 24 additions and 13 deletions

View File

@@ -1,9 +1,8 @@
/**
* 默认配置
* @type {{onHttpError: defaultConfig.onHttpError, prefix: string, base64Key: string, encryptBody: boolean}}
* @type {{onHttpError: defaultConfig.onHttpError, prefix: string, base64Key: string}}
*/
const defaultConfig = {
encryptBody: true,
base64Key: "WmdUzPJXbngVNiaSsQrihg==",
prefix: "",
onHttpError: (res) => {