dev #4

Merged
weiz merged 2 commits from dev into master 2023-12-04 16:41:27 +08:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit 0e1663a166 - Show all commits

View File

@ -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());
}
}