使用mysql的乐观锁实现 async goods(): Promise<string> { const num = 90; const goodsInfo: Pick<GoodsEntity, 'count' | 'version'> = await this.goodsRepository.
確定! 回上一頁