|
|
@@ -209,9 +209,6 @@ class UserPerformance extends \common\components\ActiveRecord
|
|
|
try {
|
|
|
// 奖金发放
|
|
|
$id = Tool::generateId();
|
|
|
-
|
|
|
- LoggerTool::info(['sentUserPerformance', $periodNum, DealType::getDealTypeIdByTag('User Performance grant'), $userId, $amount, $bountyPeriodNum, $id]);
|
|
|
-
|
|
|
self::insertOne([
|
|
|
'ID' => $id,
|
|
|
'USER_ID' => $userId,
|
|
|
@@ -221,7 +218,7 @@ class UserPerformance extends \common\components\ActiveRecord
|
|
|
'EXPIRED_AT' => date('Y-m-d', strtotime('+1 year', time())),
|
|
|
'CREATED_AT' => date('Y-m-d', time()),
|
|
|
'UPDATED_AT' => date('Y-m-d', time()),
|
|
|
- 'REMARK' => DealType::getDealTypeIdByTag('User Performance grant'),
|
|
|
+ 'REMARK' => DealType::USER_PERFORMANCE_SEND,
|
|
|
'BOUNTY_PERIOD_NUM' => $bountyPeriodNum,
|
|
|
'PAID_PERIOD_NUM' => $periodNum,
|
|
|
]);
|