()
| 86 | } |
| 87 | |
| 88 | function formatMonth() { |
| 89 | const date = new Date(); |
| 90 | return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}`; |
| 91 | } |
| 92 | |
| 93 | function isTokenError(message) { |
| 94 | return /2032401|token|登录|授权|invalid|expire|过期|401|403/i.test(String(message || "")); |