Commit dc4086e1 authored by hujiebin's avatar hujiebin

feat:swagger不能用mysql 的结构体,否则统一为string

parent 6d5e5df8
package group_power_cv package group_power_cv
import ( import (
"git.hilo.cn/hilo-common/resource/mysql"
"hilo-group/_const/enum/groupPower_e" "hilo-group/_const/enum/groupPower_e"
"hilo-group/cv/user_cv" "hilo-group/cv/user_cv"
) )
...@@ -22,8 +21,8 @@ type CvGroupPowerBase struct { ...@@ -22,8 +21,8 @@ type CvGroupPowerBase struct {
// 家族成员 // 家族成员
type CvGroupPowerMember struct { type CvGroupPowerMember struct {
MemberNum mysql.Num `json:"memberNum"` // 当前成员数 MemberNum uint32 `json:"memberNum"` // 当前成员数
MemberLimit mysql.Num `json:"memberLimit"` // 成员上限 MemberLimit uint32 `json:"memberLimit" swaggertype:"integer"` // 成员上限
} }
// 家族等级 // 家族等级
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment