Commit 1dfafab4 authored by gxx's avatar gxx

1

parent 963eb455
...@@ -23,6 +23,7 @@ class SMSController extends Controller ...@@ -23,6 +23,7 @@ class SMSController extends Controller
public function surplus() public function surplus()
{ {
$surplus = $this->mSms->SystemSms($timeType = 'minute',$time = 2); $surplus = $this->mSms->SystemSms($timeType = 'minute',$time = 2);
dd($surplus);
return view('admin/sms/smsstatistics',compact('surplus')); return view('admin/sms/smsstatistics',compact('surplus'));
} }
......
...@@ -82,6 +82,7 @@ class SMSService implements SMSServiceContract ...@@ -82,6 +82,7 @@ class SMSService implements SMSServiceContract
$surplus= $feigesms->system(); $surplus= $feigesms->system();
$sid = SMS::max('id'); $sid = SMS::max('id');
$sms = SMS::find($sid); $sms = SMS::find($sid);
if($sms == null){ if($sms == null){
......
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