优化不必要的Service可见性,添加Apple M1、M2芯片Debug出现的兼容性问文档

This commit is contained in:
apefuu
2024-09-19 15:37:13 +08:00
parent ffce905371
commit 2a87055b62
13 changed files with 50 additions and 24 deletions

View File

@@ -27,12 +27,12 @@ import (
type sAdminNotice struct{}
func NewAdminNotice() *sAdminNotice {
func newAdminNotice() *sAdminNotice {
return &sAdminNotice{}
}
func init() {
service.RegisterAdminNotice(NewAdminNotice())
service.RegisterAdminNotice(newAdminNotice())
}
// Model Orm模型