feat:() 增加了支付渠道枚举和支付渠道进行校验

master
chentaisen 2024-08-08 10:00:12 +08:00
parent 48ed9f1809
commit 5e6f127d0b
1 changed files with 1 additions and 1 deletions

View File

@ -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()