Commit 7c5e7a03 authored by 黄奎's avatar 黄奎

新增页面

parent 6975fd29
......@@ -72,6 +72,10 @@ namespace Mall.Model.Entity.User
/// </summary>
public int NickPaddingLeft { get; set; }
/// <summary>
/// 昵称颜色
/// </summary>
public string NickColor { get; set; }
/// <summary>
/// 是否显示二维码(0-显示,1-不显示)
......@@ -93,5 +97,10 @@ namespace Mall.Model.Entity.User
/// </summary>
public int QrCodePaddingLeft { get; set; }
/// <summary>
/// 二维码形状(0-圆形,1-方形)
/// </summary>
public int QrCodeType { get; set; }
}
}
......@@ -27,20 +27,12 @@ namespace Mall.Model.Entity.User
/// </summary>
public int MallBaseId { get; set; }
/// <summary>
/// 是否现在昵称(0-显示,1-不显示)
/// </summary>
public int IsShowNick { get; set; }
/// <summary>
/// 是否显示商品描述(0-显示,1-不显示)
/// </summary>
public int IsShowGoodsDes { get; set; }
/// <summary>
/// 是否显示商品信息(0-显示,1-不显示)
/// </summary>
public int IsShowGoodsInfo { get; set; }
public int PosterStyle { get; set; }
/// <summary>
/// 商品图片数量
......
......@@ -55,10 +55,12 @@ namespace Mall.Module.User
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.NickSize),extModel.NickSize},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.NickPaddingTop),extModel.NickPaddingTop},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.NickPaddingLeft),extModel.NickPaddingLeft},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.NickColor),extModel.NickColor},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.IsShowQrCode),extModel.IsShowQrCode},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.QrCodeSize),extModel.QrCodeSize},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.QrCodePaddingTop),extModel.QrCodePaddingTop},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.QrCodePaddingLeft),extModel.QrCodePaddingLeft},
{ nameof(RB_MiniProgram_FenXiaoPoster_Extend.QrCodeType),extModel.QrCodeType},
};
flag = fenXiaoPosterRepository.Update(fileds, new WhereHelper(nameof(RB_MiniProgram_FenXiaoPoster_Extend.Id), extModel.Id));
}
......@@ -93,9 +95,7 @@ namespace Mall.Module.User
{
Dictionary<string, object> fileds = new Dictionary<string, object>()
{
{ nameof(RB_MiniProgram_GoodPoster_Extend.IsShowNick),extModel.IsShowNick},
{ nameof(RB_MiniProgram_GoodPoster_Extend.IsShowGoodsDes),extModel.IsShowGoodsDes},
{ nameof(RB_MiniProgram_GoodPoster_Extend.IsShowGoodsInfo),extModel.IsShowGoodsInfo},
{ nameof(RB_MiniProgram_GoodPoster_Extend.PosterStyle),extModel.PosterStyle},
{ nameof(RB_MiniProgram_GoodPoster_Extend.GoodsImgCount),extModel.GoodsImgCount},
};
flag = goodPosterRepository.Update(fileds, new WhereHelper(nameof(RB_MiniProgram_GoodPoster_Extend.Id), extModel.Id));
......
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