1拼多多接口上传及相关功能(不含部分功能) 2拼多多选品
This commit is contained in:
1 parent
ff42506091
commit
07b912e9eb
37 files changed
+21117
-206
No files matched your search
@@ -1323,8 +1323,8 @@ namespace KJD_Web.BLL.BXX
|
||||
sql += where;
|
||||
|
||||
int count = prod_count;
|
||||
if (product_get_type == "厂商直采" && count > 1500)
|
||||
count /= 3;
|
||||
if (product_get_type == "厂商直采" && count > 1250)
|
||||
count = (count / 2.5).ParseToInt();
|
||||
if (!is_not_count)
|
||||
{
|
||||
count = mySql.ExecuteRowCount(sql);
|
||||
@@ -1416,7 +1416,7 @@ namespace KJD_Web.BLL.BXX
|
||||
var data = JsonUtils.SerializeObjectToString(productLst, jsonSetting);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
if (product_get_type == "厂商直采" && count > 500)
|
||||
count *= 3;
|
||||
count = (count * 2.5).ParseToInt();
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in new issue
Block a user