fix 退款理由
This commit is contained in:
parent
1255e0f916
commit
1cd3e685e3
|
@ -482,6 +482,7 @@ func ReplyJsonError(ctx *gin.Context, code int, msg string) {
|
|||
|
||||
func PrepareOp() gin.HandlerFunc {
|
||||
return func(ctx *gin.Context) {
|
||||
defer logger.Recover()
|
||||
//if ctx.ClientIP() != "127.0.0.1" {
|
||||
// ReplyJsonError(ctx, http.StatusBadRequest, fmt.Sprintf("not localhost, ip: %s", ctx.ClientIP()))
|
||||
// return
|
||||
|
|
Loading…
Reference in New Issue