|
@@ -14,9 +14,7 @@ func AesDecrypt(c *gin.Context) { |
|
|
var req md.CurlAesDecrypt |
|
|
var req md.CurlAesDecrypt |
|
|
err := c.ShouldBindJSON(&req) |
|
|
err := c.ShouldBindJSON(&req) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
err = validate.HandleValidateErr(err) |
|
|
|
|
|
err1 := err.(e.E) |
|
|
|
|
|
e.OutErr(c, err1.Code, err1.Error()) |
|
|
|
|
|
|
|
|
e.OutErr(c, e.ERR_INVALID_ARGS, err.Error()) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
sysCfgDb := db.SysCfgDb{} |
|
|
sysCfgDb := db.SysCfgDb{} |
|
|