From 8d918149d32db0044d6cfc85a75829d38cf8dcb5 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sat, 12 Oct 2024 15:57:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/user_third_party.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/models/user_third_party.go 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)"` +}