|
@@ -31,12 +31,6 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
{
|
|
|
value = DesDecrypt(value);
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
- int Id = int.Parse(function.CheckInt(data["Id"].ToString()));
|
|
|
- var merchant = maindb.MerchantInfo.FirstOrDefault(m => m.Id == Id) ?? new MerchantInfo();
|
|
|
- if (merchant.Id > 0 && merchant.IsAct == 0)
|
|
|
- {
|
|
|
- return Json(new AppResultJson() { Status = "-1", Info = "商户尚未激活,不能开启活动" });
|
|
|
- }
|
|
|
Dictionary<string, object> Obj = DetailDo(value);
|
|
|
return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
|
|
|
}
|