调整微信扫码登录相关接口,拆分门店奖励:奖励类型、奖励详情

This commit is contained in:
2025-06-03 11:06:00 +08:00
parent ea87bc829e
commit fdc9cc3463
37 changed files with 698 additions and 189 deletions

29
internal/model/user.go Normal file
View File

@ -0,0 +1,29 @@
package model
import "time"
type LoginCache struct {
Token string `json:"token"`
Status int `json:"status" dc:"0-准备扫码1-已扫码"`
CreatedAt time.Time `json:"created_at"`
}
type UserLoginIn struct {
OpenId string
}
type UserLoginOut struct {
Token string
}
type UserInfoIn struct {
Id int
OpenId string
}
type UserInfoOut struct {
Id int64
}
type UserUpdateIn struct {
}
type UserBindPhoneIn struct {
}