Explorar el Código

feat: EK-879: 【AE】管理员增加“Country”属性,根据所选国家限制登录后所显示的奖金、余额等数据(二期).

kevinElken hace 9 meses
padre
commit
4d25c19b9f
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      common/models/forms/WithdrawForm.php

+ 3 - 1
common/models/forms/WithdrawForm.php

@@ -752,9 +752,11 @@ class WithdrawForm extends Model {
                 return "'" . addslashes($item) . "'";
             }, $adminCountry);
 
-            $condition .= " AND U.COUNTRY_ID IN (" . implode(',', $quotedAdminCountry) . ")";
+            $condition = " AND U.COUNTRY_ID IN (" . implode(',', $quotedAdminCountry) . ")";
         }
 
+        LoggerTool::debug(['$allData', $params['handleUserId'], $isSuper, $condition]);
+
         // 查找有奖金的用户
         $allData = UserBonus::find()
             ->select('USER_ID, USER_NAME, ID_CARD, BONUS')