abiao лет назад: 4
Родитель
Сommit
639dea9e81
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      go/gopath/src/fohow.com/apps/models/user_model/user.go

+ 1 - 1
go/gopath/src/fohow.com/apps/models/user_model/user.go

@@ -37,7 +37,7 @@ type User struct {
 	City        string    `orm:"column(city);null"                              json:"-"`        // varchar(20)
 	Sex         int64     `orm:"column(sex);null"                               json:"sex"`      // int(11)
 	Head        string    `orm:"column(head)"     json:"head"`
-	Birthday    time.Time `orm:"column(birthday);null;type(datetime)"          json:"-"`
+	Birthday    time.Time `orm:"column(birthday);null;type(datetime)"          json:"birthday"`
 	InviteId    int64     `orm:"column(invite_id);null"                         json:"invite_id"` // int(11)
 	Age         int64     `orm:"column(age);null"                         json:"age"`             // int(11)
 	//belongs_to :parent_signup_channel, :foreign_key => :signup_channel_id