Loop the collection to get the objects of the collection in the collection

  • There is a demand for a recent project, which is to obtain the product number from the JD Commodity Pool interface
  • Then get the product details by number. The obtained commodity pool collection contains a collection of commodity numbers.
  • Circulate the product pool, get the product number collection, add it to a new collection, and then add it to the database in batches.

Guess you like

Origin blog.csdn.net/weixin_45528650/article/details/109150451