/// <summary> /// 设置提醒提前天数 /// </summary> private void SetDay() { if (setday) { day = Utils.GetInt(Utils.GetFormValue("num"), 1); bool res = csBll.SetBackTourReminderDays(CurrentUserCompanyID, day); Response.Clear(); Response.Write("{\"ret\":" + (res ? "1" : "-1") + "}"); Response.End(); } else { Response.Clear(); Response.Write("{\"ret\":-2}"); Response.End(); } }