Commit 29e0f1b4 authored by 吴春's avatar 吴春
parents dce20310 71f15f2e
......@@ -260,7 +260,7 @@ namespace Mall.Module.TradePavilion
};
if (selectItem.IsMultiple)
{
List<string> valueList = JsonHelper.DeserializeObject<List<string>>(dropdownObj.GetStringValue("OptionValue"));
List<int> valueList = Common.ConvertHelper.StringToList(dropdownObj.GetStringValue("OptionValue").Split(','));
if (valueList != null && valueList.Count > 0)
{
selectItem.OptionValue = string.Join(",", valueList);
......
......@@ -1291,6 +1291,8 @@ namespace Mall.WebApi.Controllers.MallBase
};
}
if (userId > 0)
{
var oldUserInfo = miaiModule.GetMemberUserInfo(userId);
var oldBaseInfo = miaiModule.GetBaseInfoModel(new RB_MiAi_BaseInfo_Extend { UserId = userId, TenantId = RequestParm.TenantId, MallBaseId = RequestParm.MallBaseId });
......@@ -1444,6 +1446,11 @@ namespace Mall.WebApi.Controllers.MallBase
return ApiResult.Failed("用户信息不存在");
}
}
else
{
return ApiResult.Failed("用户信息不存在");
}
}
......
......@@ -657,6 +657,8 @@ namespace Mall.WebApi.Controllers.MallBase
JObject parm = JObject.Parse(parms.msg.ToString());
// var userInfo = AppletUserInfo;
int userId = parm.GetInt("UserId");
if (userId > 0)
{
var oldUserInfo = miaiModule.GetMemberUserInfo(userId);
var oldBaseInfo = miaiModule.GetBaseInfoModel(new RB_MiAi_BaseInfo_Extend { UserId = userId, TenantId = UserInfo.TenantId, MallBaseId = UserInfo.MallBaseId });
if (oldBaseInfo != null && oldBaseInfo.Id > 0)
......@@ -734,6 +736,11 @@ namespace Mall.WebApi.Controllers.MallBase
return ApiResult.Failed("用户暂未认证");
}
}
else
{
return ApiResult.Failed("用户信息不存在!");
}
}
[HttpPost]
......
......@@ -262,8 +262,8 @@ namespace Mall.WebApi.Controllers.MallBase
{
attr_group_name = smodel.Name,
attr_group_id = smodel.Sort,
attr_id = svmodel.Id,
attr_name = svmodel.Name
attr_id = svmodel?.Id ?? 0,
attr_name = svmodel?.Name ?? ""
});
}
decimal price_member = item.SellingPrice ?? 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