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
1aac1b78
Commit
1aac1b78
authored
Jun 12, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
a365a134
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
application/Appapi/Controller/InviteController.class.php
+1
-1
application/Common/Common/function.php
+1
-2
No files found.
application/Appapi/Controller/InviteController.class.php
View file @
1aac1b78
...
@@ -195,7 +195,7 @@ class InviteController extends HomebaseController {
...
@@ -195,7 +195,7 @@ class InviteController extends HomebaseController {
$mobile_code
=
random
(
6
,
1
);
$mobile_code
=
random
(
6
,
1
);
//密码可以使用明文密码或使用32位MD5加密
//密码可以使用明文密码或使用32位MD5加密
$result
=
sendCode
(
$mobile
,
$mobile_code
);
$result
=
sendCode
(
$mobile
,
$mobile_code
,
630425
);
if
(
$result
[
'code'
]
===
0
){
if
(
$result
[
'code'
]
===
0
){
$_SESSION
[
'reg_mobile'
]
=
$mobile
;
$_SESSION
[
'reg_mobile'
]
=
$mobile
;
$_SESSION
[
'reg_mobile_code'
]
=
$mobile_code
;
$_SESSION
[
'reg_mobile_code'
]
=
$mobile_code
;
...
...
application/Common/Common/function.php
View file @
1aac1b78
...
@@ -2428,7 +2428,7 @@ function sp_delete_physics_img($imglist){
...
@@ -2428,7 +2428,7 @@ function sp_delete_physics_img($imglist){
/* 发送验证码 */
/* 发送验证码 */
/* 发送验证码 -- 容联云 */
/* 发送验证码 -- 容联云 */
function
sendCode
(
$mobile
,
$code
){
function
sendCode
(
$mobile
,
$code
,
$tempId
){
// $rs = array('code' => 0, 'msg' => '', 'info' => array());
// $rs = array('code' => 0, 'msg' => '', 'info' => array());
//
//
...
@@ -2487,7 +2487,6 @@ function sp_delete_physics_img($imglist){
...
@@ -2487,7 +2487,6 @@ function sp_delete_physics_img($imglist){
// setSendcode(array('type'=>'1','account'=>$mobile,'content'=>$content));
// setSendcode(array('type'=>'1','account'=>$mobile,'content'=>$content));
//
//
// return $rs;
// return $rs;
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$config
=
getConfigPri
();
$config
=
getConfigPri
();
...
...
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