| 3 | import CryptoJS from 'crypto-js'; |
| 4 | |
| 5 | interface YoudaoResponse { |
| 6 | errorCode: string; |
| 7 | translation: string[]; |
| 8 | basic?: { |
| 9 | explains: string[]; |
| 10 | }; |
| 11 | } |
| 12 | |
| 13 | async function youdao(message: any): Promise<string> { |
| 14 | // 检查必需的配置 |
nothing calls this directly
no outgoing calls
no test coverage detected