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
c1b3ad9f
Commit
c1b3ad9f
authored
Apr 04, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
踢人
parent
86f5df80
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
application/Appapi/Controller/InviteController.class.php
+4
-5
themes/simplebootx/Appapi/Invite/index.html
+1
-1
No files found.
application/Appapi/Controller/InviteController.class.php
View file @
c1b3ad9f
...
@@ -9,17 +9,16 @@ class InviteController extends HomebaseController {
...
@@ -9,17 +9,16 @@ class InviteController extends HomebaseController {
function
index
(){
function
index
(){
$agentid
=
checkNull
(
I
(
"agentid"
));
$agentid
=
checkNull
(
I
(
"agentid"
));
$user
=
[];
if
(
$agentid
){
if
(
$agentid
){
$
agentuid
=
M
(
'users'
)
->
where
(
"id =
{
$agentid
}
"
)
->
find
();
$
user
=
M
(
'users'
)
->
where
(
"id =
{
$agentid
}
"
)
->
find
();
if
(
!
$
agentuid
){
if
(
!
$
user
){
$this
->
assign
(
"reason"
,
'邀请码不正确'
);
$this
->
assign
(
"reason"
,
'邀请码不正确'
);
$this
->
display
(
':error'
);
$this
->
display
(
':error'
);
exit
;
exit
;
}
}
}
}
var_dump
(
$agentid
);
$this
->
assign
(
'user'
,
$user
);
die
;
$this
->
assign
(
'agentid'
,
$agentid
);
$this
->
display
();
$this
->
display
();
}
}
...
...
themes/simplebootx/Appapi/Invite/index.html
View file @
c1b3ad9f
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</div>
</div>
<!-- 邀请人部分 -->
<!-- 邀请人部分 -->
<div
class=
"InviterBox"
>
<div
class=
"InviterBox"
>
<img
src=
"
../img/tx.png
"
class=
"InviterImg"
>
<img
src=
"
{$user['avatar']}
"
class=
"InviterImg"
>
<p
class=
"Inviter_number"
>
趣秀伙伴456210
</p>
<p
class=
"Inviter_number"
>
趣秀伙伴456210
</p>
<p
class=
"inviteTxt"
>
邀请您下载使用趣秀直播
</p>
<p
class=
"inviteTxt"
>
邀请您下载使用趣秀直播
</p>
</div>
</div>
...
...
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