Code4Fun
Code4Fun
package msg import ( "github.com/name5566/leaf/network/protobuf" pp "server/protobuf" ) var Processor = protobuf.NewProcessor() func init() { Processor.Register(&pp.Action{}) Processor.Register(&pp.Hello{}) } 这是注册, 发消息也是按照文档上发送的 hello := protobuf.Hello{Info: "hello"} hello := protobuf.Hello{Info: "hello"} data, err...
支付宝问题请教
client:= alipay.NewClient APP里面client创建订单TradeAppPay后正常支付完成 client调用TradeQuery,TradeCancel 返回{"code":"40002","msg":"Invalid Arguments","sub_code":"isv.invalid-app-id","sub_msg":"无效的AppID参数"} 我哪里出了问题啊,搞了一下午了。 ——_——
request compatible https://github.com/lucas-clemente/quic-go please!!!!