Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2023-02-23 23:12:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f21ac8f257fcdba09f4ac6d28efca2ae03f54753
f21ac8f2
1 parent
0e01f81a
1.修改用户信息优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Controllers/V1/UserController.php
app/Http/Controllers/V1/UserController.php
View file @
f21ac8f
...
...
@@ -102,7 +102,7 @@ class UserController extends Controller
{
$validator
=
Validator
::
make
(
$request
->
all
(),
[
'avatar'
=>
'sometimes|string'
,
'email'
=>
'
required
|string'
,
'email'
=>
'
sometimes
|string'
,
'nickname'
=>
'sometimes|string'
,
'gender'
=>
'sometimes|integer'
,
]);
...
...
Please
register
or
login
to post a comment