Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using Learun.Application.Base.SystemModule;
- using Nancy;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
-
- namespace Learun.Application.WebApi.Modules
- {
- /// <summary>
- /// 版 本 Learun-ADMS V7.0.0 数字化智慧校园
- /// Copyright (c) 2013-2018 北京泉江科技有限公司
- /// 创建人:数字化智慧校园-框架开发组
- /// 日 期:2018.01.04
- /// 描 述:编码规则
- /// </summary>
- public class CodeRuleApi: BaseApi
- {
- /// <summary>
- /// 注册接口
- /// </summary>
- public CodeRuleApi()
- : base("/learun/adms/coderule")
- {
- Get["/code"] = GetEnCode;// 获取数据字典详细列表
- }
- private CodeRuleIBLL codeRuleIBLL = new CodeRuleBLL();
-
- /// <summary>
- /// 获取数据字典详细列表
- /// </summary>
- /// <param name="_"></param>
- /// <returns></returns>
- private Response GetEnCode(dynamic _)
- {
- string req = this.GetReqData();// 获取模板请求数据
- var data = codeRuleIBLL.GetBillCode(req);
- return SuccessString(data);
- }
- }
- }
|