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
48 lines
1.1 KiB
using EasyBL.WebApi.Filters;
|
|
using EasyBL.WEBAPP.ShowEasy;
|
|
using EasyBL.WEBAPP.SYS;
|
|
using Entity.ShowEasyDtos;
|
|
using Entity.Sugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Net.Http;
|
|
using System.Web.Http;
|
|
|
|
namespace WebApp.Controllers
|
|
{
|
|
public class IndexController : ApiController
|
|
{
|
|
|
|
//ads Swiper
|
|
[HttpGet]
|
|
public HttpResponseMessage Banner(string Lang)
|
|
{
|
|
return new IndexService().Banner(Lang);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 首頁基本信息查詢
|
|
/// </summary>
|
|
/// <param name="Lang"></param>
|
|
/// <returns></returns>
|
|
[HttpGet]
|
|
public HttpResponseMessage BaseInfo(string Lang)
|
|
{
|
|
return new IndexService().BaseInfo(Lang);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 前臺使用OrgID
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
[HttpGet]
|
|
public HttpResponseMessage GetOrgID()
|
|
{
|
|
return new IndexService().GetOrgID();
|
|
}
|
|
|
|
|
|
}
|
|
}
|