Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新Sample #2687

Merged
merged 1 commit into from
Jul 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<!-- 此节点为 Sample 共享文件需要而添加,实际项目无需添加 -->
<GenerateEmbeddedFilesManifest Condition=" '$(Configuration)' != 'Release' ">true</GenerateEmbeddedFilesManifest>
</PropertyGroup>
<!-- 此节点为 Sample 共享文件需要而添加,实际项目无需添加 -->

<!-- 此节点为 Sample 共享文件需要而添加,实际项目无需添加 -->
<ItemGroup Condition=" '$(Configuration)' != 'Release' ">
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.0" />
Expand All @@ -20,18 +20,17 @@
<EmbeddedResource Include="wwwroot\**\*" />
</ItemGroup>

<PackageReference Include="Senparc.Weixin.TenpayV3" Version="0.6.4-beta1" />

<!-- 此节点为 Sample 共享文件需要而添加,实际项目无需添加 -->
<Import Project="..\..\Shared\Senparc.Weixin.Sample.Shared\Senparc.Weixin.Sample.Shared.projitems" Label="Shared" />

<!--引用 Nuget 包-->
<ItemGroup>
<PackageReference Include="Senparc.Weixin.AspNet" Version="0.8.2" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.18.3" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.12.2" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
<PackageReference Include="ZXing.Net" Version="0.16.8" />
<PackageReference Include="Senparc.Weixin.AspNet" Version="0.8.2" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.18.3" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.12.2" />
<PackageReference Include="Senparc.Weixin.TenpayV3" Version="0.6.4-beta1" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
<PackageReference Include="ZXing.Net" Version="0.16.8" />
</ItemGroup>

<!--直接引用源码-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@
安装完成后,可查看对应 .csproj 文件,被添加引用,如:
</p>
<pre><code>&lt;ItemGroup&gt;
&lt;PackageReference Include="Senparc.Weixin.Tenpay" Version="16.17.7" /&gt;
&lt;PackageReference Include="Senparc.Weixin.TenpayV3" Version="0.6.4-beta1" /&gt;
&lt;/ItemGroup&gt;</code></pre>
</div>
<div class="tab-pane fade" id="nav-cli" role="tabpanel" aria-labelledby="nav-profile-tab">
<p>首先,确认已经安装好 dotnet 命令行(安装 <a href="https://dotnet.microsoft.com/en-us/download" target="_blank">.NET SDK</a> 后会自动安装)。</p>
<p>进入需要添加 Senparc.Weixin.Tenpay 的模块的项目的目录,输入:</p>
<p>进入需要添加 Senparc.Weixin.TenpayV3 的模块的项目的目录,输入:</p>
<blockquote class="blockquote">
<code>dotnet add package Senparc.Weixin.Tenpay</code>
<code>dotnet add package Senparc.Weixin.TenpayV3</code>
</blockquote>

<p>
Expand All @@ -141,7 +141,7 @@
安装完成后,可查看对应 .csproj 文件,被添加引用,如:
</p>
<pre><code>&lt;ItemGroup&gt;
&lt;PackageReference Include="Senparc.Weixin.TenPay" Version="16.17.7" /&gt;
&lt;PackageReference Include="Senparc.Weixin.TenPayV3" Version="0.6.4-beta1" /&gt;
&lt;/ItemGroup&gt;</code></pre>
</div>
</div>
Expand Down