订单功能服务端新增 商品编辑功能优化等
This commit is contained in:
1 parent
33eafd6781
commit
f2534535f7
22 files changed
+911
-98
No files matched your search
@@ -466,9 +466,24 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (itemObj["serviceName"].ParseToString() == "店统领供应链-商品管理")
|
||||
{
|
||||
var expiresTick = itemObj["expireTime"].ParseToLong();
|
||||
GlobalConfig.lstWxShopAuthInfo.Add(new AuthInfo() { ShopId = shop.ShopId, UpdateTime = DateTime.Now, ExpiresTime = BaseClass.StampToDateTime(expiresTick.ParseToInt()) });
|
||||
Invoke(new Action(() => { BindShop(shop, selectIds, "已查询"); }));
|
||||
return;
|
||||
var WxShopAuthInfo = new AuthInfo() { ShopId = shop.ShopId, UpdateTime = DateTime.Now, ExpiresTime = BaseClass.StampToDateTime(expiresTick.ParseToInt()) };
|
||||
if (WxShopAuthInfo.ExpiresTime > DateTime.Now)
|
||||
{
|
||||
GlobalConfig.lstWxShopAuthInfo.Add(WxShopAuthInfo);
|
||||
Invoke(new Action(() => { BindShop(shop, selectIds, "已查询"); }));
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (itemObj["serviceName"].ParseToString() == "东内部")
|
||||
{
|
||||
var expiresTick = itemObj["expireTime"].ParseToLong();
|
||||
var WxShopAuthInfo = new AuthInfo() { ShopId = shop.ShopId, UpdateTime = DateTime.Now, ExpiresTime = BaseClass.StampToDateTime(expiresTick.ParseToInt()) };
|
||||
if (WxShopAuthInfo.ExpiresTime > DateTime.Now)
|
||||
{
|
||||
GlobalConfig.lstWxShopAuthInfo.Add(WxShopAuthInfo);
|
||||
Invoke(new Action(() => { BindShop(shop, selectIds, "已查询"); }));
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
// 没找到指定服务
|
||||
|
||||
Reference in new issue
Block a user