TP5 批量删除问题

浏览:1399 发布日期:2018/07/01 分类:求助交流
msyql5.7 使用模型destroy批量删除

当批量删除的数组键值是string是提示错误
下面这种就提示错误
array(2) {
[0]=>
string(2) "19"
[1]=>
string(2) "18"
}
这样的就不提示错误
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}

这是为什么 求帮解决!
最佳答案
评论() 相关
后面还有条评论,点击查看>>