918博天堂

Server : Microsoft-IIS/10.0
System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586
User : jxgj ( 0)
PHP Version : 7.0.33
Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server
Directory :  D:/tmp_aspnet/root/cae6aa2e/15328683/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : D:/tmp_aspnet/root/cae6aa2e/15328683/App_Code.vywp5zcy.44.cs
?#pragma checksum "D:\wwwroot\anlian2025\wwwroot\App_Code\wxshaoma\DownloadBill.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "66A6DABE202A4F9F16E551BE8459660E5213FE42"

#line 1 "D:\wwwroot\anlian2025\wwwroot\App_Code\wxshaoma\DownloadBill.cs"
using System;
using System.Collections.Generic;
using System.Web;

namespace WxPayAPI
{
    public class DownloadBill
    {
        /***
         * 下载对账单齐全业务流程逻辑
         * @param bill_date 下载对账单的日期(体式:20140603,一次只能下载一天的对账单)
         * @param bill_type 账单类型
         *      ALL,返回当日所有订单信息,默认值 
         *      SUCCESS,返回当日成功支付的订单 
         *      REFUND,返回当日退款订单 
         *      REVOKED,已撤销的订单 
         * @return 对账单了局(xml体式)
         */
        public static string Run(string bill_date, string bill_type)
        {
            Log.Info("DownloadBill", "DownloadBill is processing...");

            WxPayData data = new WxPayData();
            data.SetValue("bill_date", bill_date);//账单日期
            data.SetValue("bill_type", bill_type);//账单类型
            WxPayData result = WxPayApi.DownloadBill(data);//提交下载对账单要求给API,接管返回了局

            Log.Info("DownloadBill", "DownloadBill process complete, result : " + result.ToXml());
            return result.ToPrintStr();
        }
    }
}

#line default
#line hidden