mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
【程序目录】fix(command): 修正事务处理方式
This commit is contained in:
parent
5f8e20fe41
commit
bc4cb10d6b
@ -145,7 +145,7 @@ class Util extends Command
|
||||
];
|
||||
|
||||
// 执行 SQL 语句
|
||||
return $this->transaction(function () use ($sql) {
|
||||
return Db::transaction(function () use ($sql) {
|
||||
try {
|
||||
foreach ($sql as $item) {
|
||||
Db::execute($item);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user