Commit 6e2581cb authored by liudong1993's avatar liudong1993
parents 2f16851b a0ed2034
...@@ -4199,40 +4199,49 @@ namespace Mall.Module.User ...@@ -4199,40 +4199,49 @@ namespace Mall.Module.User
string pathName = Guid.NewGuid().ToString() + ".jpg"; string pathName = Guid.NewGuid().ToString() + ".jpg";
string basepath = AppContext.BaseDirectory; string basepath = AppContext.BaseDirectory;
string path_server = basepath + "\\upfile\\temporary\\" + pathName; string path_server = basepath + "\\upfile\\temporary\\" + pathName;
var Robj = HttpHelper.HttpPostForGetWXQRCodePath(GetImageUrl, JsonHelper.Serialize(postData), path_server); var Robj1 = HttpHelper.HttpPost(GetImageUrl, JsonHelper.Serialize(postData), "");
//if (Robj.Length > 100)
//{ if (Robj1.Length > 200)
return "/upfile/temporary/" + pathName; {
////} var Robj = HttpHelper.HttpPostForGetWXQRCodePath(GetImageUrl, JsonHelper.Serialize(postData), path_server);
////else if (Robj != null)
////{ {
//// JObject parms = JObject.Parse(Robj); return "/upfile/temporary/" + pathName;
//// string errcode = parms.GetStringValue("errcode");//错误码 }
//// if (errcode == "40001")//access_token失效那就重新在获取一次 }
//// { else
//// token = Mall.Common.Pay.WeChatPat.TokenHelper.GetLXYToken(token, appletWeChatModel.MiniAppId, appletWeChatModel.MiniAppSecret); {
//// System.Threading.Tasks.Task.Run(() => CacheManager.AppletWeChat.WeiXinReidsCache.Set(appletWeChatModel.MiniAppId, token)); JObject parms = JObject.Parse(Robj1);
//// if (!string.IsNullOrEmpty(token)) string errcode = parms.GetStringValue("errcode");//错误码
//// { if (errcode == "40001")//access_token失效那就重新在获取一次
//// GetImageUrl = "https://api.weixin.qq.com/wxa/getwxacode?access_token=" + token;//获取小程序码 {
//// postData = new token = Mall.Common.Pay.WeChatPat.TokenHelper.GetLXYToken(token, appletWeChatModel.MiniAppId, appletWeChatModel.MiniAppSecret);
//// { System.Threading.Tasks.Task.Run(() => CacheManager.AppletWeChat.WeiXinReidsCache.Set(appletWeChatModel.MiniAppId, token));
//// path, if (!string.IsNullOrEmpty(token))
//// width {
//// }; GetImageUrl = "https://api.weixin.qq.com/wxa/getwxacode?access_token=" + token;//获取小程序码
//// pathName = Guid.NewGuid().ToString() + ".jpg"; postData = new
//// basepath = AppContext.BaseDirectory; {
//// path_server = basepath + "\\upfile\\temporary\\" + pathName; path,
//// Robj = HttpHelper.HttpPostForGetWXQRCodePath(GetImageUrl, JsonHelper.Serialize(postData), path_server); width
//// return "/upfile/temporary/" + pathName; };
//// } pathName = Guid.NewGuid().ToString() + ".jpg";
//// } basepath = AppContext.BaseDirectory;
//// else path_server = basepath + "\\upfile\\temporary\\" + pathName;
//// { Robj1 = HttpHelper.HttpPost(GetImageUrl, JsonHelper.Serialize(postData), "");
//// return "/upfile/temporary/"; var Robj = HttpHelper.HttpPostForGetWXQRCodePath(GetImageUrl, JsonHelper.Serialize(postData), path_server);
//// } if (Robj != null)
////} {
//var Robj1 = HttpHelper.HttpPost(GetImageUrl, JsonHelper.Serialize(postData), ""); return "/upfile/temporary/" + pathName;
}
}
}
else
{
return "";
}
}
//
} }
return ""; return "";
......
...@@ -170,19 +170,24 @@ namespace Mall.WebApi.Controllers ...@@ -170,19 +170,24 @@ namespace Mall.WebApi.Controllers
{ {
TenantId = TenantId, TenantId = TenantId,
MallBaseId = MallBaseId, MallBaseId = MallBaseId,
GoodsIds = Ids GoodsIds = Ids,
GoodsStatus=1
}); });
foreach (var lastItem in childItem.goodsList)
List<GoodsDetailsItem2> newGoodsList = new List<GoodsDetailsItem2>();
foreach (var tempGood in tempGoodsList)
{ {
var tempGood = tempGoodsList?.Where(qitem => qitem.Id == lastItem.id)?.FirstOrDefault(); var lastItem = new GoodsDetailsItem2();
if (tempGood != null && tempGood.Id > 0) if (tempGood != null && tempGood.Id > 0)
{ {
lastItem.name = tempGood?.Name ?? lastItem.name; lastItem.name = tempGood.Name;
lastItem.price = Math.Round((tempGood?.SellingPrice ?? lastItem.price), 2); lastItem.price = Math.Round((tempGood?.SellingPrice??0), 2);
lastItem.picUrl = tempGood?.CoverImage != null ? Common.Config.GetFileUrl(tempGood.CoverImage) : Common.Config.GetFileUrl(lastItem.picUrl); lastItem.picUrl = tempGood?.CoverImage != null ? Common.Config.GetFileUrl(tempGood.CoverImage) : "";
lastItem.OriginalPrice = Math.Round((tempGood?.OriginalPrice ?? 0), 2); lastItem.OriginalPrice = Math.Round((tempGood?.OriginalPrice ?? 0), 2);
newGoodsList.Add(lastItem);
} }
} }
childItem.goodsList = newGoodsList;
} }
} }
//自动添加商品 //自动添加商品
...@@ -193,7 +198,8 @@ namespace Mall.WebApi.Controllers ...@@ -193,7 +198,8 @@ namespace Mall.WebApi.Controllers
{ {
TenantId = TenantId, TenantId = TenantId,
MallBaseId = MallBaseId, MallBaseId = MallBaseId,
CategoryIds = childItem.id.ToString() CategoryIds = childItem.id.ToString(),
GoodsStatus = 1
}); });
if (catGoodsList != null && catGoodsList.Count > 0) if (catGoodsList != null && catGoodsList.Count > 0)
{ {
...@@ -223,7 +229,8 @@ namespace Mall.WebApi.Controllers ...@@ -223,7 +229,8 @@ namespace Mall.WebApi.Controllers
var goodsList = productModule.GetProductGoodsPageList(1, goodsData.goodsLength, out long rowsCount, new Model.Extend.Product.RB_Goods_Extend() var goodsList = productModule.GetProductGoodsPageList(1, goodsData.goodsLength, out long rowsCount, new Model.Extend.Product.RB_Goods_Extend()
{ {
TenantId = TenantId, TenantId = TenantId,
MallBaseId = MallBaseId MallBaseId = MallBaseId,
GoodsStatus = 1
}); });
if (goodsList != null && goodsList.Count > 0) if (goodsList != null && goodsList.Count > 0)
{ {
...@@ -250,19 +257,23 @@ namespace Mall.WebApi.Controllers ...@@ -250,19 +257,23 @@ namespace Mall.WebApi.Controllers
{ {
TenantId = TenantId, TenantId = TenantId,
MallBaseId = MallBaseId, MallBaseId = MallBaseId,
GoodsIds = Ids GoodsIds = Ids,
GoodsStatus = 1
}); });
foreach (var childItem in goodsData.list) List<GoodsDetailsItem2> newGoodsList = new List<GoodsDetailsItem2>();
foreach (var tempGood in tempGoodsList)
{ {
var tempGood = tempGoodsList?.Where(qitem => qitem.Id == childItem.id)?.FirstOrDefault(); var childItem = new GoodsDetailsItem2();
if (tempGood != null && tempGood.Id > 0) if (tempGood != null && tempGood.Id > 0)
{ {
childItem.name = tempGood?.Name ?? childItem.name; childItem.name = tempGood?.Name ?? "";
childItem.price = Math.Round((tempGood?.SellingPrice ?? childItem.price), 2); childItem.price = Math.Round((tempGood?.SellingPrice ?? 0), 2);
childItem.picUrl = tempGood?.CoverImage != null ? Common.Config.GetFileUrl(tempGood.CoverImage) : Common.Config.GetFileUrl(childItem.picUrl); childItem.picUrl = tempGood?.CoverImage != null ? Common.Config.GetFileUrl(tempGood.CoverImage) : "";
childItem.OriginalPrice = Math.Round((tempGood?.OriginalPrice ?? 0), 2); childItem.OriginalPrice = Math.Round((tempGood?.OriginalPrice ?? 0), 2);
newGoodsList.Add(childItem);
} }
} }
goodsData.list = newGoodsList;
} }
} }
} }
...@@ -732,11 +743,11 @@ namespace Mall.WebApi.Controllers ...@@ -732,11 +743,11 @@ namespace Mall.WebApi.Controllers
var goodsList = productModule.GetProductGoodsPageList(1, 6, out long rowsCount, new Model.Extend.Product.RB_Goods_Extend() var goodsList = productModule.GetProductGoodsPageList(1, 6, out long rowsCount, new Model.Extend.Product.RB_Goods_Extend()
{ {
TenantId = Convert.ToInt32(miniProgram.TenantId), TenantId = Convert.ToInt32(miniProgram.TenantId),
MallBaseId = miniProgram.MallBaseId MallBaseId = miniProgram.MallBaseId,
GoodsStatus=1,
}); });
if (goodsList != null && goodsList.Count > 0) if (goodsList != null && goodsList.Count > 0)
{ {
foreach (var gItem in goodsList) foreach (var gItem in goodsList)
{ {
cats.goodsList.Add(new GoodsDetailsItem2() cats.goodsList.Add(new GoodsDetailsItem2()
...@@ -756,7 +767,8 @@ namespace Mall.WebApi.Controllers ...@@ -756,7 +767,8 @@ namespace Mall.WebApi.Controllers
{ {
TenantId = Convert.ToInt32(miniProgram.TenantId), TenantId = Convert.ToInt32(miniProgram.TenantId),
MallBaseId = miniProgram.MallBaseId, MallBaseId = miniProgram.MallBaseId,
CategoryIds = subitem.relation_id.ToString() CategoryIds = subitem.relation_id.ToString(),
GoodsStatus = 1,
}); });
if (goodsList != null && goodsList.Count > 0) if (goodsList != null && goodsList.Count > 0)
{ {
...@@ -851,12 +863,13 @@ namespace Mall.WebApi.Controllers ...@@ -851,12 +863,13 @@ namespace Mall.WebApi.Controllers
h = 1, h = 1,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[0].Link {
} new_link_url = blockSource.MagicDataList[0].Link
}, }
},
width = "calc(100%)", width = "calc(100%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -882,12 +895,13 @@ namespace Mall.WebApi.Controllers ...@@ -882,12 +895,13 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[0].Link {
} new_link_url = blockSource.MagicDataList[0].Link
}, }
},
width = "calc(40%)", width = "calc(40%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -907,12 +921,13 @@ namespace Mall.WebApi.Controllers ...@@ -907,12 +921,13 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 10, x = 10,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[1].Link {
} new_link_url = blockSource.MagicDataList[1].Link
}, }
},
width = "calc(60%)", width = "calc(60%)",
height = "calc(100%)", height = "calc(100%)",
left = "calc(40%)", left = "calc(40%)",
...@@ -939,12 +954,12 @@ namespace Mall.WebApi.Controllers ...@@ -939,12 +954,12 @@ namespace Mall.WebApi.Controllers
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
} }
}, },
width = "calc(40%)", width = "calc(40%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -964,12 +979,13 @@ namespace Mall.WebApi.Controllers ...@@ -964,12 +979,13 @@ namespace Mall.WebApi.Controllers
h = 6, h = 6,
x = 10, x = 10,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[1].Link {
} new_link_url = blockSource.MagicDataList[1].Link
}, }
},
width = "calc(60%)", width = "calc(60%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(40%)", left = "calc(40%)",
...@@ -990,12 +1006,12 @@ namespace Mall.WebApi.Controllers ...@@ -990,12 +1006,12 @@ namespace Mall.WebApi.Controllers
x = 10, x = 10,
y = 6, y = 6,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[2].Link new_link_url = blockSource.MagicDataList[2].Link
} }
}, },
width = "calc(60%)", width = "calc(60%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(40%)", left = "calc(40%)",
...@@ -1021,12 +1037,13 @@ namespace Mall.WebApi.Controllers ...@@ -1021,12 +1037,13 @@ namespace Mall.WebApi.Controllers
h = 24, h = 24,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[0].Link {
} new_link_url = blockSource.MagicDataList[0].Link
}, }
},
width = "calc(40%)", width = "calc(40%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -1046,12 +1063,13 @@ namespace Mall.WebApi.Controllers ...@@ -1046,12 +1063,13 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 20, x = 20,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[1].Link {
} new_link_url = blockSource.MagicDataList[1].Link
}, }
},
width = "calc(60%)", width = "calc(60%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(40%)", left = "calc(40%)",
...@@ -1071,12 +1089,13 @@ namespace Mall.WebApi.Controllers ...@@ -1071,12 +1089,13 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 20, x = 20,
y = 12, y = 12,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[2].Link {
} new_link_url = blockSource.MagicDataList[2].Link
}, }
},
width = "calc(30%)", width = "calc(30%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(40%)", left = "calc(40%)",
...@@ -1096,12 +1115,13 @@ namespace Mall.WebApi.Controllers ...@@ -1096,12 +1115,13 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 35, x = 35,
y = 12, y = 12,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[3].Link {
} new_link_url = blockSource.MagicDataList[3].Link
}, }
},
width = "calc(30%)", width = "calc(30%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(70%)", left = "calc(70%)",
...@@ -1127,12 +1147,13 @@ namespace Mall.WebApi.Controllers ...@@ -1127,12 +1147,13 @@ namespace Mall.WebApi.Controllers
h = 16, h = 16,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[0].Link {
} new_link_url = blockSource.MagicDataList[0].Link
}, }
},
width = "calc(50%)", width = "calc(50%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -1153,12 +1174,12 @@ namespace Mall.WebApi.Controllers ...@@ -1153,12 +1174,12 @@ namespace Mall.WebApi.Controllers
x = 25, x = 25,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[1].Link new_link_url = blockSource.MagicDataList[1].Link
} }
}, },
width = "calc(50%)", width = "calc(50%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -1184,12 +1205,13 @@ namespace Mall.WebApi.Controllers ...@@ -1184,12 +1205,13 @@ namespace Mall.WebApi.Controllers
h = 24, h = 24,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[0].Link {
} new_link_url = blockSource.MagicDataList[0].Link
}, }
},
width = "calc(33.33%)", width = "calc(33.33%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -1210,12 +1232,12 @@ namespace Mall.WebApi.Controllers ...@@ -1210,12 +1232,12 @@ namespace Mall.WebApi.Controllers
x = 25, x = 25,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[1].Link new_link_url = blockSource.MagicDataList[1].Link
} }
}, },
width = "calc(33.33%)", width = "calc(33.33%)",
height = "calc(100%)", height = "calc(100%)",
left = "calc(33.33%)", left = "calc(33.33%)",
...@@ -1235,12 +1257,13 @@ namespace Mall.WebApi.Controllers ...@@ -1235,12 +1257,13 @@ namespace Mall.WebApi.Controllers
h = 24, h = 24,
x = 50, x = 50,
y = 6, y = 6,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[2].Link {
} new_link_url = blockSource.MagicDataList[2].Link
}, }
},
width = "calc(33.34%)", width = "calc(33.34%)",
height = "calc(100%)", height = "calc(100%)",
left = "calc(66.66%)", left = "calc(66.66%)",
...@@ -1268,12 +1291,12 @@ namespace Mall.WebApi.Controllers ...@@ -1268,12 +1291,12 @@ namespace Mall.WebApi.Controllers
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
} }
}, },
width = "calc(25%)", width = "calc(25%)",
height = "calc(100%)", height = "calc(100%)",
left = "0%", left = "0%",
...@@ -1293,12 +1316,13 @@ namespace Mall.WebApi.Controllers ...@@ -1293,12 +1316,13 @@ namespace Mall.WebApi.Controllers
h = 1, h = 1,
x = 1, x = 1,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
new rubikLinkItem() {
{ new rubikLinkItem()
new_link_url = blockSource.MagicDataList[1].Link {
} new_link_url = blockSource.MagicDataList[1].Link
}, }
},
width = "calc(25%)", width = "calc(25%)",
height = "calc(100%)", height = "calc(100%)",
left = "calc(25%)", left = "calc(25%)",
...@@ -1319,12 +1343,12 @@ namespace Mall.WebApi.Controllers ...@@ -1319,12 +1343,12 @@ namespace Mall.WebApi.Controllers
x = 2, x = 2,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[2].Link new_link_url = blockSource.MagicDataList[2].Link
} }
}, },
width = "calc(25%)", width = "calc(25%)",
height = "calc(100%)", height = "calc(100%)",
left = "calc(50%)", left = "calc(50%)",
...@@ -1345,12 +1369,12 @@ namespace Mall.WebApi.Controllers ...@@ -1345,12 +1369,12 @@ namespace Mall.WebApi.Controllers
x = 3, x = 3,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[3].Link new_link_url = blockSource.MagicDataList[3].Link
} }
}, },
width = "calc(25%)", width = "calc(25%)",
height = "calc(100%)", height = "calc(100%)",
left = "calc(75%)", left = "calc(75%)",
...@@ -1377,12 +1401,12 @@ namespace Mall.WebApi.Controllers ...@@ -1377,12 +1401,12 @@ namespace Mall.WebApi.Controllers
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
} }
}, },
width = "calc(50%)", width = "calc(50%)",
height = "calc(50%)", height = "calc(50%)",
left = "0%", left = "0%",
...@@ -1403,12 +1427,12 @@ namespace Mall.WebApi.Controllers ...@@ -1403,12 +1427,12 @@ namespace Mall.WebApi.Controllers
x = 125, x = 125,
y = 0, y = 0,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[1].Link new_link_url = blockSource.MagicDataList[1].Link
} }
}, },
width = "calc(50%)", width = "calc(50%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(50%)", left = "calc(50%)",
...@@ -1429,12 +1453,12 @@ namespace Mall.WebApi.Controllers ...@@ -1429,12 +1453,12 @@ namespace Mall.WebApi.Controllers
x = 0, x = 0,
y = 62, y = 62,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[2].Link new_link_url = blockSource.MagicDataList[2].Link
} }
}, },
width = "calc(50%)", width = "calc(50%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(0%)", left = "calc(0%)",
...@@ -1455,12 +1479,12 @@ namespace Mall.WebApi.Controllers ...@@ -1455,12 +1479,12 @@ namespace Mall.WebApi.Controllers
x = 125, x = 125,
y = 62, y = 62,
link = new List<rubikLinkItem>() link = new List<rubikLinkItem>()
{ {
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[3].Link new_link_url = blockSource.MagicDataList[3].Link
} }
}, },
width = "calc(50%)", width = "calc(50%)",
height = "calc(50%)", height = "calc(50%)",
left = "calc(50%)", left = "calc(50%)",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment