first commit

This commit is contained in:
Yangtao
2025-11-18 17:48:20 +08:00
commit 6e56cab848
196 changed files with 65809 additions and 0 deletions

24
pkg/constant/p_vars.go Normal file
View File

@ -0,0 +1,24 @@
package constant
const (
PhotoDomainUrl = "https://photo-app.ddegame.cn/"
API_SECRET = "c9ca017f078a4cd1ba5ccb9d02d4869a"
HTTP_METHOD_POST = "POST"
LOG_QUOTE_STRING = "#"
// 验证码类型
SMS_CODE_TYPE_SIGN_IN = "signIn" //登录验证码
// 未登录 需要跳登录页
ErrorCodeNeedLogin int = 7031
ErrorCodeSignError int = 7032
// APP登录方式
AppLoginTypePwd = "1" //密码登录
AppLoginTypeSmsCode = "2" //验证码登录
CustomerProductId = "CUSTOMER" // 自定义充值的产品ID
WeekStarGiftGrantToReward = "TO_REWARD" // 给周星名气榜用户发放的礼物列表key
WeekStarGiftGrantToReceive = "TO_RECEIVE" // 给周星人气榜用户发放的礼物列表key
)