-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kerwin
committed
Apr 17, 2022
1 parent
e481e1b
commit bcc3afc
Showing
22 changed files
with
3,067 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Jint" Version="3.0.0-beta-2037" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> | ||
<PackageReference Include="RestSharp" Version="106.15.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="sign.js"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
namespace DingDong.Monitor.Models | ||
{ | ||
public class DingDongAddressInfoRoot | ||
{ | ||
public bool success { get; set; } | ||
public int code { get; set; } | ||
public string message { get; set; } | ||
public DingDongAddressOriginInfo data { get; set; } | ||
} | ||
|
||
public class DingDongAddressOriginInfo | ||
{ | ||
public List<Valid_Address> valid_address { get; set; } | ||
public List<Valid_Address> invalid_address { get; set; } | ||
public int max_address_count { get; set; } | ||
public bool can_add_address { get; set; } | ||
} | ||
|
||
public class Valid_Address | ||
{ | ||
public string id { get; set; } | ||
public int gender { get; set; } | ||
public string mobile { get; set; } | ||
public Location location { get; set; } | ||
public string label { get; set; } | ||
public string user_name { get; set; } | ||
public string addr_detail { get; set; } | ||
public string station_id { get; set; } | ||
public string station_name { get; set; } | ||
/// <summary> | ||
/// 是否默认地址 | ||
/// </summary> | ||
public bool is_default { get; set; } | ||
public string city_number { get; set; } | ||
public int info_status { get; set; } | ||
public Station_Info station_info { get; set; } | ||
public string village_id { get; set; } | ||
} | ||
|
||
public class Location | ||
{ | ||
public string typecode { get; set; } | ||
public string address { get; set; } | ||
public string name { get; set; } | ||
public float[] location { get; set; } | ||
public string id { get; set; } | ||
} | ||
|
||
public class Station_Info | ||
{ | ||
public string id { get; set; } | ||
public string address { get; set; } | ||
public string name { get; set; } | ||
public string phone { get; set; } | ||
public string business_time { get; set; } | ||
public string city_name { get; set; } | ||
public string city_number { get; set; } | ||
} | ||
|
||
} |
Oops, something went wrong.