提交一些接口

This commit is contained in:
tangping
2025-01-07 14:39:43 +08:00
parent ccd2c530cf
commit d562558a3e
4 changed files with 61 additions and 20 deletions

View File

@@ -0,0 +1,25 @@
package game
import (
"common/remark"
"common/webServer"
)
func init() {
//注册接口
webServer.RegisterFunction(new(GameApi))
}
func init() {
moduleName := "UserApi"
desc := "用户接口"
author := "tangping"
mendor := ""
date := "2025年1月7日14:38:22"
remark.RegisterModuleRemark(moduleName, desc, author, mendor, date)
}
// GameApi 游戏接口
type GameApi struct {
}