Selaa lähdekoodia

添加用户 产品ID 返回

kobe6258 6 kuukautta sitten
vanhempi
commit
5a3ef3e6b5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      models/user.go

+ 1 - 1
models/user.go

@@ -33,7 +33,7 @@ func (u User) FillUserInfo(user *TemplateUser) UserView {
 
 type UserView struct {
 	Id             int
-	templateUserId int
+	TemplateUserId int
 	RealName       string `description:"姓名"`
 	Mobile         string `description:"手机号码"`
 	FollowingGzh   bool