初始化代码
This commit is contained in:
21
application/api/controller/Version.php
Normal file
21
application/api/controller/Version.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace app\api\controller;
|
||||
|
||||
use think\Controller;
|
||||
use think\Request;
|
||||
|
||||
class Version extends Controller
|
||||
{
|
||||
public function get_app_version()
|
||||
{
|
||||
$type = input('type', 0);
|
||||
$reslut = model('Version')->get_app_version($type);
|
||||
return ajaxReturn($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
//IOS 上架审核
|
||||
public function ios_shenhe()
|
||||
{
|
||||
return ajaxReturn(200, "审核状态", ['status' => 1]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user