|
@@ -266,7 +266,7 @@ class IntegralJob extends BaseJobs
|
|
|
|
|
|
$to_now_money = 0;
|
|
|
$starts_return_time = sys_config('starts_return_time', 0);
|
|
|
- if ($starts_return_time > 0) {
|
|
|
+ if ($starts_return_time > 0&&$info['type']==0) {
|
|
|
$count = $awardIntegralService->search(['uid' => $user['uid'], 'type' => 0, 'status' => 1])->count();
|
|
|
if ($count < $starts_return_time) {
|
|
|
$to_now_money = $info['order_price'];
|