修改对应app的参数结构
This commit is contained in:
@@ -1,8 +1,37 @@
|
||||
package account
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type RegisterWithEmailParam struct {
|
||||
// randstr: 521546
|
||||
// sign: 14AE4C5F153568828EBDFFF5C953D67F
|
||||
// action: account/registerEmailCode
|
||||
// app_market: 1
|
||||
// email: 474420502@qq.com
|
||||
// timestamp: 1712570272
|
||||
// token: 3cf6b06db8491f4cc52fde5891165e8a
|
||||
|
||||
RandStr string `json:"randstr" form:"randstr"`
|
||||
Sign string `json:"sign" form:"sign"`
|
||||
Action string `json:"action" form:"action"`
|
||||
AppMarket int `json:"app_market" form:"app_market"`
|
||||
Email string `json:"email" form:"email"`
|
||||
Timestamp int64 `json:"timestamp" form:"timestamp"`
|
||||
Token string `json:"token" form:"token"`
|
||||
}
|
||||
|
||||
// type RegisterWithEmailData struct {
|
||||
// IsLogin bool `json:"is_login"`
|
||||
// LangData struct {
|
||||
// LanguageCode string `json:"language_code"`
|
||||
// LanguageID string `json:"language_id"`
|
||||
// } `json:"lang_data"`
|
||||
// Token string `json:"token"`
|
||||
// }
|
||||
|
||||
// 注册使用email
|
||||
func RegisterWithEmail(ctx *gin.Context) {
|
||||
func RegisterWithEmailCode(ctx *gin.Context) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user