|
|
@@ -1370,6 +1370,12 @@ class StoreOrderRepository extends BaseRepository
|
|
|
// if ($spread['spread_uid']>0){ //
|
|
|
// $this->getSpreadIntegral($order, $type,$spread);
|
|
|
// }
|
|
|
+ if ($type == 5){
|
|
|
+ $this->team_rewards($order, 1); //分发节能油团队奖励
|
|
|
+ }elseif ($type == 6){
|
|
|
+ $this->team_rewards($order, 2); //分发礼包团队奖励
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -1502,8 +1508,8 @@ class StoreOrderRepository extends BaseRepository
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception $e) {
|
|
|
- @file_put_contents('quanju.txt', $e->getMessage() . "-错误信息\r\n", 8);
|
|
|
- @file_put_contents('quanju.txt', $e->getLine() . "-错误位置\r\n", 8);
|
|
|
+ @file_put_contents('quanju.txt', $e->getMessage() . "-团队奖励错误信息\r\n", 8);
|
|
|
+ @file_put_contents('quanju.txt', $e->getLine() . "-团队奖励错误位置\r\n", 8);
|
|
|
}
|
|
|
}
|
|
|
|