Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- using Learun.Application.CRM;
- using Nancy;
-
- namespace Learun.Application.WebApi.Modules.LR_Crm
- {
- /// <summary>
- /// 版 本 Learun-ADMS V7.0.0 数字化智慧校园
- /// Copyright (c) 2013-2018 北京泉江科技有限公司
- /// 创建人:数字化智慧校园-框架开发组
- /// 日 期:2018.07.10
- /// 描 述:客户管理
- /// </summary>
- public class CrmCustomer: BaseApi
- {
- /// <summary>
- /// 注册接口
- /// </summary>
- public CrmCustomer()
- : base("/learun/adms/crm/customer")
- {
- Get["/list"] = GetList;// 获取客户列表
- }
-
- private CrmCustomerIBLL crmCustomerIBLL = new CrmCustomerBLL();
-
- /// <summary>
- /// 获取客户列表
- /// </summary>
- /// <param name="_"></param>
- /// <returns></returns>
- private Response GetList(dynamic _)
- {
- var list = crmCustomerIBLL.GetList();
- return Success(list);
- }
- }
- }
|