/// <summary>
        /// 查看Api文档
        /// </summary>
        /// <returns></returns>
        public IActionResult ApiDocument(string ApiIdCode)
        {
            IDictionary <string, object> apiConfig = _configBll.GetApiRow(ApiIdCode);

            ViewData["apiConfig"] = apiConfig;
            IList <IDictionary <string, object> > apiParams = _configBll.GetApiParaqms(ApiIdCode);

            ViewData["apiParams"] = apiParams;
            return(View());
        }
Exemple #2
0
        public IDictionary <string, object> GetApiRow(string apiIdCode = "")
        {
            IDictionary <string, object> row = _configBll.GetApiRow(apiIdCode);

            return(row);
        }