| 
														
															@@ -55,7 +55,7 @@ class Cron 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }
 
														 | 
														
														 | 
														
															     }
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
 
														 | 
														
														 | 
														
															 
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 重新计算排行榜
 
														 | 
														
														 | 
														
															     # 重新计算排行榜
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public function pai_api()
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public function pai1_api()
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     {
 
														 | 
														
														 | 
														
															     {
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $id = Dever::input('product_id', 28);
 
														 | 
														
														 | 
														
															         $id = Dever::input('product_id', 28);
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $data = Dever::db('act/score')->state(array('type' => 4, 'data_id' => $id));
 
														 | 
														
														 | 
														
															         $data = Dever::db('act/score')->state(array('type' => 4, 'data_id' => $id));
 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -79,7 +79,7 @@ class Cron 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     $score += $this->paiOrder($v1);
 
														 | 
														
														 | 
														
															                     $score += $this->paiOrder($v1);
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 }
 
														 | 
														
														 | 
														
															                 }
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }
 
														 | 
														
														 | 
														
															             }
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            print_r($score);
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            print_r($score);die;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             /*
 
														 | 
														
														 | 
														
															             /*
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if ($score > 0) {
 
														 | 
														
														 | 
														
															             if ($score > 0) {
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 Dever::db('act/score')->update(array('where_id' => $v['id'], 'score' => $score));
 
														 | 
														
														 | 
														
															                 Dever::db('act/score')->update(array('where_id' => $v['id'], 'score' => $score));
 
														 |