Commit 753e5143 by 杨树贤

Merge branch 'master' into ysx-银行账号优化-20240617

# Conflicts:
#	app/Http/Services/DataService.php
parents 2c3b9d00 e77eb752
Showing with 4 additions and 0 deletions
...@@ -20,4 +20,8 @@ class SupplierReceiptService ...@@ -20,4 +20,8 @@ class SupplierReceiptService
public static function transferAccountNo($str) { public static function transferAccountNo($str) {
return preg_replace("/[^0-9a-zA-Z\-\(\)]/", "", $str); return preg_replace("/[^0-9a-zA-Z\-\(\)]/", "", $str);
} }
public static function keepOnlyDigitsAndHyphen($str) {
return preg_replace("/[^0-9\-]/", "", $str);
}
} }
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 sign in to comment