dever 6 years ago
parent
commit
47075e4d05

+ 1 - 1
tm/lib/Controller/EventsController.class.php

@@ -350,7 +350,7 @@ class EventsController extends Controller {
 
 	public function prize($eventsData, $plat_form_id, $limit = 10, $uid = false)
 	{
-		$condition = array('audit' => 2, 'platform_id' => SqlHelper::addCompareOperator('&', $plat_form_id), 'scratch_receive' => LotteryData::EVENT_SCRATCH_RECEIVE_TRUE);
+		$condition = array('audit' => 2, 'platform_id' => SqlHelper::addCompareOperator('&', $plat_form_id));
 
 		if (isset($eventsData['id'])) {
 			$condition['events_id'] = $eventsData['id'];

+ 1 - 0
tm/lib/Controller/EventsTry.class.php

@@ -64,6 +64,7 @@ class EventsTry extends EventsController {
 		
 		# 记录PV UV日志 访问
 		$objCount = new Count();
+		$plat_form_id = $this->getPlatFormId();
 		$objCount->setPassLog( $events_id,$plat_form_id);
 		
 		# 视频播放

+ 1 - 0
tm/lib/Controller/EventsTurntable.class.php

@@ -112,6 +112,7 @@ class EventsTurntable extends EventsController {
 		
 		# 记录PV UV日志 访问
 		$objCount = new Count();
+		$plat_form_id = $this->getPlatFormId();
 		$objCount->setPassLog( $events_id,$plat_form_id);
 		
 		# 视频播放

+ 2 - 1
tm/lib/Module/Count.class.php

@@ -51,8 +51,9 @@ class Count {
 			$data = $objDLotteryDeliveryChannels -> get($from_id);
 			
 			if($data['events_id'] == $event_id ){
-				$objDLotteryDeliveryChannels -> addOnePV($from_id);
+				//$objDLotteryDeliveryChannels -> addOnePV($from_id);
 			}
+			$objDLotteryDeliveryChannels -> addOnePV($from_id);
 		}else{
 			$objDLotteryDeliveryChannels ->addDefaultEventOnePV(Request::schemeDomain(),$event_id,$platform_id);
 		}