You've already forked qlg.tsgz.moe
							
							
		
			
				
	
	
		
			42 lines
		
	
	
		
			853 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			853 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
<?php
 | 
						|
namespace wstmart\admin\controller;
 | 
						|
use wstmart\admin\model\CronJobs as M;
 | 
						|
/**
 | 
						|
 * ============================================================================
 | 
						|
 * 定时任务控制器
 | 
						|
 */
 | 
						|
class Cronjobs extends Base{
 | 
						|
	/**
 | 
						|
	 * 取消未付款订单
 | 
						|
	 */
 | 
						|
	public function autoCancelNoPay(){
 | 
						|
		$m = new M();
 | 
						|
        $rs = $m->autoCancelNoPay();
 | 
						|
        return json($rs);
 | 
						|
	}
 | 
						|
	/**
 | 
						|
	 * 自动好评
 | 
						|
	 */
 | 
						|
	public function autoAppraise(){
 | 
						|
        $m = new M();
 | 
						|
        $rs = $m->autoAppraise();
 | 
						|
        return json($rs);
 | 
						|
	}
 | 
						|
	/**
 | 
						|
	 * 自动确认收货
 | 
						|
	 */
 | 
						|
	public function autoReceive(){
 | 
						|
	 	$m = new M();
 | 
						|
        $rs = $m->autoReceive();
 | 
						|
        return json($rs);
 | 
						|
	}
 | 
						|
 | 
						|
	/**
 | 
						|
	 * 发送队列消息
 | 
						|
	 */
 | 
						|
	public function autoSendMsg(){
 | 
						|
	 	$m = new M();
 | 
						|
        $rs = $m->autoSendMsg();
 | 
						|
        return json($rs);
 | 
						|
	}
 | 
						|
} |