<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>微信 on MoeJueのブログ</title>
    <link>https://ja.moejue.cn/en/tags/%E5%BE%AE%E4%BF%A1/</link>
    <description>Recent content in 微信 on MoeJueのブログ</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 17 May 2019 06:59:47 +0000</lastBuildDate>
    <atom:link href="https://ja.moejue.cn/en/tags/%E5%BE%AE%E4%BF%A1/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mini program architecture</title>
      <link>https://ja.moejue.cn/en/posts/92/</link>
      <pubDate>Fri, 17 May 2019 06:59:47 +0000</pubDate>
      <guid>https://ja.moejue.cn/en/posts/92/</guid>
      <description>&lt;p&gt;I don’t know how everyone writes mini programs. I was writing WeChat mini programs a few months ago. I created a structure, or framework, by myself.&#xA;The native architecture of WeChat is like this&lt;/p&gt;&#xA;&lt;p&gt;├── app.js&#xA;├── app.json&#xA;├── app.wxss&#xA;├── pages&#xA;│ │── index&#xA;│ │ ├── index.wxml&#xA;│ │ ├── index.js&#xA;│ │ ├── index.json&#xA;│ │ └── index.wxss&#xA;│ └── logs&#xA;│ ├── logs.wxml&#xA;│ └── logs.js&#xA;└── utils&lt;/p&gt;</description>
    </item>
    <item>
      <title>WeChat authorized login</title>
      <link>https://ja.moejue.cn/en/posts/88/</link>
      <pubDate>Fri, 05 Apr 2019 09:29:45 +0000</pubDate>
      <guid>https://ja.moejue.cn/en/posts/88/</guid>
      <description>&lt;p&gt;&#xA;&lt;figure class=&#34;image-figure not-prose my-8&#34; &#xA;        data-lightbox-enabled=&#34;false&#34;&#xA;        data-gallery-type=&#34;auto&#34;&gt;&#xA;  &lt;div class=&#34;image-container&#34;&gt;&#xA;    &lt;img&#xA;    src=&#34;https://res.wx.qq.com/mpres/htmledition/weui-desktopSkin/svg/buildless/bg_logo_primary4247a9.svg&#34;&#xA;    alt=&#34;&#34;&#xA;    &#xA;    &#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    data-gallery-src=&#34;https://res.wx.qq.com/mpres/htmledition/weui-desktopSkin/svg/buildless/bg_logo_primary4247a9.svg&#34;&#xA;    data-gallery-alt=&#34;&#34;&#xA;    data-gallery-title=&#34;&#34; /&gt;&lt;/div&gt;&#xA;&#xA;  &lt;/figure&gt; Documentation: &lt;a href=&#34;https://mp.weixin.qq.com/wiki?t=resource/res_main&amp;amp;id=mp1421135319&#34;target=&#34;_blank&#34;&#xA;  class=&#34;inline-flex items-center gap-1&#34;&#xA;&gt;https://mp.weixin.qq.com/wiki?t=resource/res_main&amp;amp;id=mp1421135319&#xA;  &lt;svg id=&#34;external-link&#34; class=&#34;h-3 w-3 flex-shrink-0&#34;&#xA;    fill=&#34;none&#34;&#xA;    stroke=&#34;currentColor&#34;&#xA;    viewBox=&#34;0 0 24 24&#34;&gt;&lt;path fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34; stroke-width=&#34;2&#34; d=&#34;M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6&#34;/&gt;&lt;/svg&gt;&#xA;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The authorized login of WeChat is similar to the authorized login of QQ, Sina and other platforms, and both adopt the OauthOAuth2.0 authentication method.&lt;br&gt;&#xA;There are two types of WeChat authorization:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Silent authorization&lt;/li&gt;&#xA;&lt;li&gt;Pop-up authorization requires manual consent from the user.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Explanation of the differences between the two scopes&lt;/p&gt;</description>
    </item>
    <item>
      <title>WeChat JSAPI payment</title>
      <link>https://ja.moejue.cn/en/posts/89/</link>
      <pubDate>Sat, 30 Mar 2019 09:30:21 +0000</pubDate>
      <guid>https://ja.moejue.cn/en/posts/89/</guid>
      <description>&lt;p&gt;&#xA;&lt;figure class=&#34;image-figure not-prose my-8&#34; &#xA;        data-lightbox-enabled=&#34;false&#34;&#xA;        data-gallery-type=&#34;auto&#34;&gt;&#xA;  &lt;div class=&#34;image-container&#34;&gt;&#xA;    &lt;img&#xA;    src=&#34;https://image.baidu.com/search/down?url=https://tva1.sinaimg.cn//large/0072Vf1pgy1g1l3k211blj30ia04x74e.jpg&#34;&#xA;    alt=&#34;&#34;&#xA;    &#xA;    &#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    data-gallery-src=&#34;https://image.baidu.com/search/down?url=https://tva1.sinaimg.cn//large/0072Vf1pgy1g1l3k211blj30ia04x74e.jpg&#34;&#xA;    data-gallery-alt=&#34;&#34;&#xA;    data-gallery-title=&#34;&#34; /&gt;&lt;/div&gt;&#xA;&#xA;  &lt;/figure&gt; I have been doing business related to WeChat some time ago. Although it is not a new technology, I have never had the opportunity to come into contact with it before. Then I stepped on some pitfalls and took the time to organize and record it.&lt;br&gt;&#xA;There are 7 types of WeChat payment, including: payment code payment, JSAPI payment, Native payment, APP payment, H5 payment, mini program payment, and face payment.&lt;br&gt;&#xA;WeChat JSAPI payment is used in this business: the user enters the merchant&amp;rsquo;s H5 page by scanning the QR code on WeChat, following the official account, etc., and calls JSSDK within &lt;strong&gt;WeChat&lt;/strong&gt; to complete the payment.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
