Browse Source

开票查看接口

西昌缴费二期
liangkun 2 years ago
parent
commit
7313353032
2 changed files with 18 additions and 12 deletions
  1. +9
    -6
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs
  2. +9
    -6
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs

+ 9
- 6
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs View File

@@ -34,17 +34,20 @@ namespace Learun.Application.WebApi.Modules
{ {
Get["/getpayfeelist"] = GetPayfeeList;// 获取缴费列表 Get["/getpayfeelist"] = GetPayfeeList;// 获取缴费列表
Get["/getpayfeeinfo"] = GetPayfeeInfo;//获取缴费明细 Get["/getpayfeeinfo"] = GetPayfeeInfo;//获取缴费明细
Post["/generateqrcode"] = PayFeeQRCode;
Post["/generateqrcode"] = PayFeeQRCode;//生成缴费二维码
Get["/getinvoice"] = GetInvoice;//获取发票
} }
private StuInfoFreshIBLL stuInfoFreshIBLL = new StuInfoFreshBLL(); private StuInfoFreshIBLL stuInfoFreshIBLL = new StuInfoFreshBLL();
private FinaChargesStandardIBLL finaChargesStandardIBLL = new FinaChargesStandardBLL(); private FinaChargesStandardIBLL finaChargesStandardIBLL = new FinaChargesStandardBLL();


/// <summary>
/// 获取问卷
/// </summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetInvoice(dynamic _)
{
string keyValue = Request.Query["keyValue"];
var list = stuInfoFreshIBLL.GetStuEnrollFeeOrder(keyValue, true);
return Success(list);
}

public Response GetPayfeeList(dynamic _) public Response GetPayfeeList(dynamic _)
{ {
ReqPageParam parameter = this.GetReqData<ReqPageParam>(); ReqPageParam parameter = this.GetReqData<ReqPageParam>();


+ 9
- 6
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs View File

@@ -34,19 +34,22 @@ namespace Learun.Application.WebApi.Modules
{ {
Get["/getpayfeelist"] = GetPayfeeList;// 获取缴费列表 Get["/getpayfeelist"] = GetPayfeeList;// 获取缴费列表
Get["/getpayfeeinfo"] = GetPayfeeInfo;//获取缴费明细 Get["/getpayfeeinfo"] = GetPayfeeInfo;//获取缴费明细
Post["/generateqrcode"] = PayFeeQRCode;
Post["/generateqrcode"] = PayFeeQRCode;//生成缴费二维码
Get["/getinvoice"] = GetInvoice;//获取发票
} }


private StuInfoBasic_PayFeeIBLL stuInfoBasic_PayFeeIBLL = new StuInfoBasic_PayFeeBLL(); private StuInfoBasic_PayFeeIBLL stuInfoBasic_PayFeeIBLL = new StuInfoBasic_PayFeeBLL();
private StuInfoBasicIBLL stuInfoBasicIbll = new StuInfoBasicBLL(); private StuInfoBasicIBLL stuInfoBasicIbll = new StuInfoBasicBLL();
private StuInfoFreshIBLL stuInfoFreshIBLL = new StuInfoFreshBLL(); private StuInfoFreshIBLL stuInfoFreshIBLL = new StuInfoFreshBLL();
private FinaChargesStandardIBLL finaChargesStandardIBLL = new FinaChargesStandardBLL(); private FinaChargesStandardIBLL finaChargesStandardIBLL = new FinaChargesStandardBLL();
public Response GetInvoice(dynamic _)
{
string keyValue = Request.Query["keyValue"];
var list = stuInfoFreshIBLL.GetStuEnrollFeeOrder(keyValue, false);
return Success(list);
}


/// <summary>
/// 获取问卷
/// </summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetPayfeeList(dynamic _) public Response GetPayfeeList(dynamic _)
{ {
ReqPageParam parameter = this.GetReqData<ReqPageParam>(); ReqPageParam parameter = this.GetReqData<ReqPageParam>();


Loading…
Cancel
Save