Ver código fonte

提现金额

shish 2 anos atrás
pai
commit
5363dda221
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      app-pt/controllers/CashController.php

+ 2 - 0
app-pt/controllers/CashController.php

@@ -28,6 +28,8 @@ class CashController extends BaseController
             $where['status'] = $status;
         }
         $respond = CashClass::getCashList($where);
+        $amount = CashClass::sum(['status' => 2], 'beAmount');
+        $respond['totalAmount'] = $amount;
         util::success($respond);
     }