recover apply

This commit is contained in:
lwl0608 2024-02-21 11:36:21 +08:00
parent 98ea808079
commit 59f206a612
2 changed files with 4 additions and 4 deletions

View File

@ -253,8 +253,8 @@ func WithdrawSendVerifycode(ctx *gin.Context) {
// 提现申请 // 提现申请
func WithdrawApply(ctx *gin.Context) { func WithdrawApply(ctx *gin.Context) {
ReplyErrorMsg(ctx, "提现功能维护中请72小时后再试") //ReplyErrorMsg(ctx, "提现功能维护中请72小时后再试")
return //return
req := ctx.MustGet("client_req").(*vasproto.WithdrawApplyReq) req := ctx.MustGet("client_req").(*vasproto.WithdrawApplyReq)
if req.Diamonds < 2000 { if req.Diamonds < 2000 {

View File

@ -13,7 +13,7 @@ import (
func Test(t *testing.T) { func Test(t *testing.T) {
configPath := consts.MainConfigPath configPath := consts.LocalConfigPath
cfg := new(conf.ConfigSt) cfg := new(conf.ConfigSt)
err := configcenter.LoadConfig(configPath, cfg) err := configcenter.LoadConfig(configPath, cfg)
if err != nil { if err != nil {
@ -25,7 +25,7 @@ func Test(t *testing.T) {
logger.Error("cryptoService init, err: %v", err) logger.Error("cryptoService init, err: %v", err)
} }
mobilePhone := "Loum3xCiIgJ/tnp+AdxbIw==" mobilePhone := "qE7WxEXTUd38ZA2zWS/h4Q=="
base64DecryptedBytes, _ := base64.StdEncoding.DecodeString(mobilePhone) base64DecryptedBytes, _ := base64.StdEncoding.DecodeString(mobilePhone)
phone, _ := mycrypto.CryptoServiceInstance().AES.Decrypt(base64DecryptedBytes) phone, _ := mycrypto.CryptoServiceInstance().AES.Decrypt(base64DecryptedBytes)
fmt.Println(string(phone)) fmt.Println(string(phone))