Commit 1aac1b78 by 冷斌

fix bug

parent a365a134
......@@ -195,7 +195,7 @@ class InviteController extends HomebaseController {
$mobile_code = random(6,1);
//密码可以使用明文密码或使用32位MD5加密
$result = sendCode($mobile,$mobile_code);
$result = sendCode($mobile,$mobile_code,630425);
if($result['code']===0){
$_SESSION['reg_mobile'] = $mobile;
$_SESSION['reg_mobile_code'] = $mobile_code;
......
......@@ -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());
//
......@@ -2487,7 +2487,6 @@ function sp_delete_physics_img($imglist){
// setSendcode(array('type'=>'1','account'=>$mobile,'content'=>$content));
//
// return $rs;
$rs = array('code' => 0, 'msg' => '', 'info' => array());
$config = getConfigPri();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment