dev #4
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace app\api\controller;
|
||||
|
||||
use app\common\model\AppUpdate;
|
||||
|
||||
class AppUpdateController extends BaseApiController
|
||||
{
|
||||
public function index() {
|
||||
$data = AppUpdate::field('id,title,content,type,version,dow_url,force,quiet')->where('')->order('id desc')->findOrEmpty();
|
||||
return $this->success('请求成功',$data->toArray());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue