Kirin 3 주 전
부모
커밋
f5fcffd309
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/controller/api/user/UserFinance.php

+ 1 - 1
app/controller/api/user/UserFinance.php

@@ -94,7 +94,7 @@ class UserFinance extends ApiBaseController
         $data = $this->billServices->getUserBillList($category, ['uid' => $this->request->uid(), 'pm' => $pm, 'start_time' => $start_time, 'end_time' => $end_time], '*');
         $all_income = $this->billServices->getUserBillSum($this->request->uid(), $category, '', 1);
         $all_expend = $this->billServices->getUserBillSum($this->request->uid(), $category, '', 0);
-        $types = $this->billServices->getBillType();
+        $types = $this->billServices->getBillType($category);
         return $this->success(compact('data', 'all_income', 'all_expend', 'types'));
     }