手动jit , 自动jit 50%
This commit is contained in:
1 parent
e37ee16782
commit
d0ee274e2f
29 files changed
+3712
-417
No files matched your search
@@ -934,6 +934,35 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||
return "上传失败 " + html;
|
||||
}
|
||||
|
||||
if (dbProd.cat_id != catId.ParseToString())
|
||||
{
|
||||
//var catRst = GetCatPathList(shop, prodParam.productDraftId.ParseToString(), catId.ParseToString());
|
||||
//if (catRst.Contains("\"success\":true"))
|
||||
//{
|
||||
// var regex = BaseRegex.GetMatchRegex(ref catRst, "\\\"catId\\\":\\d{1,10}");
|
||||
// if (regex.Count > 0)
|
||||
// {
|
||||
// var cats = regex.Cast<Match>().Select(m => m.Value.ParseToString().Replace("\"catId\":", "").ParseToLong()).ToList();
|
||||
// if (!cats.Any(c => c <= 0))
|
||||
// {
|
||||
// while (cats.Count < 10)
|
||||
// cats.Add(0);
|
||||
|
||||
// prodParam.cat1Id = cats[0];
|
||||
// prodParam.cat2Id = cats[1];
|
||||
// prodParam.cat3Id = cats[2];
|
||||
// prodParam.cat4Id = cats[3];
|
||||
// prodParam.cat5Id = cats[4];
|
||||
// prodParam.cat6Id = cats[5];
|
||||
// prodParam.cat7Id = cats[6];
|
||||
// prodParam.cat8Id = cats[7];
|
||||
// prodParam.cat9Id = cats[8];
|
||||
// prodParam.cat10Id = cats[9];
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
prodParam.carouselImageI18nReqs = prodInfo.carouselImageI18nVOList;
|
||||
prodParam.carouselImageUrls = prodInfo.carouselImageUrls;
|
||||
|
||||
|
||||
Reference in new issue
Block a user