feat:() 增加了支付渠道枚举和支付渠道进行校验
parent
48ed9f1809
commit
5e6f127d0b
|
@ -48,7 +48,7 @@ public enum SysPayType {
|
|||
* @param code
|
||||
* @return
|
||||
*/
|
||||
public static String getInfoByCOde(String code) {
|
||||
public static String getInfoByCode(String code) {
|
||||
return Arrays.stream(values())
|
||||
.filter(s -> s.getCode().equals(code))
|
||||
.findFirst()
|
||||
|
|
Loading…
Reference in New Issue