Przeglądaj źródła

order refund --1

abiao 2 lat temu
rodzic
commit
a1853cf2ba

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/order_controller/order_controller.go

@@ -940,7 +940,7 @@ func (self *OrderController) httpRequest(wxId, total int64, orderId, transaction
 
 	if refund != nil {
 		// 构造请求 URL
-		reqURL := fmt.Sprintf("%sid=%d", url, refund.Id)
+		reqURL := fmt.Sprintf("%s%d", url, refund.Id)
 
 		// 发送 GET 请求
 		resp, err := http.Get(reqURL)