|
@@ -156,8 +156,6 @@ class MessageService extends Service
|
|
public function sendCode($phone,$type){
|
|
public function sendCode($phone,$type){
|
|
$code=rand(100000, 999999);
|
|
$code=rand(100000, 999999);
|
|
$ret = self::accessKeyClient($type, $phone, $code);
|
|
$ret = self::accessKeyClient($type, $phone, $code);
|
|
- dump($ret);die;
|
|
|
|
- $ret['Code'] = 'OK';
|
|
|
|
if ($ret['Code'] === 'OK') {
|
|
if ($ret['Code'] === 'OK') {
|
|
$msg=DataUserMessage::create([
|
|
$msg=DataUserMessage::create([
|
|
'type'=>$type,
|
|
'type'=>$type,
|