拼多多版权限管理 指定类目上传 ai图片上传权限管理
This commit is contained in:
1 parent
58798805ed
commit
ce23b0a49a
28 files changed
+1265
-483
No files matched your search
@@ -47,6 +47,7 @@ using TemuKJD.WXForms.ShopForms;
|
||||
using TemuKJD.WXForms.AdminForms;
|
||||
using TemuKJD.WXForms.ProductForms;
|
||||
using AllBase.Model.Result.WXResult;
|
||||
using AllBase.Model.Result.PDDResult;
|
||||
|
||||
namespace TemuKJD
|
||||
{
|
||||
@@ -310,6 +311,7 @@ namespace TemuKJD
|
||||
ReadWxCate();
|
||||
//ReadWxCateBound();
|
||||
ReadWxCateBound60323();
|
||||
ReadPddCate();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -334,6 +336,27 @@ namespace TemuKJD
|
||||
}
|
||||
}
|
||||
|
||||
void ReadPddCate()
|
||||
{
|
||||
string filePath = Path.Combine(Environment.CurrentDirectory, "temp\\pddCat260506");
|
||||
if (!File.Exists(filePath))
|
||||
return;
|
||||
using (StreamReader sr = new StreamReader(filePath, System.Text.Encoding.UTF8))
|
||||
{
|
||||
try
|
||||
{
|
||||
string cateStr = sr.ReadToEnd().Trim();
|
||||
GlobalConfig.PddCatList.AddRange(JsonHelper.DeserializeJsonToList<PddCatInfo>(cateStr));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError("商品列表获取失败:" + ex.Message);
|
||||
}
|
||||
if (GlobalConfig.PddCatList == null)
|
||||
GlobalConfig.PddCatList = new ConcurrentList<PddCatInfo>();
|
||||
}
|
||||
}
|
||||
|
||||
void ReadWxCateBound()
|
||||
{
|
||||
string filePath = Path.Combine(Environment.CurrentDirectory, "temp\\wxCatBound");
|
||||
|
||||
Reference in new issue
Block a user