✨ init project
This commit is contained in:
12
resource/plugin/server/initialize/api.go.template
Normal file
12
resource/plugin/server/initialize/api.go.template
Normal file
@@ -0,0 +1,12 @@
|
||||
package initialize
|
||||
|
||||
import (
|
||||
"context"
|
||||
model "{{.Module}}/model/system"
|
||||
"{{.Module}}/plugin/plugin-tool/utils"
|
||||
)
|
||||
|
||||
func Api(ctx context.Context) {
|
||||
entities := []model.SysApi{}
|
||||
utils.RegisterApis(entities...)
|
||||
}
|
Reference in New Issue
Block a user