GoFrame g.DB 事务写法:边界要在用例层 blogger 2026-5-14 GoFrame 实践 GoFrame g.DB 事务写法:边界要在用例层 GoFrame 事务应由用例层控制,repository 不要各自开事务。