luck-draw/app/controller/api/User.php

15 lines
200 B
PHP

<?php
namespace app\controller\api;
class User extends Base
{
protected $noNeedLogin = [];
public function index()
{
return json(['code' => 0, 'msg' => 'I am index']);
}
}