Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
2425946d2a
1 changed files with 1 additions and 11 deletions
  1. +1
    -11
      app/customer/hdl/hdl_alipay.go

+ 1
- 11
app/customer/hdl/hdl_alipay.go View File

@@ -7,22 +7,12 @@ import (
"applet/app/db"
"applet/app/e"
"applet/app/enum"
"fmt"
"github.com/gin-gonic/gin"
)

func AesDecrypt(c *gin.Context) {
var arg interface{}
err := c.ShouldBindJSON(&arg)
if err != nil {
e.OutErr(c, e.ERR_INVALID_ARGS, err.Error())
return
}
fmt.Println(">>>>>>>>>>arg<<<<<<<<<<<<<", arg)
c.BindJSON(arg)

var req md.CurlAesDecrypt
err = c.ShouldBindJSON(&req)
err := c.ShouldBindJSON(&req)
if err != nil {
err = validate.HandleValidateErr(err)
err1 := err.(e.E)


Loading…
Cancel
Save