using Learun.Application.CRM;
using Nancy;
namespace Learun.Application.WebApi.Modules.LR_Crm
{
///
/// 版 本 Learun-ADMS V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创建人:数字化智慧校园-框架开发组
/// 日 期:2018.07.10
/// 描 述:客户管理
///
public class CrmCustomer: BaseApi
{
///
/// 注册接口
///
public CrmCustomer()
: base("/learun/adms/crm/customer")
{
Get["/list"] = GetList;// 获取客户列表
}
private CrmCustomerIBLL crmCustomerIBLL = new CrmCustomerBLL();
///
/// 获取客户列表
///
///
///
private Response GetList(dynamic _)
{
var list = crmCustomerIBLL.GetList();
return Success(list);
}
}
}