Ernest
Results
2
comments of
Ernest
state判断我觉得不应该,因为那个有多种状态写在里面的话就会太耦合了,state应该属于业务逻辑的范畴了,https://github.com/silenceper/wechat/blob/813684e55535af7fb4cb29c3e3a9e2a02384b34e/pay/order/pay.go#L48 还有就是这里 好像跟要求的不太一样,PrePayID 其实已经写进去Package了 https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_7&index=6  缺少了appid ,tag标签好像有点不一致也 
没有pr过,不太了解流程