Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
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
d0e61bd1
authored
Nov 18, 2022
by
宁成龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复user_sn不存在时的报错
parent
76c34743
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
app/Admin/Controllers/UserController.php
app/Admin/Controllers/UserController.php
View file @
d0e61bd1
...
...
@@ -79,14 +79,14 @@ class UserController extends AdminController
try
{
$data
=
request
()
->
all
();
$params
=
[
'company_name'
=>
$data
[
'company_name'
],
'user_sn'
=>
$data
[
'user_sn'
],
'first_name'
=>
$data
[
'first_name'
],
'last_name'
=>
$data
[
'last_name'
],
'phone'
=>
$data
[
'phone'
],
'email'
=>
$data
[
'email'
],
'account_properties'
=>
$data
[
'account_properties'
],
'remark'
=>
$data
[
'remark'
],
'company_name'
=>
$data
[
'company_name'
]
??
""
,
'user_sn'
=>
$data
[
'user_sn'
]
??
""
,
'first_name'
=>
$data
[
'first_name'
]
??
""
,
'last_name'
=>
$data
[
'last_name'
]
??
""
,
'phone'
=>
$data
[
'phone'
]
??
""
,
'email'
=>
$data
[
'email'
]
??
""
,
'account_properties'
=>
$data
[
'account_properties'
]
??
""
,
'remark'
=>
$data
[
'remark'
]
??
""
,
'user_address_list'
=>
$data
[
'user_address_list'
]
??
[],
];
...
...
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