wesmiler преди 3 месеца
родител
ревизия
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;
+                }
+
             }
         }