|
@@ -271,6 +271,9 @@ class AwardIntegralServices extends BaseServices
|
|
|
$update['extract_num'] = bcadd((string)$real_send, (string)$v['extract_num'], 2);
|
|
$update['extract_num'] = bcadd((string)$real_send, (string)$v['extract_num'], 2);
|
|
|
$update['send_time'] = time();
|
|
$update['send_time'] = time();
|
|
|
$this->dao->update($v['id'], $update);
|
|
$this->dao->update($v['id'], $update);
|
|
|
|
|
+ /** @var UserBillServices $billService */
|
|
|
|
|
+ $billService = app()->make(UserBillServices::class);
|
|
|
|
|
+ $billService->income('integral_day_send', $v['uid'], $real_send, $update['num'] - $update['sent_num'], $v['id']);
|
|
|
if (($update['status'] ?? 0) == 1) {
|
|
if (($update['status'] ?? 0) == 1) {
|
|
|
$this->extract($v['id'], $update['extract_num'], true);
|
|
$this->extract($v['id'], $update['extract_num'], true);
|
|
|
}
|
|
}
|