(message)
| 55 | } |
| 56 | |
| 57 | function isTokenError(message) { |
| 58 | return /401|token|登录|授权|未登录|无效|过期/i.test(String(message || "")); |
| 59 | } |
| 60 | |
| 61 | function aesEncrypt(text) { |
| 62 | const cipher = crypto.createCipheriv("aes-128-ecb", Buffer.from(AES_KEY, "utf8"), null); |
no outgoing calls
no test coverage detected