Crontab.php
327 字节
<?php
namespace app\api\controller;
use app\common\controller\Api;
class Crontab extends Api
{
protected $noNeedLogin = ['*'];
protected $noNeedRight = ['*'];
public function index(){
$res = db('study')->field('team_id,earn_score,team_rank')->select();
if ($res['team_id']){
}
}
}