修复验证cookie自动报警

This commit is contained in:
苏尹岚
2020-01-19 08:27:34 +08:00
parent 1b1b1f7377
commit 27c3763ff9

View File

@@ -192,7 +192,7 @@ func GetCheckVendorCookie(ctx *jxcontext.Context, vendorIDs []int, isAuto bool)
// ccList = append(ccList, cc) // ccList = append(ccList, cc)
// } // }
} }
if isAuto && len(ccList) > 0 { if isAuto && errMsg != "" {
globals.SugarLogger.Warnf("GetCheckVendorCookie[%v]", errMsg) globals.SugarLogger.Warnf("GetCheckVendorCookie[%v]", errMsg)
} }
return ccList, err return ccList, err