13 lines
351 B
PHP
13 lines
351 B
PHP
<?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());
|
|
}
|
|
} |