Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_welfare_api
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
343dc58f
authored
Aug 29, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改邀请好友的逻辑
parent
e218f63a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Controllers/InvitesController.php
app/Http/Controllers/InvitesController.php
View file @
343dc58f
...
...
@@ -32,8 +32,8 @@ class InvitesController extends Controller
public
function
store
(
Request
$request
)
{
$
u
serId
=
$request
->
user
->
user_id
;
$
invitedUserId
=
$request
->
get
(
'invited_
user_id'
);
$
invitedU
serId
=
$request
->
user
->
user_id
;
$
userId
=
$request
->
get
(
'
user_id'
);
if
(
!
$invitedUserId
)
{
return
$this
->
Export
(
self
::
INVALID_PARAMETER
);
}
...
...
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