Browse Source

收支明细

gorden 5 months ago
parent
commit
19dd9fc6d7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/event/statistics/InOutEvent.php

+ 3 - 1
app/event/statistics/InOutEvent.php

@@ -94,7 +94,9 @@ class InOutEvent
             $inoutObjectJson['ordergroup'] = $order->order_groupby;
             $data['inout_object_json'] = json_encode($inoutObjectJson);
             $data['inout_name'] = implode(',', $data['inout_name']);
-
+            if (strlen($data['inout_name']) > 100) {
+                $data['inout_name'] = mb_substr($data['inout_name'], 0, 100) . '等';
+            }
             $payJson = [
                 'trade' => '',
                 'if_union' => count($payDetails) > 1 ? 'Y' : 'N',