35 lines
843 B
C#
35 lines
843 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AllBase.Model
|
|
{
|
|
public class PddPifaShopInfo
|
|
{
|
|
public string PddId { get; set; }
|
|
public string PddShopName { get; set; }
|
|
public string CookiesJson { get; set; }
|
|
|
|
public string CookieStr
|
|
{
|
|
get
|
|
{
|
|
string cookieStr = "";
|
|
try
|
|
{
|
|
var cookieArr = Newtonsoft.Json.Linq.JArray.Parse(CookiesJson);
|
|
foreach (var jobj in cookieArr)
|
|
{
|
|
cookieStr += jobj["Name"] + "=" + jobj["Value"] + ";";
|
|
}
|
|
}
|
|
catch { }
|
|
|
|
return cookieStr;
|
|
}
|
|
}
|
|
}
|
|
}
|