[图片]
通过access_token和openid获取unionid遇到的问题https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html 获取access_token的 GET https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET 获取到token后,获取用户基本信息接口 https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN 报错 {"errcode":48001,"errmsg":"api unauthorized rid: 61dbdcf5-0609a986-760f5391"} https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html 我们只维护了openid,目前想要获取用户的unionid,上面的方式行不通,请问是否有可行方式
2022-01-10解决了吗?
Windows环境下会话内容存档-中文乱码我使用的是windows环境 SDK 开发工具是visual studio 2019,C#和C++都试过了。 调用DecryptData返回的字符串里的中文是乱码? DecryptData(encrypt_key, encrypt_chat_msg, chat_msg) encrypt_key = UxL83to3U2TME5/jjWSTIfcun7n6Gr+95PPehAl2dRwN6dlrw9nqwDKlrn0TqeG78+HjfS88S+tiR05TBWE8Gg== encrypt_chat_msg = +9fwe62SuR7bZ96UV8nnejc2qgBA4Zgo3/2T7x+xjTaAsWNiS6vLnm1mgR6MAR+fEsTM7JeJ4iZhbAlYIydU3sG4B61uczZX8WjtjnbE62q4VzJevyx2zGO5wUNvmxGMc9wJkg1xKR8x8NSrQ+x/QVPq1JOYqDDcA3BrLjq9ckzzbJQyjRAyqHNDwMAYMDVjXFPezzMOf/M6IGIPqxEMWNVAoMyGBPCxOjLoa4pYb/k1ysCRg2Mj881vpJWviWuwQ/Hej2VUX6CuZiBojR8T8cA2w4uhmZbFb5ureVAqUBNGaZFXwbgG2iJI/3d7jk1aNerrdzyy5/4JCqulcbyD0eVQA1YIinew/Q=vHG/MyKX 解密后的chat_msg {"msgid":"475076961693960299_1580613311","action":"send","from":"XXXX","tolist":["wmY8K6DgAAmdHH9CF4o"],"roomid":"","msgtime":1580613311367,"msgtype":"text","text":{"content":"娴嬭瘯"}} 请问有啥办法处理,编码转换好像不行,服务器端使用的是什么编码? 试用期没几天了,希望尽快完成poc
2020-08-28