|
|
@@ -51,6 +51,7 @@ use common\helpers\Excel;
|
|
|
use common\helpers\Form;
|
|
|
use common\helpers\http\RemoteUploadApi;
|
|
|
use common\helpers\Log;
|
|
|
+use common\helpers\LoggerTool;
|
|
|
use common\libs\export\module\BonusExport;
|
|
|
use common\models\forms\PeriodForm;
|
|
|
use common\models\forms\UserPerformanceForm;
|
|
|
@@ -529,10 +530,14 @@ class BonusController extends BaseController
|
|
|
*
|
|
|
*/
|
|
|
public function actionAutoWithdraw($taskKey){
|
|
|
- Cache::setWithdrawLock(1);
|
|
|
- $formModel = new WithdrawForm();
|
|
|
- $formModel->batchWithdraw(1000,0);
|
|
|
- Cache::setWithdrawLock(0);
|
|
|
+ $params = Cache::getAsyncParams($taskKey);
|
|
|
+
|
|
|
+ LoggerTool::debug(['actionAutoWithdraw', $params]);
|
|
|
+
|
|
|
+// Cache::setWithdrawLock(1);
|
|
|
+// $formModel = new WithdrawForm();
|
|
|
+// $formModel->batchWithdraw(1000,0);
|
|
|
+// Cache::setWithdrawLock(0);
|
|
|
}
|
|
|
|
|
|
/**
|