You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
972 B

2 years ago
using BBWYB.Client.Models;
2 years ago
using CommunityToolkit.Mvvm.ComponentModel;
using Newtonsoft.Json;
2 years ago
using System.Collections.Generic;
namespace BBWYB.Client
{
2 years ago
public class GlobalContext : ObservableObject
2 years ago
{
public GlobalContext()
{
}
private User user;
2 years ago
public User User { get => user; set { SetProperty(ref user, value); } }
2 years ago
public string UserToken { get; set; }
public IList<LogisticsResponse> LogisticsResponseList { get; set; }
/// <summary>
/// JD客户端
/// </summary>
//public IJdClient JdClient { get; set; }
#region APIHost
2 years ago
public string BBWYApiHost { get; set; }
2 years ago
public string MDSApiHost { get; set; }
2 years ago
public string BBWYCApiHost { get; set; }
public string QKApiHost { get; set; }
public string GetUserString()
{
return JsonConvert.SerializeObject(User);
}
2 years ago
#endregion
}
}