Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
smartwalle committed Mar 3, 2017
1 parent 62a84ee commit 93bf49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var html, _ = client.TradeWapPay(p)

var client = alipay.New(appId, partnerId, publickKey, privateKey, false)
http.HandleFunc("/alipay", func(rep http.ResponseWriter, req *http.Request) {
var noti = client.GetTradeNotification(req)
var noti, _ = client.GetTradeNotification(req)
if noti != nil && client.NotifyVerify(noti.NotifyId) == true {
fmt.Println("支付成功")
} else {
Expand Down

0 comments on commit 93bf49e

Please sign in to comment.