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