<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>小程序 on 特严赤傲</title><link>https://tianchoy.github.io/tags/%E5%B0%8F%E7%A8%8B%E5%BA%8F/</link><description>Recent content in 小程序 on 特严赤傲</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 12 Mar 2025 20:57:54 +0800</lastBuildDate><atom:link href="https://tianchoy.github.io/tags/%E5%B0%8F%E7%A8%8B%E5%BA%8F/index.xml" rel="self" type="application/rss+xml"/><item><title>微信小程序获取用户位置</title><link>https://tianchoy.github.io/posts/%E5%8D%95%E7%89%87%E6%9C%BA/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E4%BD%8D%E7%BD%AE/</link><pubDate>Wed, 12 Mar 2025 20:57:54 +0800</pubDate><guid>https://tianchoy.github.io/posts/%E5%8D%95%E7%89%87%E6%9C%BA/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E4%BD%8D%E7%BD%AE/</guid><description>&lt;p&gt;在微信小程序中，从 &lt;strong&gt;2023 年 7 月&lt;/strong&gt;开始，部分敏感接口（如 &lt;code&gt;wx.getLocation&lt;/code&gt;）需要在 &lt;code&gt;app.json&lt;/code&gt; 或 &lt;code&gt;ext.json&lt;/code&gt; 中声明 &lt;code&gt;requiredPrivateInfos&lt;/code&gt; 字段，否则调用时会失败并返回以下错误：&lt;/p&gt;</description></item><item><title>微信小程序云开发获取openid</title><link>https://tianchoy.github.io/posts/%E5%8D%95%E7%89%87%E6%9C%BA/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%BA%91%E5%BC%80%E5%8F%91%E8%8E%B7%E5%8F%96openid/</link><pubDate>Tue, 04 Mar 2025 21:57:45 +0800</pubDate><guid>https://tianchoy.github.io/posts/%E5%8D%95%E7%89%87%E6%9C%BA/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%BA%91%E5%BC%80%E5%8F%91%E8%8E%B7%E5%8F%96openid/</guid><description>&lt;p&gt;在微信小程序云开发提供了便捷的数据库和云函数功能，可以轻松存储和获取用户信息。以下是代码示例：&lt;/p&gt;</description></item></channel></rss>