feat: 更新构建和推送工作流,添加 Node.js 和 Go 环境设置,优化 Docker 镜像构建流程

fix: 修复 order-api.yaml 中的格式问题
refactor: 在多个逻辑文件中重新排序导入语句,确保一致性
This commit is contained in:
wwweww
2026-02-28 19:12:42 +08:00
parent 19cc7a778c
commit 4c823c2188
9 changed files with 88 additions and 79 deletions
@@ -22,7 +22,7 @@ func (Orders) Annotations() []schema.Annotation {
entsql.Annotation{
Table: "orders",
Checks: map[string]string{
"chk_order_status": "status IN ('pending_payment', 'pending_accept', 'in_progress', 'pending_close', 'pending_review', 'disputed', 'completed', 'cancelled')",
"chk_order_status": "status IN ('pending_payment', 'pending_accept', 'in_progress', 'pending_close', 'pending_review', 'disputed', 'completed', 'cancelled')",
"chk_price_positive": "total_price > 0",
},
},