Commit 8a4434d4 authored by 黄奎's avatar 黄奎

页面修改

parent 7d6637d2
......@@ -501,6 +501,11 @@ namespace Mall.Model.Entity.User
/// 是否是韩国馆(1-是)
/// </summary>
public int IsKorea { get; set; }
/// <summary>
/// 用户查看微信次数
/// </summary>
public int LookWeChatTimes { get; set; }
}
......
......@@ -64,19 +64,6 @@ namespace Mall.Module.BaseSetUp
}
/// <summary>
/// 根据编号获取实体
/// </summary>
/// <param name="ID"></param>
/// <returns></returns>
public RB_MallBase GetMallBaseEntity(int ID)
{
return mallBaseRepository.GetEntity(ID);
}
/// <summary>
/// 新增/修改基础信息
/// </summary>
......
......@@ -45,32 +45,7 @@ namespace Mall.WebApi.Controllers.MallBase
}
query.TenantId = UserInfo.TenantId;
query.MallBaseId = parms.MallBaseId;
//if (query.ID == 0)//新增
//{
// var TenantModel = TenantModule.GetTenantModule(query.TenantId);
// if (TenantModel == null)
// {
// return ApiResult.Failed("请确保商户信息正确");
// }
// if (TenantModel.AccountStatus != 2)
// {
// return ApiResult.Failed("商户状态审核不通过");
// }
// if (TenantModel.IsEffective == 0 && TenantModel.AccountValidate.HasValue && TenantModel.AccountValidate.Value < System.DateTime.Now)
// {
// return ApiResult.Failed("商户账号已过期");
// }
// //判断当前商户下面有多少小程序
// if (TenantModel.CreateMiniPrograme.HasValue)
// {
// var oldList = mallBaseModule.GetListRepository(query);
// if (oldList.Count() >= TenantModel.CreateMiniPrograme.Value)
// {
// return ApiResult.Failed("商户可建小程序数:" + TenantModel.CreateMiniPrograme.Value);
// }
// }
//}
bool result = mallBaseModule.AddOrUpdateMallBase(query);
if (result)
{
......
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