Wxpay/example/download.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

require_once "../lib/WxPay.Api.php";

//require_once "../lib/WxPay.MicroPay.php";





if(isset($_REQUEST["bill_date"]) && $_REQUEST["bill_date"] != ""){

	$bill_date = $_REQUEST["bill_date"];

    $bill_type = $_REQUEST["bill_type"];

	$input = new WxPayDownloadBill();

	$input->SetBill_date($bill_date);

	$input->SetBill_type($bill_type);

	$file = WxPayApi::downloadBill($input);

	echo $file;

	//TODO 对账单文件处理

    exit(0);

}

?>

<html>

<head>

    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>

    <meta name="viewport" content="width=device-width, initial-scale=1" /> 

    <title>微信支付样例-查退款单</title>

</head>

<body>  

	<form action="#" method="post">

        <div style="margin-left:2%;">对账日期:</div><br/>

        <input type="text" style="width:96%;height:35px;margin-left:2%;" name="bill_date" /><br /><br />

        <div style="margin-left:2%;">账单类型:</div><br/>

        <select style="width:96%;height:35px;margin-left:2%;" name="bill_type">

		  <option value ="ALL">所有订单信息</option>

后面还有 19 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。