TP5.0循环更新数据问题

不能直接使用save中加id的方法,与foreach插入是对应的!!!

手册详解:

王礼明
原文地址:https://www.cnblogs.com/wlmblog/p/6524889.html