This commit is contained in:
parent
d291923276
commit
0c67c4ce42
|
@ -1,11 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
|
using BITKit.Entities;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace WeChatSharp
|
namespace WeChatSharp
|
||||||
{
|
{
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public record WeChatUserInfo
|
public record WeChatUserInfo:IdComponent_String
|
||||||
{
|
{
|
||||||
[JsonProperty(propertyName: "subscribe")]
|
[JsonProperty(propertyName: "subscribe")]
|
||||||
public int Subscribe;
|
public int Subscribe;
|
||||||
|
@ -50,6 +51,8 @@ namespace WeChatSharp
|
||||||
|
|
||||||
[JsonProperty(propertyName: "qr_scene_str")]
|
[JsonProperty(propertyName: "qr_scene_str")]
|
||||||
public string QrSceneStr;
|
public string QrSceneStr;
|
||||||
|
|
||||||
|
public string Id => OpenId;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<LangVersion>12</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0-preview.4.23259.5" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
|
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageReference Include="UniTask" Version="2.3.3" />
|
<PackageReference Include="UniTask" Version="2.3.3" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\BITKit\BITKit.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in New Issue