1688上传类目转换等优化 充值用户服务充值和用户续费店铺功能
This commit is contained in:
1 parent
ecb291e3d7
commit
aab73b978f
56 files changed
+4532
-1748
No files matched your search
@@ -284,6 +284,16 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (dbProd.product_get_type_text == "1688外部数据")
|
||||
{
|
||||
string convertRst = "";
|
||||
var pInfo = new PDDProdFormConverter()._1688OutToPddConvert(out convertRst, dbProd);
|
||||
if (!string.IsNullOrEmpty(convertRst))
|
||||
{
|
||||
BaseMsgForm.ShowError("商品结构获取失败");
|
||||
return;
|
||||
}
|
||||
}
|
||||
#region 微信小店app
|
||||
if (dbProd.product_get_type_text == "微信小店")
|
||||
{
|
||||
|
||||
@@ -961,6 +961,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"1688外部数据",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
|
||||
@@ -1298,7 +1298,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
string productTitle = "";
|
||||
|
||||
|
||||
if (dbProd.product_get_type_text == "厂商直采" || dbProd.product_get_type_text == "1688厂家" || dbProd.product_get_type_text == "微信小店")
|
||||
if (dbProd.product_get_type_text == "厂商直采" || dbProd.product_get_type_text == "1688厂家" ||
|
||||
dbProd.product_get_type_text == "微信小店" || dbProd.product_get_type_text == "1688外部数据")
|
||||
{
|
||||
|
||||
if (dbProd.product_get_type_text == "微信小店" && dbProd.wx_cat_leaf != null)
|
||||
@@ -1365,6 +1366,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
mainImgLst3 = wxClientProdInfo.info.head_img.Take(3).ToList();
|
||||
productTitle = wxClientProdInfo.info.title;
|
||||
}
|
||||
if (dbProd.product_get_type_text == "1688外部数据")
|
||||
{
|
||||
string convertRst = "";
|
||||
var pInfo = new PDDProdFormConverter()._1688OutToPddConvert(out convertRst, dbProd);
|
||||
mainImgLst3 = pInfo.detail.galleries.Where(g => g.type == 1).Take(3).Select(s => s.url).ToList();
|
||||
productTitle = pInfo.detail.goods_name;
|
||||
}
|
||||
//bool is404 = false;
|
||||
|
||||
foreach (var img in mainImgLst3)
|
||||
@@ -1482,7 +1490,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
|
||||
mdyWxCat:
|
||||
if ((dbProd.product_get_type_text == "厂商直采" || dbProd.product_get_type_text == "1688厂家" || dbProd.product_get_type_text == "微信小店")
|
||||
if ((dbProd.product_get_type_text == "厂商直采" || dbProd.product_get_type_text == "1688厂家" ||
|
||||
dbProd.product_get_type_text == "微信小店" || dbProd.product_get_type_text == "1688外部数据")
|
||||
&& dbProd.wx_cat_1 != null && dbProd.wx_cat_leaf != null)
|
||||
{
|
||||
var row = dgvDbProduct.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["col_spu_id"].Value.ParseToString() == dbProd.spu_id);
|
||||
|
||||
Reference in new issue
Block a user