api调用加入代发相关逻辑

This commit is contained in:
wule committed 2026-08-11 22:15:32 +08:00
1 parent 6b1b8507c7
commit dacacb352c
7 files changed
+167 -38

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ namespace AllBase
/// 版本ID
/// </summary>
public static int VersionCount = 223;
public static int VersionCount = 225;
public static string ServerUrl { get; set; } = "http://1.13.195.131:9000";
public static string DebugUrl { get; set; } = "http://localhost:9000";
+5 -4
View File
@@ -27,10 +27,11 @@ namespace AllBase.Helper
/// 店铺列表
/// </summary>
public static ObservableCollectionThreadSafe<ShopLoginInfo> ShopLoginList { get; set; } = new ObservableCollectionThreadSafe<ShopLoginInfo>();
/// <summary>
/// 拼多多买手列表
/// </summary>
public static ObservableCollectionThreadSafe<BuyerLoginInfo> PDDBuyerLoginList { get; set; } = new ObservableCollectionThreadSafe<BuyerLoginInfo>();
public static ConcurrentList<WXShopTokenInfo> lstWXShopTokenInfo = new ConcurrentList<WXShopTokenInfo>();
/// <summary>
/// 拼多多买手列表
/// </summary>
public static ObservableCollectionThreadSafe<BuyerLoginInfo> PDDBuyerLoginList { get; set; } = new ObservableCollectionThreadSafe<BuyerLoginInfo>();
/// <summary>
/// 当前拼多多买手
/// </summary>
+14 -3
View File
@@ -1,4 +1,5 @@
using AllBase.Model.MvvmBaseClasses;
using AllBase.Helper;
using AllBase.Model.MvvmBaseClasses;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -91,9 +92,8 @@ namespace AllBase.Model.DBModel
public bool is_point_shop_expire { get; set; }
public int expire_time { get; set; }
public string openid { get; set; }
}
}
public class ShopCompany
{
@@ -115,4 +115,15 @@ namespace AllBase.Model.DBModel
/// </summary>
public string openid { get; set; }
}
public class WXShopTokenInfo
{
public string shopId { get; set; } // "1960967267443618234",
public string shopName { get; set; } // "夜笙供应链",
public int? type { get; set; } // 500,
public int? markupRate { get; set; } // 10,
public string accessToken { get; set; } // "100_cw6r7-hhGaLKG7ndv558eO_3z3-5PokAG8d0Y1vc3Rczd3FuIqkefdaqVj5CNtkCYtMbTYvhnwJ7-JkBVQVe9nE0KK5SBI8AlfA7E0_sTtqcwMqKAXoCj1X4h3sjZIMX84dboC-PfzlI0wh0ADHeAHDSVZ"
public DateTime mdyTime { get; set; } = DateTime.MinValue;
public bool isExpire { get { return mdyTime.AddMinutes(60) < DateTime.Now; } }
}
}