瀏覽代碼

回传列表

liuzejian 1 年之前
父節點
當前提交
70532de8f9
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      modules/Callback/Http/Controllers/CallbackLogController.php

+ 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;