数据恢复临时调整
This commit is contained in:
1 parent
3ee52f553e
commit
2d35f4b861
7 files changed
+342
-110
No files matched your search
@@ -470,7 +470,10 @@ namespace KJD_Web.BLL.BXX
|
||||
}
|
||||
if (!string.IsNullOrEmpty(standby3))
|
||||
{
|
||||
where += " and standby3 is null";
|
||||
if (standby3.ToLower().Contains("is null"))
|
||||
where += " and standby3 " + standby3;
|
||||
else
|
||||
where += " and standby3='" + standby3 + "'";
|
||||
}
|
||||
sql += where;
|
||||
|
||||
@@ -587,6 +590,7 @@ namespace KJD_Web.BLL.BXX
|
||||
prod.sku_img_replace_base64 = row["img_base64"].ToString();
|
||||
//prod.sku_img_replace_url = row["img_url"].ToString();
|
||||
prod.wx_img_map_json = row["wx_img_map_json"].ToString();
|
||||
standby3 = row["standby3"].IsNullOrEmpty() ? null : row["standby3"].ParseToString();
|
||||
|
||||
if (!prod.sku_secret_json.IsNullOrEmpty() && prod.secret_spu_id.IsNullOrEmpty())
|
||||
{
|
||||
|
||||
@@ -816,9 +816,10 @@ namespace KJD_Web.BLL.WXXD
|
||||
var mdyTime = Convert.ToDateTime(rst["mdy_time"]);
|
||||
if (mdyTime.AddMinutes(60) < DateTime.Now)
|
||||
{
|
||||
var tokenRst = HttpUtils.e57GetResponse("https://po.e57.cn/prod-api/api/sys-api/system/open/api/shop/list?userName=阿杰账户", "");
|
||||
//var tokenRst = HttpUtils.e57GetResponse("https://po.e57.cn/prod-api/api/sys-api/system/open/api/shop/list?userName=阿杰账户", "");
|
||||
var tokenRst = HttpUtils.e57GetResponse("https://po.e57.cn/prod-api/api/sys-api/system/open/api/shop/list?userName=合肥测试一组", "");
|
||||
if (!tokenRst.Contains("\"code\":0"))
|
||||
tokenRst = HttpUtils.e57GetResponse("https://po.e57.cn/prod-api/api/sys-api/system/open/api/shop/list?userName=阿杰账户", "");
|
||||
tokenRst = HttpUtils.e57GetResponse("https://po.e57.cn/prod-api/api/sys-api/system/open/api/shop/list?userName=合肥测试一组", "");
|
||||
if (!tokenRst.Contains("\"code\":0"))
|
||||
{
|
||||
var errMsg = RegexUtils.GetStringJson(ref tokenRst, "msg");
|
||||
|
||||
@@ -101,5 +101,6 @@ namespace KJD_Web.Model
|
||||
public string real_coid { get; set; }
|
||||
public string real_spu_id { get; set; }
|
||||
public string has_wx_format { get; set; }
|
||||
public string standby3 { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user