wesmiler 3 месяцев назад
Родитель
Сommit
cc19882227
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      app/Services/Api/AccountService.php

+ 5 - 0
app/Services/Api/AccountService.php

@@ -72,6 +72,11 @@ class AccountService extends BaseService
                     $item['type_text'] = isset($accountTypes[$type])? $accountTypes[$type] : '收支明细';
                 }
 
+                $item['change_type'] = 1;
+                if(in_array($type,[1,2,4])){
+                    $item['change_type'] = 2;
+                }
+
             }
         }