From 59f206a61287a93ed93d76d0e68c7ef5c8c619dc Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Wed, 21 Feb 2024 11:36:21 +0800 Subject: [PATCH] recover apply --- app/mix/controller/vas.go | 4 ++-- library/taginterceptor/crypt_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/mix/controller/vas.go b/app/mix/controller/vas.go index 384601f3..d17d13a5 100644 --- a/app/mix/controller/vas.go +++ b/app/mix/controller/vas.go @@ -253,8 +253,8 @@ func WithdrawSendVerifycode(ctx *gin.Context) { // 提现申请 func WithdrawApply(ctx *gin.Context) { - ReplyErrorMsg(ctx, "提现功能维护中,请72小时后再试") - return + //ReplyErrorMsg(ctx, "提现功能维护中,请72小时后再试") + //return req := ctx.MustGet("client_req").(*vasproto.WithdrawApplyReq) if req.Diamonds < 2000 { diff --git a/library/taginterceptor/crypt_test.go b/library/taginterceptor/crypt_test.go index b1c8450f..ab5cadf2 100644 --- a/library/taginterceptor/crypt_test.go +++ b/library/taginterceptor/crypt_test.go @@ -13,7 +13,7 @@ import ( func Test(t *testing.T) { - configPath := consts.MainConfigPath + configPath := consts.LocalConfigPath cfg := new(conf.ConfigSt) err := configcenter.LoadConfig(configPath, cfg) if err != nil { @@ -25,7 +25,7 @@ func Test(t *testing.T) { logger.Error("cryptoService init, err: %v", err) } - mobilePhone := "Loum3xCiIgJ/tnp+AdxbIw==" + mobilePhone := "qE7WxEXTUd38ZA2zWS/h4Q==" base64DecryptedBytes, _ := base64.StdEncoding.DecodeString(mobilePhone) phone, _ := mycrypto.CryptoServiceInstance().AES.Decrypt(base64DecryptedBytes) fmt.Println(string(phone))