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
3279a30d
Commit
3279a30d
authored
Apr 04, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
踢人
parent
8c0708b4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
application/Appapi/Controller/InviteController.class.php
+10
-10
themes/simplebootx/Appapi/Invite/index.html
+3
-3
No files found.
application/Appapi/Controller/InviteController.class.php
View file @
3279a30d
...
@@ -242,11 +242,11 @@ class InviteController extends HomebaseController {
...
@@ -242,11 +242,11 @@ class InviteController extends HomebaseController {
$rs
[
'msg'
]
=
'请输入密码'
;
$rs
[
'msg'
]
=
'请输入密码'
;
$this
->
ajaxReturn
(
$rs
);
$this
->
ajaxReturn
(
$rs
);
}
}
if
(
$userpass2
==
''
){
//
if($userpass2==''){
$rs
[
'code'
]
=
1002
;
//
$rs['code']=1002;
$rs
[
'msg'
]
=
'请输入确认密码'
;
//
$rs['msg']='请输入确认密码';
$this
->
ajaxReturn
(
$rs
);
//
$this->ajaxReturn($rs);
}
//
}
if
(
$userlogin
!=
$_SESSION
[
'reg_mobile'
]){
if
(
$userlogin
!=
$_SESSION
[
'reg_mobile'
]){
$rs
[
'code'
]
=
1001
;
$rs
[
'code'
]
=
1001
;
...
@@ -272,11 +272,11 @@ class InviteController extends HomebaseController {
...
@@ -272,11 +272,11 @@ class InviteController extends HomebaseController {
$this
->
ajaxReturn
(
$rs
);
$this
->
ajaxReturn
(
$rs
);
}
}
if
(
$userpass
!=
$userpass2
){
//
if($userpass!=$userpass2){
$rs
[
'code'
]
=
1006
;
//
$rs['code']=1006;
$rs
[
'msg'
]
=
'密码和确认密码不一致'
;
//
$rs['msg']='密码和确认密码不一致';
$this
->
ajaxReturn
(
$rs
);
//
$this->ajaxReturn($rs);
}
//
}
if
(
$agentid
){
if
(
$agentid
){
$agentuid
=
M
(
'users'
)
->
where
(
"id='
{
$agentid
}
'"
)
->
getField
(
'id'
);
$agentuid
=
M
(
'users'
)
->
where
(
"id='
{
$agentid
}
'"
)
->
getField
(
'id'
);
if
(
!
$agentuid
){
if
(
!
$agentuid
){
...
...
themes/simplebootx/Appapi/Invite/index.html
View file @
3279a30d
...
@@ -42,15 +42,15 @@
...
@@ -42,15 +42,15 @@
<div
class=
"list"
>
<div
class=
"list"
>
<img
class=
"list_label"
src=
"__PUBLIC__/appapi/img/lock@2x.png"
/>
<img
class=
"list_label"
src=
"__PUBLIC__/appapi/img/lock@2x.png"
/>
<div
class=
"input_box"
>
<div
class=
"input_box"
>
<input
type=
"password"
placeholder=
"请输入密码"
maxlength=
"16"
>
<input
id=
"userpass"
type=
"password"
placeholder=
"请输入密码"
maxlength=
"16"
>
</div>
</div>
</div>
</div>
<div
class=
"list"
style=
"padding-right: .25rem;"
>
<div
class=
"list"
style=
"padding-right: .25rem;"
>
<img
class=
"list_label"
src=
"__PUBLIC__/appapi/img/code@2x.png"
/>
<img
class=
"list_label"
src=
"__PUBLIC__/appapi/img/code@2x.png"
/>
<div
class=
"input_box"
>
<div
class=
"input_box"
>
<input
type=
"text"
placeholder=
"请输入验证码"
maxlength=
"8"
>
<input
id=
"usercode"
type=
"text"
placeholder=
"请输入验证码"
maxlength=
"8"
>
</div>
</div>
<input
type=
"button"
id=
"sendyzm"
class=
"yzm"
value=
"发送验证码"
></input>
<input
id=
"getCode"
type=
"button"
id=
"sendyzm"
class=
"yzm"
value=
"发送验证码"
></input>
</div>
</div>
</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