摘要:
https://joshdimella.com/blog/adding-api-key-auth-to-fast-api Step 1: Define a List of Valid API Keys API_KEYS = [ "9d207bf0-10f5-4d8f-a479-22ff5aeff8d 阅读全文
摘要:
export default { counts_zh_str (str) { str = str.replace(/[^\x00-\xff]/g, "00") return str.length } } 阅读全文
摘要:
export default { async sleep(time){ return new Promise((resolve) => setTimeout(resolve, time)); } } 阅读全文