1优化拍单逻辑 2优化部分文件位置命名等
This commit is contained in:
1 parent
34c51c6fcd
commit
1e27c0b1e1
65 files changed
+2594
-268
No files matched your search
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model
|
||||
{
|
||||
public class PddMultiBuyerInfo
|
||||
{
|
||||
public string pdd_user_id { get; set; }
|
||||
public string cookies { get; set; }
|
||||
public int times { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user