29Wx状态初始化
This commit is contained in:
1 parent
9fd5579fcd
commit
40c702883c
322 files changed
+155553
No files matched your search
@@ -0,0 +1,72 @@
|
||||
using AllBase;
|
||||
using CefSharp.WinForms;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.WebSockets;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Work
|
||||
{
|
||||
public class ShopChatBase
|
||||
{
|
||||
public string ExpireTime = "";
|
||||
public string ShopId = "";
|
||||
public string ShopName = "";
|
||||
public string Sub_Account_Name = "";//子账号
|
||||
public string Name = "";
|
||||
public string UserName = "";
|
||||
public string UserInfo = "";
|
||||
public string PassId = "";
|
||||
public int ChatCount = 0;
|
||||
public string Cookies = "";
|
||||
public string CookiesUid = "";
|
||||
public string CookiesPid = "";
|
||||
public string Password = "";
|
||||
public string Message = "";//授权状态
|
||||
public string onlineStatus = "";//在线状态
|
||||
public bool Showed = false;
|
||||
public bool CanUpload = true;
|
||||
public bool Login = false;
|
||||
public int X = 0;
|
||||
public int Y = 0;
|
||||
public int MallId = 0;
|
||||
public int MainCatId = 0;
|
||||
public int ReceiverId = 0;
|
||||
public string MainCatName = "";
|
||||
public string UserCatName = "";
|
||||
public string ServiceUserName = "";
|
||||
public string BuyUserName = "";
|
||||
public string UploadUserName = "";
|
||||
public int UpCount = 0;
|
||||
public long ExpressId = 0;
|
||||
public int WaitTimes = 0;
|
||||
public string AccessToken = "";
|
||||
public string RefreshToken = "";
|
||||
public string ClientId = "";
|
||||
public string AccessTokenOrder = "";
|
||||
public string RefreshTokenOrder = "";
|
||||
public DateTime Expiration = DateTime.Now.AddDays(-1);
|
||||
public DateTime EndDate = DateTime.Now.AddDays(-1);
|
||||
public int allWait = 0;//待拼团
|
||||
public int allBuying = 0;//待拍单
|
||||
[JsonIgnore]
|
||||
public WebSocket client = null;
|
||||
[JsonIgnore]
|
||||
public ChromiumWebBrowser Chat = null;//店铺聊天用
|
||||
[JsonIgnore]
|
||||
public ChromiumWebBrowser MainIndex = null;//店铺后台用
|
||||
public bool CusIsLogin = false;//店铺是否已经登录--客服集成
|
||||
public string ownId = "";
|
||||
public string verify_auth_token = "";
|
||||
|
||||
public ShopChatBase Clone()
|
||||
{
|
||||
string html = JsonHelper.SerializeObject(this);
|
||||
ShopChatBase tp = JsonHelper.DeserializeJsonToObject<ShopChatBase>(html);
|
||||
return tp;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user