/// <summary>
 /// 商家入驻设置
 /// </summary>
 /// <param name="mSettled"></param>
 /// <returns></returns>
 public JsonResult setSettled(Mall.DTO.Settled mSettled)
 {
     ShopApplication.Settled(mSettled);
     return(Json(new Result()
     {
         success = true, msg = "设置成功!"
     }));
 }
Exemple #2
0
        public JsonResult Auditing(long shopId, int status, string comment = "")
        {
            Mall.DTO.Settled mSettled = ShopApplication.GetSettled();

            _iShopService.UpdateShopStatus(shopId, (Entities.ShopInfo.ShopAuditStatus)status, comment, mSettled.TrialDays);
            _iOperationLogService.AddPlatformOperationLog(new Entities.LogInfo
            {
                Date        = DateTime.Now,
                Description = string.Format("开店审核页面,店铺Id={0},状态为:{1}, 说明是:{2}", shopId,
                                            ((ShopInfo.ShopAuditStatus)status).ToString(), comment),
                IPAddress = Response.HttpContext.Features.Get <IHttpConnectionFeature>()?.RemoteIpAddress.ToString(),

                PageUrl  = "/Shop/Auditing/" + shopId,
                UserName = CurrentManager.UserName,
                ShopId   = 0
            });
            return(Json(new { success = true }));
        }