Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
trysh committed Dec 26, 2017
1 parent dbd295e commit 22760b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Go版 SDK by trysh
```go

func main() {
prikey := ``//通信密钥
prikey := ``//通信密钥
mchid := ``商户号
pj := payjs.New(mchid, prikey)//新建一个引擎
res, err := pj.CreateTrade(payjs.TradeParam{ //创建一个扫码支付
Expand All @@ -15,7 +15,7 @@ func main() {
Notify_url: `https://xxx.com/callback`,
})
if err != nil {
log.Println(`payjs err`, err)
log.Println(`payjs CreateTrade err`, err)
return
}
/*返回示例:
Expand Down

0 comments on commit 22760b4

Please sign in to comment.