コード例 #1
0
        [HttpGet, AllowAnonymous] //AllowAnonymous允许控制器匿名访问
        public dynamic List(string name = null)
        {
            TestMapper mapper = new TestMapper();
            var        dict   = mapper.selectTest(name);

            return(Success(dict));
        }