我有一个性能问题。
什么会更好?
为每个 id 向后端发出请求:
Promise.all(http://.../1, http://.../2)
或者
通过 id 请求后端过滤:
http://.../id[$in]=1&id[$in]=2
元芳怎么了
相关分类