微信app采集
This commit is contained in:
1 parent
52220daa8b
commit
2f61dc1cdd
67 files changed
+6197
-1118
No files matched your search
@@ -251,7 +251,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
orderLst.Add(prod);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(orderLst);
|
||||
var data = JsonUtils.SerializeObjectToString(orderLst);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@@ -175,7 +175,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
priceList.Add(price);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(priceList);
|
||||
var data = JsonUtils.SerializeObjectToString(priceList);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -548,7 +548,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
purchasePriceList.Add(price);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(purchasePriceList);
|
||||
var data = JsonUtils.SerializeObjectToString(purchasePriceList);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace KJD_Web.BLL
|
||||
var group = row["group"].ToString();
|
||||
groupNameLst.Add(group);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(groupNameLst);
|
||||
var data = JsonUtils.SerializeObjectToString(groupNameLst);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -292,7 +292,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
productLst.Add(prod);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(productLst);
|
||||
var data = JsonUtils.SerializeObjectToString(productLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -877,7 +877,7 @@ namespace KJD_Web.BLL
|
||||
prodSelect.add_sub_sa_time = row["add_sub_sa_time"] as DateTime?;
|
||||
productLst.Add(prodSelect);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(productLst);
|
||||
var data = JsonUtils.SerializeObjectToString(productLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -1256,7 +1256,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
dbIdMapProductIdLst.Add(dbIdMapProductId);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(dbIdMapProductIdLst);
|
||||
var data = JsonUtils.SerializeObjectToString(dbIdMapProductIdLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -1347,7 +1347,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
draftIdMapUpSpuIdLst.Add(draftIdMapUpSpuId);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(draftIdMapUpSpuIdLst);
|
||||
var data = JsonUtils.SerializeObjectToString(draftIdMapUpSpuIdLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + -1 + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -1589,7 +1589,7 @@ namespace KJD_Web.BLL
|
||||
//}
|
||||
skuImgLst.Add(img);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(skuImgLst);
|
||||
var data = JsonUtils.SerializeObjectToString(skuImgLst);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@@ -195,7 +195,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
productLst.Add(prod);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(productLst);
|
||||
var data = JsonUtils.SerializeObjectToString(productLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -316,7 +316,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
productLst.Add(prod);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(productLst);
|
||||
var data = JsonUtils.SerializeObjectToString(productLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -433,7 +433,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
productLst.Add(prod);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(productLst);
|
||||
var data = JsonUtils.SerializeObjectToString(productLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -1084,7 +1084,7 @@ namespace KJD_Web.BLL
|
||||
prodSelect.add_sub_sa_time = row["add_sub_sa_time"] as DateTime?;
|
||||
productLst.Add(prodSelect);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(productLst);
|
||||
var data = JsonUtils.SerializeObjectToString(productLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
@@ -1451,7 +1451,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
dbIdMapProductIdLst.Add(dbIdMapProductId);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(dbIdMapProductIdLst);
|
||||
var data = JsonUtils.SerializeObjectToString(dbIdMapProductIdLst);
|
||||
var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000");
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}";
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
}
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(shopList);
|
||||
var data = JsonUtils.SerializeObjectToString(shopList);
|
||||
|
||||
|
||||
//return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
@@ -367,7 +367,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
}
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(shopList);
|
||||
var data = JsonUtils.SerializeObjectToString(shopList);
|
||||
|
||||
|
||||
//return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
@@ -459,7 +459,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
shopList.Add(shop);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(shopList);
|
||||
var data = JsonUtils.SerializeObjectToString(shopList);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
}
|
||||
}
|
||||
@@ -507,7 +507,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
shopList.Add(shop);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(shopList);
|
||||
var data = JsonUtils.SerializeObjectToString(shopList);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
}
|
||||
}
|
||||
@@ -926,7 +926,7 @@ namespace KJD_Web.BLL
|
||||
};
|
||||
cardCodeList.Add(cardCode);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(cardCodeList);
|
||||
var data = JsonUtils.SerializeObjectToString(cardCodeList);
|
||||
|
||||
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace KJD_Web.BLL
|
||||
{
|
||||
user.company_name = "-";
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(user);
|
||||
var data = JsonUtils.SerializeObjectToString(user);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
}
|
||||
return "{\"code\":1,\"msg\":\"用户名或密码错误\"}";
|
||||
@@ -149,7 +149,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
userList.Add(user);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(userList);
|
||||
var data = JsonUtils.SerializeObjectToString(userList);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
}
|
||||
}
|
||||
@@ -295,7 +295,7 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
userList.Add(user);
|
||||
}
|
||||
var data = JsonUtils.SerializerObjectToString(userList);
|
||||
var data = JsonUtils.SerializeObjectToString(userList);
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user