소스 검색

translate

root 2 년 전
부모
커밋
930e321484
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      backendApi/modules/v1/controllers/FinanceController.php

+ 2 - 1
backendApi/modules/v1/controllers/FinanceController.php

@@ -153,7 +153,8 @@ class FinanceController extends BaseController {
      * @throws \yii\web\HttpException
      */
     public function actionChangeBalanceType(){
-        $type = BalanceAudit::TYPE;
+        // $type = BalanceAudit::TYPE;
+        $type = BalanceAudit::getBalanceAuditType();
         $dealTypes = DealType::getTypes();
         return static::notice(['type' => $type, 'dealTypes' => $dealTypes]);
     }