Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
0653d78b
Commit
0653d78b
authored
Mar 29, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
踢人
parent
8e8d3abc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
application/Appapi/Controller/InviteController.class.php
+1
-1
No files found.
application/Appapi/Controller/InviteController.class.php
View file @
0653d78b
...
@@ -10,7 +10,7 @@ class InviteController extends HomebaseController {
...
@@ -10,7 +10,7 @@ class InviteController extends HomebaseController {
$agentid
=
checkNull
(
I
(
"agentid"
));
$agentid
=
checkNull
(
I
(
"agentid"
));
if
(
$agentid
){
if
(
$agentid
){
$agentuid
=
M
(
'users'
)
->
where
(
"
user_type=1 and user_activation_key='
{
$agentid
}
'
"
)
->
getField
(
'id'
);
$agentuid
=
M
(
'users'
)
->
where
(
"
id =
{
$agentid
}
"
)
->
getField
(
'id'
);
if
(
!
$agentuid
){
if
(
!
$agentuid
){
$this
->
assign
(
"reason"
,
'邀请码不正确'
);
$this
->
assign
(
"reason"
,
'邀请码不正确'
);
$this
->
display
(
':error'
);
$this
->
display
(
':error'
);
...
...
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