Jay 1 місяць тому
батько
коміт
a9558a45a0
1 змінених файлів з 12 додано та 0 видалено
  1. 12 0
      pb/constant/user.go

+ 12 - 0
pb/constant/user.go

@@ -78,3 +78,15 @@ const (
 	AccountTypeGoogle   = "google"
 	AccountTypeApple    = "apple"
 )
+
+// 权益常量定义
+const (
+	ServiceTypeCodeUserLevel    = "user_level"
+	ServiceTypeCodeDeviceLimit  = "device_limit"
+	ServiceTypeCodeSpeedLimit   = "speed_limit"
+	ServiceTypeCodeTrafficLimit = "traffic_limit"
+)
+
+const (
+	ServiceChannelPlanSkuTrial = "app.nomo.subscribe.1.trial" //默认试用套餐,如果没有指定套餐,默认试用这个套餐
+)