feat: 请求http工具支持接口加解密

This commit is contained in:
TsMask
2024-08-15 10:08:12 +08:00
parent 19b77ed005
commit aa07b51663
4 changed files with 116 additions and 10 deletions

View File

@@ -1,3 +1,12 @@
/**响应-code加密数据 */
export const RESULT_CODE_ENCRYPT = 2;
/**响应-msg加密数据 */
export const RESULT_MSG_ENCRYPT: Record<string, string> = {
zh_CN: '加密!',
en_US: 'encrypt!',
};
/**响应-code正常成功 */
export const RESULT_CODE_SUCCESS = 1;