子账号管理相关内容

This commit is contained in:
wule committed 2025-07-05 16:55:35 +08:00
1 parent 9fe9fa2610
commit b48f320099
101 files changed
+3171 -572

No files matched your search

+13 -6
View File
@@ -39,7 +39,7 @@ namespace AllBase.Model.Result
foreach (var sub in this.ShopSubAccountList)
{
if (sub.group_name == "客服")
accountStr += sub.name + ",";
accountStr += sub.user_name + ",";
}
return accountStr.TrimEnd(',');
}
@@ -55,7 +55,7 @@ namespace AllBase.Model.Result
foreach (var sub in this.ShopSubAccountList)
{
if (sub.group_name == "上货")
accountStr += sub.name + ",";
accountStr += sub.user_name + ",";
}
return accountStr.TrimEnd(',');
}
@@ -71,7 +71,7 @@ namespace AllBase.Model.Result
foreach (var sub in this.ShopSubAccountList)
{
if (sub.group_name == "采购")
accountStr += sub.name + ",";
accountStr += sub.user_name + ",";
}
return accountStr.TrimEnd(',');
}
@@ -104,7 +104,13 @@ namespace AllBase.Model.Result
/// 拍单Api授权信息
/// </summary>
public AuthInfo BuyApiAuth { get; set; } = new AuthInfo();
/// <summary>
/// 子账户
/// </summary>
public string SubUserName { get; set; }
/// <summary>
/// 子账户列表(抖店用)
/// </summary>
public List<DouShopSubAccountInfo> ShopSubAccountList { get; } = new List<DouShopSubAccountInfo>();
public int OnlineProductCount { get; set; } = -1;
@@ -150,7 +156,8 @@ namespace AllBase.Model.Result
public class SubAccountInfo
{
public string name { get; set; }
public string user_name { get; set; }
public string nick_name { get; set; }
public string mobile { get; set; }
public string group_id { get; set; }
public string group_name
@@ -181,7 +188,7 @@ namespace AllBase.Model.Result
{
public string shop_login_name { get; set; }
public string sub_user_id { get { return id.ToString(); } set { id = value.ParseToInt(); } }
public string sub_user_name { get { return name; } set { name = value; } }
public string sub_user_name { get { return user_name; } set { user_name = value; } }
public string status { get; set; } = "1";
public string company_id { get; set; }
}