|
@@ -152,7 +152,7 @@ class MessageService extends Service
|
|
|
|
|
|
public function sendCode($phone,$type){
|
|
|
$code=rand(100000, 999999);
|
|
|
- return app()->db->transaction(function ()use ($phone, $type, $code){
|
|
|
+ return app()->db->transaction(function () use ($phone, $type, $code){
|
|
|
$msg=DataUserMessage::create([
|
|
|
'type'=>$type,
|
|
|
'phone'=>$phone,
|