Commit 12a56d13 by guojuxing

平台类型值校验修改

parent 6e61be30
...@@ -117,6 +117,9 @@ public class MenuForHaoBanApiServiceImpl implements MenuForHaoBanApiService{ ...@@ -117,6 +117,9 @@ public class MenuForHaoBanApiServiceImpl implements MenuForHaoBanApiService{
} }
private static boolean isRightPlatformType(Integer platformType) { private static boolean isRightPlatformType(Integer platformType) {
return platformType != null && (platformType.intValue() == 1 || platformType.intValue() == 2); return platformType != null && (platformType.intValue() == 1
|| platformType.intValue() == 2
|| platformType.intValue() == 3
|| platformType.intValue() == 4);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment