You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. using EasyBL.WebApi.Filters;
  2. using EasyBL.WEBAPP.ShowEasy;
  3. using EasyBL.WEBAPP.SYS;
  4. using Entity.ShowEasyDtos;
  5. using Entity.Sugar;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Linq;
  9. using System.Net;
  10. using System.Net.Http;
  11. using System.Web.Http;
  12. namespace WebApp.Controllers
  13. {
  14. public class IndexController : ApiController
  15. {
  16. //ads Swiper
  17. [HttpGet]
  18. public HttpResponseMessage Banner(string Lang)
  19. {
  20. return new IndexService().Banner(Lang);
  21. }
  22. /// <summary>
  23. /// 首頁基本信息查詢
  24. /// </summary>
  25. /// <param name="Lang"></param>
  26. /// <returns></returns>
  27. [HttpGet]
  28. public HttpResponseMessage BaseInfo(string Lang)
  29. {
  30. return new IndexService().BaseInfo(Lang);
  31. }
  32. /// <summary>
  33. /// 前臺使用OrgID
  34. /// </summary>
  35. /// <returns></returns>
  36. [HttpGet]
  37. public HttpResponseMessage GetOrgID()
  38. {
  39. return new IndexService().GetOrgID();
  40. }
  41. }
  42. }