liuzejian 1 gadu atpakaļ
vecāks
revīzija
70532de8f9

+ 6 - 0
modules/Callback/Http/Controllers/CallbackLogController.php

@@ -66,6 +66,12 @@ class CallbackLogController extends CatchController
             if('ok' == $item->filter_type ) {
                 $item->filter_reason .= '-'. $reportSuccessStr[$item->report_success] ?? '';
             }
+
+            if('ok' == $item->filter_type && (0 != $item->report_success)) {
+                $item->filter_type_str = '成功';
+            } else {
+                $item->filter_type_str = '失败';
+            }
         }
 
         return $result;