|
|
|
@ -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.'】'); // 服务商新商户奖励
|
|
|
|
} |
|
|
|
|