浏览代码

添加用户 产品ID 返回

kobe6258 4 月之前
父节点
当前提交
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