소스 검색

添加用户 产品ID 返回

kobe6258 6 달 전
부모
커밋
5a3ef3e6b5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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