机器人限频错误

This commit is contained in:
heavyrain2012
2019-04-03 23:52:36 +08:00
parent ab0e51feac
commit e3e122edc4
@@ -39,7 +39,7 @@ abstract public class RobotAction extends Action {
return ErrorCode.INVALID_PARAMETER;
}
if (mLimitCounter.isGranted(rid)) {
if (!mLimitCounter.isGranted(rid)) {
return ErrorCode.ERROR_CODE_OVER_FREQUENCY;
}