Commit f07e3761 authored by liudong1993's avatar liudong1993

Merge branch 'master' of http://gitlab.oytour.com/Kui2/mall.oytour.com into sdzq-ld

parents 843745df b1d760a9
......@@ -364,5 +364,10 @@ namespace Mall.Model.Entity.BaseSetUp
/// 是否开启全局分类包邮规则
/// </summary>
public int IsFreeShipping { 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