recover apply
This commit is contained in:
parent
98ea808079
commit
59f206a612
|
@ -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 {
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue