Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
753e5143
authored
Jun 24, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into ysx-银行账号优化-20240617
# Conflicts: # app/Http/Services/DataService.php
parents
2c3b9d00
e77eb752
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
app/Http/Services/SupplierReceiptService.php
app/Http/Services/SupplierReceiptService.php
View file @
753e5143
...
...
@@ -20,4 +20,8 @@ class SupplierReceiptService
public
static
function
transferAccountNo
(
$str
)
{
return
preg_replace
(
"/[^0-9a-zA-Z\-\(\)]/"
,
""
,
$str
);
}
public
static
function
keepOnlyDigitsAndHyphen
(
$str
)
{
return
preg_replace
(
"/[^0-9\-]/"
,
""
,
$str
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment