...
|
...
|
@@ -8,6 +8,7 @@ use app\common\model\Version; |
|
|
use Qiniu\Auth;
|
|
|
use think\Config;
|
|
|
use think\Hook;
|
|
|
|
|
|
//use EasyWeChat\Factory;
|
|
|
use EasyWeChat\Foundation\Application;
|
|
|
use think\Db;
|
...
|
...
|
@@ -733,4 +734,10 @@ class Common extends Api |
|
|
];
|
|
|
$this->success('成功', $data);
|
|
|
}
|
|
|
|
|
|
//定时任务
|
|
|
public function delNoPay()
|
|
|
{
|
|
|
Db::name('agreement')->where('createtime', '>', time() - 60)->where('pay', 0)->delete();
|
|
|
}
|
|
|
} |
...
|
...
|
|