diff --git a/src/models/user_third_party.go b/src/models/user_third_party.go new file mode 100644 index 0000000..c472ae0 --- /dev/null +++ b/src/models/user_third_party.go @@ -0,0 +1,9 @@ +package models + +type UserThirdParty struct { + Uid int `json:"uid" xorm:"not null pk autoincr comment('主键ID') INT(10)"` + ThirdPartyJdMiniOpenid string `json:"third_party_jd_mini_openid" xorm:"not null default '' VARCHAR(255)"` + ThirdPartyAlipayAppletOpenid string `json:"third_party_alipay_applet_openid" xorm:"not null default '' VARCHAR(255)"` + ThirdPartyAlipayAppletUnionid string `json:"third_party_alipay_applet_unionid" xoorm:"not null default '' VARCHAR(255)"` + ThirdPartyAlipayAppletUid string `json:"third_party_alipay_applet_uid" xoorm:"not null default '' VARCHAR(255)"` +}