摘要: 根据多个id批量更新指定字段值 $map[] = ['id','in', input('post.id/a')]; $result = db('picture')->where($map)->update(['posid' => 1]); 相当于sql语句: UPDATE `yj_picture` 阅读全文
posted @ 2019-03-12 16:47 文彬哦 阅读(7060) 评论(0) 推荐(0) 编辑