From 6f00ffc707639e4c91a8af44bfd27fb1427f1a45 Mon Sep 17 00:00:00 2001 From: weigang Date: Fri, 4 Sep 2020 17:44:23 +0800 Subject: [PATCH] Fix --- app/Service/SeparateAccountsService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Service/SeparateAccountsService.php b/app/Service/SeparateAccountsService.php index 39a126b..214f7a6 100644 --- a/app/Service/SeparateAccountsService.php +++ b/app/Service/SeparateAccountsService.php @@ -215,6 +215,7 @@ class SeparateAccountsService implements SeparateAccountsServiceInterface &&$record['is_awarded']==0 &&$record['new_user_number']>=$MmMpAwardConfig['limit_new_user_number'] ) { // 存在记录且未发放奖励,同时新用户数已经超过10 + $ssdb->exec('hset', $ssdbName, 'is_awarded', 1); $this->financialRecordService->mmAwardByNewStore($mmInfo->admin_user_id, $global_order_id, $MmMpAwardConfig['mm_new_store'], '发展新商户【'.$store->name.'】'); // 市场经理新商户奖励 $this->financialRecordService->mpAwardByNewStore($mpInfo->admin_user_id, $global_order_id, $MmMpAwardConfig['mp_new_store'], '市场经理「'.$mmInfo->name.'」发展新商户【'.$store->name.'】'); // 服务商新商户奖励 } @@ -409,6 +410,7 @@ class SeparateAccountsService implements SeparateAccountsServiceInterface &&$record['is_awarded']==0 &&$record['new_user_number']>=$MmMpAwardConfig['limit_new_user_number'] ) { // 存在记录且未发放奖励,同时新用户数已经超过10 + $ssdb->exec('hset', $ssdbName, 'is_awarded', 1); $this->financialRecordService->mmAwardByNewStore($mmInfo->admin_user_id, $global_order_id, $MmMpAwardConfig['mm_new_store'], '发展新商户【'.$store->name.'】'); // 市场经理新商户奖励 $this->financialRecordService->mpAwardByNewStore($mpInfo->admin_user_id, $global_order_id, $MmMpAwardConfig['mp_new_store'], '市场经理「'.$mmInfo->name.'」发展新新商户【'.$store->name.'】'); // 服务商新商户奖励 }