MCPcopy Create free account
hub / github.com/diyhi/bbs / isDiscount

Method isDiscount

src/main/java/cms/utils/Verification.java:171–176  ·  view source on GitHub ↗

校验折扣类型 @param param 参数 @return

(String param)

Source from the content-addressed store, hash-verified

169 * @return
170 */
171 public static boolean isDiscount(String param){
172 if (DISCOUNT.matcher(param).matches()) {
173 return true;
174 }
175 return false;
176 }
177
178 /**
179 * 校验 BigDecimal 值最多只有两位小数。

Callers

nothing calls this directly

Calls 1

matchesMethod · 0.65

Tested by

no test coverage detected