- 商家转账到零钱V3版本,收款用户姓名RSAES-OAEP加密问题
[图片] 接口文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_1.shtml 该文档的user_name加密示例值如上图所示,但实际使用SDK进行加密时,得出的加密结果如下面所示: C/8YVVhfubGdu6Zz47Dnj+p7+PY2SD9iMoozuzUaun+kpMR0WmPugAKfSdvL+HYhWnxX1XwLEPe+9xxxkIfiklcs3wkZe5t1WI84qYK1mWYcpoWhRZx49sZ+8LpvnVz78iFFJb2Mjmf2YtpRlzq5p3mkfsO+aKt5cUIJT0PkueM3L1QvWW0furlZq9GyEt8pI187+spOaZ4YMNW3fXP4Zi+4YWZsgGBu0lb1bKB+kqe4y5L4N1ndtQ+ftYHzV3AWvRJmYLdsLc+FA5fpGcMw8gWZOPAJZQOGz6oi545gNV+OpKJTzD0ldbTx0MxbS30xzIXKVtQmOUtvKWTHJzOf7w== 无论使用GO或JAVA或PHP,得出的加密结果长度比较长,跟文档示例相差太大,帮忙看下问题出在哪里?谢谢 附:如果使用这种加密结果发起转账时,会提示如下错误: encrypt request failed: encrypt struct failed: encrypt message with public key err:crypto/rsa: message too long for RSA public key size
2022-08-18 - 无法上传图片
https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/public/upload_img.html 明明有img_url有值,但返回提示图片为空 参数: {"resp_type":1,"upload_type":1,"img_url":"https://img.alicdn.com/i4/356524858/O1CN01Xet3ba1ll0hCIlIdN_!!356524858-0-lubanu-s.jpg_q90.jpg"} 结果: {"errcode":1070001,"errmsg":"文件/图片为空 rid: 624e87f9-432d5642-4dca6cd5"}
2022-04-07