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