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

            return(Success("操作成功"));
        }