()
| 55 | } |
| 56 | |
| 57 | function randomUserName() { |
| 58 | const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; |
| 59 | let suffix = ""; |
| 60 | for (let i = 0; i < 6; i++) suffix += chars[Math.floor(Math.random() * chars.length)]; |
| 61 | return `用户${suffix}`; |
| 62 | } |
| 63 | |
| 64 | function today() { |
| 65 | const d = new Date(); |
no outgoing calls
no test coverage detected