Commit 2a1bc640 authored by wuxiaoli's avatar wuxiaoli

Merge branch 'dev' of http://rungit.jxdsy.cn:10000/sugar/zhupu into dev

parents 5daa3510 bfa2e634
......@@ -1578,7 +1578,8 @@ class Common
$imUser = [
'avatar' => 'zpupload/20230911/bfc12ff4011731d7b4.jpeg',
'nickname' => CommonCode::buildTouristNickname($imUserId),
// 'nickname' => CommonCode::buildTouristNickname($imUserId),
'nickname' => create_nickname(rand(1,2)),
'referrer' => $referrer,
'token' => $token,
'loginip' => $loginip,
......
......@@ -60,7 +60,7 @@ class Sms extends Api
// $ret = Smslib::send($mobile, null, $event);
$ret = DxSms::sendCodeSms($mobile,$event);
if ($ret) {
$this->success(__('发送成功'));
$this->success(__('发送成功'),$ret);
} else {
$this->error(__('发送失败,请检查短信配置是否正确'));
}
......
This diff is collapsed.
......@@ -37,7 +37,7 @@ class DxSms
Log::write("错误", json_encode($e));
return false;
}
return true;
return ['msg' =>'success','sms_code' =>$code];
}
}
\ No newline at end of file
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