兼容 两种写法

This commit is contained in:
2024-04-08 18:13:01 +08:00
parent 155de853db
commit 864a4a8b4c
72 changed files with 651 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
package account
import "github.com/gin-gonic/gin"
// 注册使用email
func PostRegisterWithEmail(ctx *gin.Context) {
}

View File

@@ -15,6 +15,7 @@ import (
func BaseGetToken(ctx *gin.Context) {
param := &BaseGetTokenParam{}
ctx.ShouldBind(param)
// model.Models.KillaraCustomerModel.Find()
log.Println()
}
@@ -30,7 +31,9 @@ func BaseGetToken(ctx *gin.Context) {
// version?: string;
func AccountLoginWithTelephonePassword(ctx *gin.Context) {
// ctx.ShouldBind()
log.Println()
// model.Models.KillaraCustomerModel.Find()
// log.Println(param)
}
// @Action account/registerSmsCode
@@ -62,6 +65,7 @@ func AccountForgetSmsCode(ctx *gin.Context) {
// token: string;
func AccountRegisterEmailCode(ctx *gin.Context) {
// ctx.ShouldBind()
log.Println()
}