Wiki » 历史记录 » 修订 15
修订 14 (张 丽丽, 2024-05-27 10:42) → 修订 15/34 (张 丽丽, 2024-05-27 22:19)
管理平台 https://chongdianzhuang.itgcs.tech/充电桩 账号 administrator 密码 cdz123456 小程序微信支付文档 https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_4.shtml https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_1.shtml https://github.com/wechatpay-apiv3/wechatpay-go 小程序 "appid" : "wxbee70bb4c3829982" 商户号 "mchid" : "1676605903", 微信号 "openid" : "oDdgN7dcHpNn_Fl8hfDTmJPNz6CY" apiv2密钥 APIV3密钥 KkPutBMGHpgzQ7awW63g26qPfW1nT9TD 操作密码:831222 证书序列号:6b0cd214ea3fe6b8cae6f9a57e848e9799e0220f 充电桩二维码数据示例: http://wx.evking.cn/app/download?orgNo=095250239&code=1234562023252901 活字格websocket与设备tcp 消息转换 {"cmd":"36","src":"hzg","dst":"device", "uid": Forguncy.Page.getUserName(), "msg": msgStr} 其中cmd为FrameType的16进制字符串。msgStr为结构体被json序列化后的字符串。 TCP消息 Recv FrameType: 0x1 6822c10100011234562023252901010f563030322e3030360089860452161990652873005921 Send FrameType: [0x02] 680CF10000021234562023252900BE98 Recv FrameType: 0x3 680dc7010003123456202325290100fdd0 Send FrameType: [0x04] 680DF6000004123456202325290100F2B8 Recv FrameType: 0x5 680dc2010005123456202325290000105a Send FrameType: [0x06] 680EF300000612345620232529000001A738 FrameType: [0x09] 680BF4000009123456202325298F80 Send FrameType: [0x0A] 685EF400000A123456202325290100400D03009C40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000793B Recv FrameType: 0x13 6840c30100130000000000000000000000000000000012345620232529010202003e09000056000000000000000000000000000000000000000000000000000000006ab0 Recv FrameType: [0x33] 81EF200003331323334353630303030313233343536123456202325290100056D93 Send rameType: [0x34] 683000000034313233343536303030303132333435361234562023252901000000000000000000000000000000000C223814268A FrameType: 0x58 测试设置计费模型 680dc7010058123456202325290100fdd0