- 用户隐私保护指引 同意按钮不能点击?
已填写《小程序用户隐私保护指引》,勾选 “采集用户隐私” 这2项都有做,有些页面通过链接进入时 提示隐私保护 协议 时 ”同意“按钮不能点击,获取手机号码按钮也不能点击,但是苹果手机都可以点,是什么原因,在开发者工具时面操作又都正常。上线正式版就有问题 [图片]
09-09 - 小程序备案 负责人必须是法人吗,法人已有备案 这种要如何解决
https://developers.weixin.qq.com/miniprogram/product/record/guidelines.html
2023-12-15 - .net 商户转帐到零钱 出错
在使用商户转帐到零钱时 发起商户转帐 低于2000 不使用 “收款用户姓名 user_name” 可以正常转帐成功,使用 敏感信息加密后出错 400, 用户姓名加密程序如下: 公钥用的是 证书文件中的 apiclient_cert.pem byte[] publicKey = Encoding.UTF8.GetBytes(证书文件); public static string RSAEncrypt(string text, byte[] publicKey) { using (var x509 = new X509Certificate2(publicKey)) { using (var rsa = (RSACryptoServiceProvider)x509.PublicKey.Key) { var buff = rsa.Encrypt(Encoding.UTF8.GetBytes(text), true); return Convert.ToBase64String(buff); } } } API接口请求程序如下: public static string send(string authorization, string str, string UserAgent) { try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://api.mch.weixin.qq.com/v3/transfer/batches"); request.UserAgent = UserAgent; request.Method = "POST"; request.Accept = "application/json"; request.ContentType = "application/json"; request.Headers.Add("Authorization", authorization); request.Headers.Add("Wechatpay-Serial", WxPayConfig.CERTIFICATE); Stream requestStream = request.GetRequestStream(); StreamWriter streamWriter = new StreamWriter(requestStream); streamWriter.Write(str); streamWriter.Flush(); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); Stream responseStream = response.GetResponseStream(); StreamReader streamReader = new StreamReader(responseStream); str = streamReader.ReadToEnd(); streamWriter.Close(); streamReader.Close(); } catch (Exception e) { Log.Info("出错信息:", e.ToString()); } return str; } 具体不知道什么原因,把姓名加入后就不能成功转帐 POST 请求 JSON数据如下: { "appid": "wx4c00359c0c0ca000", "out_batch_no": "DP202209170022066342", "batch_name": "测试转帐", "batch_remark": "测试商户转帐到零钱", "total_amount": 100, "total_num": 1, "transfer_detail_list": [ { "out_detail_no": "UD202209170022066343", "transfer_amount": 100, "transfer_remark": "测试转帐", "openid": "oA_LG610T2AOBSJbOC414141xt_8F4", "user_name": "jAkxHab9eU2SvrD7udOX//s3l+uXzsfEAaMJwKXDhQyMVzLwth2uj/4mILmSTsonqusfvYEagwUU9zYXHZCTETnH0SudYyaVjKA6/hUCkkuS7uxGm3HpwOwpv6sdIXyLk6aBr4A6XZblSTzUhNZG1WweJHL4F7ztuBx43V2E+ksg3D+TFHSqSNN1CSkVJ23jFHxjvKw4NrIKKywkILbODtpIPa6uW6oenyJCIruHr+3sR5Wrb6nZFxBoplrkwe1mUliikPRu8XIq6Qj0/Y0Yggdam/oh1gyPs3jHItJ2hAXGInct/GTCZamyGbyka/7kCrTEYGI92ADMOwoNM/be3w==" } ] }
2022-09-17 - C# HMAC-SHA256 生成的签名结果 跟官网生成的结果不一致
官网生成 #3.生成sign并转成大写: sign=7F25ED3C23A7D5E0EE9987DC9F4F6649DA6D8E1A7FFB71BB2B985535933F6E1E 我用C#生成的是 9D652EDEDF78F7DE824BB97DF9C26541B261DE595B9BD154E8B28F3D23BF57C 请问是什么原因 拼接,排序都检查了
2021-02-02