Jay 3 месяцев назад
Родитель
Сommit
3cc715f53f
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      pb/constant/user.go

+ 11 - 0
pb/constant/user.go

@@ -67,3 +67,14 @@ const (
 	PayChannelAgent      = "agent"  // 代理商
 	PayChannelAgent      = "agent"  // 代理商
 	PayChannelPortal     = "portal" //如:官网调用
 	PayChannelPortal     = "portal" //如:官网调用
 )
 )
+
+// username, email, phone, wechat, qq, google, apple
+const (
+	AccountTypeUsername = "username"
+	AccountTypeEmail    = "email"
+	AccountTypePhone    = "phone"
+	AccountTypeWechat   = "wechat"
+	AccountTypeQQ       = "qq"
+	AccountTypeGoogle   = "google"
+	AccountTypeApple    = "apple"
+)