更新 app/common/service/generator/stub/php/logic.stub

This commit is contained in:
mkm 2025-08-21 16:18:23 +08:00
parent eac4232ca4
commit 57da189faa

View File

@ -36,7 +36,7 @@ class {UPPER_CAMEL_NAME}Logic extends BaseLogic
return true;
} catch (\Exception $e) {
Db::rollback();
throw new Exception($e->getMessage());
throw new \Exception($e->getMessage());
return false;
}
}
@ -61,7 +61,7 @@ class {UPPER_CAMEL_NAME}Logic extends BaseLogic
return true;
} catch (\Exception $e) {
Db::rollback();
throw new Exception($e->getMessage());
throw new \Exception($e->getMessage());
return false;
}
}