LD 5 лет назад
Родитель
Сommit
6b49f64396

+ 1 - 1
app/Http/Controllers/MeasureMonitorController.php

@@ -39,7 +39,7 @@ class MeasureMonitorController extends Controller
 
     public function speech(Request $request){
         $logistic=$request->input('logistic');
-        if (!$logistic)return '';
+        if (!$logistic)$logistic='空';
         if (file_exists("storage/".$logistic.'.mp3')){
             return "/storage/".$logistic.'.mp3';
         }

+ 1 - 1
resources/views/weight/measureMonitor/index.blade.php

@@ -141,7 +141,7 @@
                                         audio.play();
                                     }else {
                                         tempTip.setDuration(4000);
-                                        tempTip.show('文件名不规范!');
+                                        tempTip.show('没有对应快递名称!');
                                     }
                                 })
                                 .catch(function (err) {