Explorar el Código

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

kevinElken hace 10 meses
padre
commit
bb14ce0996
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      backendApi/modules/v1/controllers/BonusController.php

+ 1 - 0
backendApi/modules/v1/controllers/BonusController.php

@@ -2831,6 +2831,7 @@ class BonusController extends BaseController {
      *
      *
      */
      */
     public function actionAutoWithdraw() {
     public function actionAutoWithdraw() {
+        Cache::setWithdrawLock(0);
         $withdrawLock = Cache::getWithdrawLock();
         $withdrawLock = Cache::getWithdrawLock();
         if ($withdrawLock!=0){
         if ($withdrawLock!=0){
             return static::notice(Form::formatErrorsForApi('已有进程在生成'), 400);
             return static::notice(Form::formatErrorsForApi('已有进程在生成'), 400);