| 
					
				 | 
			
			
				@@ -7,7 +7,7 @@ use Dever; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 class Cron
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 增加积分
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public function scores1_api()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public function scores2_api()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //$where['start'] = Dever::maketime('2019-04-24 23:12:40');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $where['start'] = Dever::maketime('2019-04-25 00:34:55');
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -54,6 +54,16 @@ class Cron 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         */
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    # 重新计算排行榜
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public function pai_api()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        # 购买小刊
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $where['product_id'] = 28;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $where['status'] = 2;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $where['type'] = 1;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $data = Dever::db('journal/order')->state($where);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 收回多余的兑换码
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public function deleteCode_api()
 
			 |