HomeController.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. using Microsoft.AspNetCore.Mvc;
  7. using Cksoft.WebMainFrame.Models;
  8. namespace Cksoft.WebMainFrame.Controllers
  9. {
  10. public class HomeController: Controller
  11. {
  12. public ActionResult AdminWindos()
  13. {
  14. return View();
  15. }
  16. public IActionResult Index()
  17. {
  18. return View();
  19. }
  20. public IActionResult About()
  21. {
  22. return View();
  23. }
  24. public IActionResult Contact()
  25. {
  26. return View();
  27. }
  28. public IActionResult Privacy()
  29. {
  30. return View();
  31. }
  32. [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
  33. public IActionResult Error()
  34. {
  35. return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
  36. }
  37. public ActionResult AdminWindosDesktop()
  38. {
  39. return View();
  40. }
  41. /// <summary>
  42. /// 通讯服务信息
  43. /// </summary>
  44. /// <returns></returns>
  45. public IActionResult MainHsmsInfo()
  46. {
  47. return View();
  48. }
  49. /// <summary>
  50. /// 通信服务管理
  51. /// </summary>
  52. /// <returns></returns>
  53. public IActionResult MainHsms()
  54. {
  55. return View();
  56. }
  57. /// <summary>
  58. /// 通讯服务信息
  59. /// </summary>
  60. /// <returns></returns>
  61. public IActionResult RmsInfo()
  62. {
  63. return View();
  64. }
  65. //public ActionResult GetMianHsmsInfo()
  66. //{
  67. // try
  68. // {
  69. // System.Net.HttpWebRequest
  70. // return Json(temp);
  71. // }
  72. // catch (Exception ex)
  73. // {
  74. // return Content(new { resultcode = -1, errorinfo = ex.Message.ToString() }.ToJson());
  75. // }
  76. //}
  77. public IActionResult BusinessInfo()
  78. {
  79. return View();
  80. }
  81. public IActionResult LogInfo()
  82. {
  83. return View();
  84. }
  85. }
  86. }