摘要: const READ = 0b1; const CREATE = 0b10; const UPDATE = 0b100; const DELETE = 0b1000; const rights = READ | UPDATE | DELETE //组合权限读 更新 删除 13 console.log 阅读全文
posted @ 2024-08-02 17:17 howhy 阅读(9) 评论(0) 推荐(0) 编辑
摘要: function concurRequest(maxnum) { return new Promise((resolve, reject) => { let index = 0 let count = 0 const results = [] async function request() { c 阅读全文
posted @ 2024-08-02 11:34 howhy 阅读(2) 评论(0) 推荐(0) 编辑