laravel中的两种锁 2023-5-06 16:41 | 211 | 0 | Laravel 20 字 | 1 分钟 /** * Lock the selected rows in the table for updating. * 悲观锁 锁住后读改阻塞 * @return $this */ public function lockForUpdate() { return $this->lock(true)…