shanshanzhong147
|
075c1215ca
|
还原: 撤销 fefbd4f5 的 go-zero stub 方案,回到 goctl 1.7.2 + gin 原生 routes
Build docker and publish / build (20.15.1) (pull_request) Failing after 21m54s
Build docker and publish / build (20.15.1) (push) Failing after 20m31s
fefbd4f5 (#104) 用本地 third_party/gozero stub 假冒 go-zero 依赖,
让 goctl 1.9.2 生成的 rest.Server/rest.Route 风格 routes.go 能编译,
但带来非标 vendor、Dockerfile 漏拷、新人误解等维护成本。
本次回到 fefbd4f5 之前的方案:
- routes.go 用 gin 原生 publicUserGroupRouter.GET(...) 风格(goctl 1.7.2)
- server.go 直接 handler.RegisterHandlers(r, svc),无需 rest.NewGinServer
- svc/serviceContext.go 不再持有 AuthMiddleware/DeviceMiddleware/ServerMiddleware 字段
- go.mod 删除 zeromicro/go-zero require + replace 指令
- 删除 third_party/gozero/ stub 模块
- 删除 fefbd4f5 引入的 28 个 goctl 生成的空 stub 文件和 nodeserver/apple 转发器
- Dockerfile 不再需要 COPY third_party/
invite_sales 还原路由保留(gin 老风格写法)。
|
2026-05-28 21:46:33 -07:00 |
|
shanshanzhong147
|
fefbd4f56a
|
修复(#104): 修复 goctl 重新生成代码漂移
Build docker and publish / build (20.15.1) (push) Failing after 58s
Build docker and publish / build (20.15.1) (pull_request) Failing after 52s
Co-authored-by: multica-agent <github@multica.ai>
|
2026-05-27 23:54:26 -07:00 |
|
shanshanzhong147
|
54daa923da
|
补单逻辑
Build docker and publish / build (20.15.1) (push) Has been cancelled
|
2026-05-06 04:59:04 -07:00 |
|
shanshanzhong147
|
ab38cd4943
|
x
Build docker and publish / build (20.15.1) (push) Failing after 4m44s
|
2026-04-26 21:12:22 -07:00 |
|
shanshanzhong147
|
7914b2aa78
|
shouldBindJson 使用错误
Build docker and publish / build (20.15.1) (push) Successful in 7m51s
|
2026-03-06 01:30:39 -08:00 |
|
shanshanzhong147
|
7308aa9191
|
无订阅 支付后出现两个订阅
Build docker and publish / build (20.15.1) (push) Failing after 7m37s
|
2026-03-05 21:53:36 -08:00 |
|
shanshanzhong147
|
a01570b59d
|
fix gitea workflow path and runner label
Build docker and publish / build (20.15.1) (push) Failing after 8m21s
|
2026-03-04 06:33:14 -08:00 |
|
EUForest
|
76ff9a658d
|
Merge branch perfect-panel/master/server into develop
|
2025-12-11 23:53:32 +08:00 |
|
Chang lue Tsen
|
34c09c4618
|
refactor: update import paths from ppanel-server to server
|
2025-04-25 15:09:31 +09:00 |
|
Chang lue Tsen
|
8addcc584b
|
init: 1.0.0
|
2025-04-25 12:08:29 +09:00 |
|