tp5获取插入数据的自增id

$id = model('数据库名')->insertGetId($udata);

猜你喜欢

转载自blog.csdn.net/qq_43737121/article/details/105935562