Merge pull request 'yh' (#672) from feature/yh_promote_query into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/672
master
廖金灵 2 years ago
commit 5e061fd274

@ -164,6 +164,10 @@ class ShiftPlayer
private function updateMend($userId, $amount)
{
if (count($this->userIds) == 0) {
return true;
}
return M('mend', 'tab_')
->where(['task_id' => $this->task['id'], 'user_id' => $userId])
->save(['status' => 1, 'pay_amount' => ['exp', 'pay_amount+' . $amount], 'update_time' => time()]);

Loading…
Cancel
Save