public ActionResult <Result> CategoriesArticles([FromRoute] string langValue, [FromRoute] int articleMainType, [FromRoute] int count) { TLang lang = langServer.RetrieveByValue(langValue); if (lang == null) { throw new ResultException("语言代号错误"); } // var data = new // { // MainType = typeServer.Retrieve(new TType { TypeId = articleMainType }), // ArticleTypes = // }; return(new Result(200, "成功", articleServer.CategoriesArticles(lang.LangId, articleMainType, count))); }