12345678910111213141516171819202122232425262728293031 |
- using System.Web.Mvc;
- using PMS.Interface;
- using PMS.Interface.Search;
- namespace PMS.WebUI.Controllers
- {
- /// <summary>
- /// 创 建 人:王海洋
- /// 创建日期:2018-12-10
- /// 功能描述:账户管理控制类
- /// </summary>
- [CheckLogin(false)]
- public class SearchController : BaseController
- {
- ISearch search = InterfaceFactory.CreateBusinessInstance<ISearch>();
- // GET: Account
- public ActionResult Search()
- {
- ViewBag.RYXZ = GetCurrentUser().PersonProperty;
- return View();
- }
- [HttpGet]
- public ActionResult titlePrecision(string keyword)
- {
- var json = search.titlePrecision(keyword);
- return Content(json, "application/json");
- }
- }
- }
|