Jerry 6 years ago
parent
commit
e65f00ad6b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      alipay_server_api.go

+ 2 - 2
alipay_server_api.go

@@ -59,7 +59,7 @@ func ParseAliPayNotifyResult(req *http.Request) (notifyRsp *AliPayNotifyRequest,
 	billList := req.FormValue("fund_bill_list")
 	billList := req.FormValue("fund_bill_list")
 	//log.Println("billList:", billList)
 	//log.Println("billList:", billList)
 	if billList != null {
 	if billList != null {
-		bills := make([]FundBillListInfo, 0)
+		bills := make([]fundBillListInfo, 0)
 		err = json.Unmarshal([]byte(billList), &bills)
 		err = json.Unmarshal([]byte(billList), &bills)
 		if err != nil {
 		if err != nil {
 			return nil, err
 			return nil, err
@@ -72,7 +72,7 @@ func ParseAliPayNotifyResult(req *http.Request) (notifyRsp *AliPayNotifyRequest,
 	detailList := req.FormValue("voucher_detail_list")
 	detailList := req.FormValue("voucher_detail_list")
 	//log.Println("detailList:", detailList)
 	//log.Println("detailList:", detailList)
 	if detailList != null {
 	if detailList != null {
-		details := make([]VoucherDetailListInfo, 0)
+		details := make([]voucherDetailListInfo, 0)
 		err = json.Unmarshal([]byte(detailList), &details)
 		err = json.Unmarshal([]byte(detailList), &details)
 		if err != nil {
 		if err != nil {
 			return nil, err
 			return nil, err