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
1d26bb56
authored
Jul 19, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化空格清楚
parent
46ba4a9d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
app/Http/Services/SupplierExaminationService.php
app/Http/Validators/SupplierExaminationValidator.php
app/Http/Services/SupplierExaminationService.php
View file @
1d26bb56
...
...
@@ -27,6 +27,7 @@ class SupplierExaminationService
//保存
public
function
saveSupplierExamination
(
$data
)
{
$data
=
BatchTrim
(
$data
);
$data
[
'examine_time'
]
=
strtotime
(
$data
[
'examine_time'
]);
if
(
!
empty
(
$data
[
'id'
]))
{
$data
[
'update_time'
]
=
time
();
...
...
app/Http/Validators/SupplierExaminationValidator.php
View file @
1d26bb56
...
...
@@ -13,6 +13,7 @@ class SupplierExaminationValidator
//因为控制器那边已经被之前的人魔改的难用的一比,而且控制器那边还接收了一大堆统一变量
public
function
checkSave
(
$params
)
{
$params
=
BatchTrim
(
$params
);
//整理下请求数据
$rules
=
[
"supplier_name"
=>
"required|max:100"
,
...
...
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