public JsonResult ResetShopBranchRecommend(long id)
        {
            var flag = ShopBranchApplication.ResetShopBranchRecommend(id);

            return(Json(new Result {
                success = flag, msg = flag ? "" : "未知错误,请重试"
            }, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
        public JsonResult ResetShopBranchRecommend(long id)
        {
            bool flag = ShopBranchApplication.ResetShopBranchRecommend(id);

            BaseController.Result data = new BaseController.Result
            {
                success = flag,
                msg     = flag ? "" : "未知错误,请重试"
            };
            return(base.Json(data, JsonRequestBehavior.AllowGet));
        }