加密:接口加密解密

This commit is contained in:
luying
2022-06-16 19:14:05 +08:00
parent 144f3ed0b0
commit 469e393f5e
18 changed files with 833 additions and 162 deletions

View File

@@ -15,6 +15,8 @@ export const STATUS = {
ACCESS_BUSY: { code: 12, simStr: '您的点击过于频繁,服务器受不了了' },
ONLINE_USER_MAX: { code: 13, simStr: '服务器繁忙,请稍后再试' },
FUNCTION_CLOSE: { code: 14, simStr: '抱歉,该功能暂时关闭' },
TIMESTAMP_ERR: { code: 15, simStr: '请求时间参数错误' },
DUPLICATE_ACCESS: { code: 16, simStr: '随机请求参数重复' },
GLOBAL_ERR: { code: 1003, simStr: '服务器内部错误' },
UPDATE_INFO_ERR: {code: 1004, simStr: '热更新配置错误'},
// http请求