<?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://blog.liurb.org/tags/%E5%BE%AE%E4%BF%A1/</link><description>Recent content in 微信 on 大卷学长的博客</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Tue, 25 Aug 2026 12:38:56 +0000</lastBuildDate><atom:link href="https://blog.liurb.org/tags/%E5%BE%AE%E4%BF%A1/index.xml" rel="self" type="application/rss+xml"/><item><title>独立开发者福音：微信小程序支持个人虚拟支付</title><link>https://blog.liurb.org/posts/2026/08/25/mini_wechat_pay/</link><pubDate>Tue, 25 Aug 2026 12:38:56 +0000</pubDate><guid>https://blog.liurb.org/posts/2026/08/25/mini_wechat_pay/</guid><description>&lt;img src="https://blog.liurb.org/images/posts/2026/mini_wechat_pay_logo.png" alt="Featured image of post 独立开发者福音：微信小程序支持个人虚拟支付" />&lt;h1 id="独立开发者福音微信小程序支持个人虚拟支付">独立开发者福音：微信小程序支持个人虚拟支付
&lt;/h1>&lt;p>最近在外网看到有消息称，8月底，微信小程序将支持个人虚拟支付，这对于独立开发者来说是一个福音。像目前来说，独立开发者在微信小程序上的收入主要来源于广告收入，据说月底除了虚拟支付以外，还会有赞赏功能。&lt;/p>
&lt;h2 id="虚拟支付">虚拟支付
&lt;/h2>&lt;p>虚拟支付是微信小程序提供的支付能力，用于购买小程序内的非实物商品或服务，如会员权益、虚拟道具、解锁付费内容、订阅增值服务等。开通虚拟支付功能后，用户可在小程序内通过微信支付便捷购买虚拟商品，系统自动处理订单和发货，帮助商家实现流量变现。&lt;/p>
&lt;p>有了这个支付能力，对于个人开发者而言，变现门槛降低。但是像目前这项功能，仅针对主体为企业、事业单位、个体工商户（需认证）开放。&lt;/p>
&lt;p>而当前的虚拟支付支持的场景主要有：&lt;/p>
&lt;ul>
&lt;li>
&lt;p>会员付费：月卡、季卡、年卡等会员权益购买&lt;/p>
&lt;/li>
&lt;li>
&lt;p>内容付费：解锁付费文章、视频、课程等内容&lt;/p>
&lt;/li>
&lt;li>
&lt;p>虚拟道具：游戏道具、装扮、表情包等数字商品&lt;/p>
&lt;/li>
&lt;li>
&lt;p>功能解锁：解锁高级功能、移除广告、导出权限等&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="赞赏功能">赞赏功能
&lt;/h2>&lt;p>以前，微信的赞赏功能，只针对公众号文章、微信表情等，现在，微信小程序也支持赞赏功能。&lt;/p>
&lt;h2 id="开发成本">开发成本
&lt;/h2>&lt;p>如果作为独立开发者，要上线微信小程序，需要有什么开发成本，我给大家算一个数。&lt;/p>
&lt;h3 id="认证费">认证费
&lt;/h3>&lt;p>根据目前企业开通支付功能，都需要认证，所以作为个人开发者，也肯定需要先进行小程序认证。但是个人认证的话，目前官方的费用是 30元/年（优惠期），而企业一年是 300 元。&lt;/p>
&lt;p>但是如果上线了这个虚拟支付以后会不会结束优惠期开始涨价，那也不好说哈。（吓得我是不是应该先马上将手上的小程序都认证了先）&lt;/p>
&lt;h3 id="云开发环境">云开发环境
&lt;/h3>&lt;p>如果小程序涉及到一些数据存储或者是外部接口的调用，就离不开云开发了。它的好处在于，个人开发者如果走服务器接口的话，还需要涉及到域名备案等复杂的流程，但是一般独立开发者来说，在国内是做不了备案，所以有这种类似的需求的小程序，前期还是需要走云开发的，简单方便。&lt;/p>
&lt;p>当前官方也是有优惠活动，原价 39.9/月，现在优惠价 19.9/月。对于一个初期的小程序来说，我感觉这个基础套餐里面的规格已经足够了。&lt;/p>
&lt;h2 id="其他事项">其他事项
&lt;/h2>&lt;p>据闻，对于个人开发者而言，这个虚拟支付是有总金额上限的，每年30万。但是如果真做到这个体量的话，那对于一般的开发者来说，还是比较难的哈，而且到了那个时候，也可以考虑开个小公司或者是注册一个个体户了吧&lt;/p>
&lt;p>同时，还听闻只开放工具类的小程序开通，所以在小程序选择的类目上也有限制。&lt;/p></description></item><item><title>Ubuntu 安装微信 Linux 版及依赖缺失报错解决办法</title><link>https://blog.liurb.org/posts/2026/06/10/ubuntu26_wechat/</link><pubDate>Wed, 10 Jun 2026 10:05:45 +0000</pubDate><guid>https://blog.liurb.org/posts/2026/06/10/ubuntu26_wechat/</guid><description>&lt;img src="https://blog.liurb.org/images/posts/2026/wechat_linux_logo.png" alt="Featured image of post Ubuntu 安装微信 Linux 版及依赖缺失报错解决办法" />&lt;h2 id="wechat-linux-版本">wechat linux 版本
&lt;/h2>&lt;p>下载地址&lt;/p>
&lt;blockquote>
&lt;p>&lt;a class="link" href="https://linux.weixin.qq.com/" target="_blank" rel="noopener"
>https://linux.weixin.qq.com/&lt;/a>&lt;/p>&lt;/blockquote>
&lt;p>一般选择 &lt;code>X86版&lt;/code>，并选择 &lt;code>deb&lt;/code> 格式的安装包&lt;/p>
&lt;h3 id="安装">安装
&lt;/h3>&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">sudo apt install ./WeChatLinux_x86_64.deb
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;h2 id="ubuntu-打开-wechat-提示报错">ubuntu 打开 wechat 提示报错
&lt;/h2>&lt;h3 id="wechat-error-while-loading-shared-libraries-libxkbcommon-x11so0-cannot-open-shared-object-file-no-such-file-or-directory">wechat: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory
&lt;/h3>&lt;h4 id="安装缺失依赖">安装缺失依赖
&lt;/h4>&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">sudo apt install libxkbcommon-x11-0 libxcb-cursor0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;h3 id="wechat-error-while-loading-shared-libraries-libxcb-icccmso4-cannot-open-shared-object-file-no-such-file-or-directory">wechat: error while loading shared libraries: libxcb-icccm.so.4: cannot open shared object file: No such file or directory
&lt;/h3>&lt;h4 id="安装缺失依赖-1">安装缺失依赖
&lt;/h4>&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">sudo apt install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-shape0 libxcb-xinerama0 libxcb-xfixes0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;h2 id="终极排查技巧">终极排查技巧
&lt;/h2>&lt;p>如果安装完这些后，依然提示缺少某个 .so 文件，你可以直接使用我上次提到的 apt-file 工具来精准查找并安装。例如，如果报错缺少 libxxxx.so.x，只需执行：&lt;/p>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">apt-file search libxxxx.so.x
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;p>在输出的结果中找到包含 &lt;code>amd64:&lt;/code> 的包名（例如 &lt;code>libxxxx4:amd64&lt;/code>），然后使用 &lt;code>sudo apt install 包名&lt;/code> 安装即可。&lt;/p></description></item></channel></rss>