Commit b7a590e9 authored by liudong1993's avatar liudong1993

1

parent 3600d27c
......@@ -137,5 +137,10 @@ namespace Mall.Common
/// 普通会员等级
/// </summary>
public int MemberGradeId { get; set; }
/// <summary>
/// 相亲是否开启 0-未开启,1-开启
/// </summary>
public int IsOpenMiAi { get; set; }
}
}
\ No newline at end of file
......@@ -233,6 +233,7 @@ namespace Mall.WebApi.Controllers.User
UserPageType = mmodel.IsOpenSchool == 1 ? demodel.UserPageType : Common.Enum.Goods.GoodsPageTypeEnum.All,
UserTeacher = 0,
IsAddBaseInfo = 0,
IsOpenMiAi = mmodel.IsOpenMiAi,
};
UserReidsCache.AppletUserInfoSet(UserModuleCacheKeyConfig.Applet_Login_Info + UserId, appletUserInfo, Config.JwtExpirTime);
if (isGiveCoupon)
......@@ -319,6 +320,7 @@ namespace Mall.WebApi.Controllers.User
UserPageType = mmodel.IsOpenSchool == 1 ? umodel.UserPageType : Common.Enum.Goods.GoodsPageTypeEnum.All,
UserTeacher = (teacher != null && teacher.ID > 0) ? teacher.ID : 0,
IsAddBaseInfo = 0,
IsOpenMiAi = mmodel.IsOpenMiAi,
};
var oldBaseInfo = miaiModule.GetBaseInfoList(new Model.Extend.Miai.RB_MiAi_BaseInfo_Extend { UserId = umodel.Id, TenantId = mmodel.TenantId, MallBaseId = mmodel.MallBaseId }).FirstOrDefault();
if (oldBaseInfo != null && oldBaseInfo.Id > 0)
......
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