kevin_zhangl 2 năm trước cách đây
mục cha
commit
e222d5eb34
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      frontendApi/modules/v1/controllers/BonusController.php

+ 1 - 1
frontendApi/modules/v1/controllers/BonusController.php

@@ -228,7 +228,7 @@ class BonusController extends BaseController {
                 $condition.=' AND IS_INCR=1 AND DEAL_TYPE_IS_PRESET=0';
             }elseif ($dealType==2){//扣除
                 $condition.=' AND IS_INCR=0 AND DEAL_TYPE_IS_PRESET=0';
-            }else{
+            }else if ($walletType != 'cash') {
                 $condition.=' AND DEAL_TYPE_ID=:DEAL_TYPE';
                 $params[':DEAL_TYPE'] = $dealType;
             }