예제 #1
0
        /// <summary>
        /// 冻结或解冻门店
        /// </summary>
        private void UpdateShopActive()
        {
            int active = GetFormValue("active", 1);

            if (ShopLogic.UpdateShopActive(ShopID, active))
            {
                json = JsonHelper.JsonSerializer(new ResultModel(ApiStatusCode.OK));
            }
            else
            {
                json = JsonHelper.JsonSerializer(new ResultModel(ApiStatusCode.更新失败));
            }
        }