|
|
@ -37,7 +37,7 @@ namespace BBWY.Server.Business |
|
|
|
throw new Exception($"SyncOrder 获取店铺信息失败 shopId:{shopId} ErrorMsg:{shopResponseJToken.Value<string>("Msg")}"); |
|
|
|
|
|
|
|
var shopJToken = shopResponseJToken["Data"].FirstOrDefault(); |
|
|
|
return new ShopResponse() |
|
|
|
var shopResponse = new ShopResponse() |
|
|
|
{ |
|
|
|
AppKey = shopJToken.Value<string>("AppKey"), |
|
|
|
AppSecret = shopJToken.Value<string>("AppSecret"), |
|
|
@ -46,9 +46,11 @@ namespace BBWY.Server.Business |
|
|
|
VenderType = shopJToken.Value<string>("ShopType"), |
|
|
|
ShopId = shopId, |
|
|
|
Name = shopJToken.Value<string>("ShopName"), |
|
|
|
ManagePwd = shopJToken.Value<string>("ManagePwd"), |
|
|
|
PlatformCommissionRatio = shopJToken.Value<decimal>("PlatformCommissionRatio") |
|
|
|
ManagePwd = shopJToken.Value<string>("ManagePwd") |
|
|
|
}; |
|
|
|
try { shopResponse.PlatformCommissionRatio = shopJToken.Value<decimal?>("PlatformCommissionRatio"); } |
|
|
|
catch { } |
|
|
|
return shopResponse; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|