コード例 #1
0
 /// <summary>
 /// 详情合并 某个房间详情
 /// </summary>
 /// <param name="did"></param>
 /// <returns></returns>
 public string GetModelDetail(string did)
 {
     if (string.IsNullOrEmpty(did))
     {
         return("{\"success\":\"false\",\"msg\":\"参数有空值\"}");
     }
     BLL.UserRoom bll = new BLL.UserRoom();
     return(bll.GetModelDetail(did));;
 }
コード例 #2
0
        /// <summary>
        /// 添加房间
        /// </summary>
        /// <param name="pra"></param>
        /// <returns></returns>
        public string Addroommodule2(string parm)
        {
            if (parm.IsEmpty())
            {
                return("{\"success\":\"false\",\"msg\":\"参数有空值\"}");;
            }
            BLL.UserRoom bll = new BLL.UserRoom();

            return(bll.AddRomExt(parm));
        }
コード例 #3
0
        /// <summary>
        /// 单独删除用户的某一个模块
        /// </summary>
        /// <param name="userid"></param>
        /// <param name="userromid"></param>
        /// <returns></returns>
        public string DeleteSingleModule(string userid, string userromid)
        {
            if (userid.IsEmpty() || userromid.IsEmpty())
            {
                return("{\"success\":\"false\",\"msg\":\"参数有空值\"}");;;
            }
            BLL.UserRoom bll = new BLL.UserRoom();


            return(bll.DeleteSingleModule(userid, userromid));
        }
コード例 #4
0
        /// <summary>
        /// 得到用户房间模版列表
        /// </summary>
        /// <param name="userid"></param>
        /// <returns></returns>
        public string GetUserModule(string userid)
        {
            BLL.UserRoom bll = new BLL.UserRoom();

            return(bll.GetUserModule(userid));
        }
コード例 #5
0
 /// <summary>
 /// 使用模版房间
 /// </summary>
 /// <param name="pra"></param>
 /// <returns></returns>
 public string SyFj(string parm)
 {
     //System.IO.File.AppendAllText(HttpContext.Server.MapPath("") + "sylog.txt", parm + "     :" + DateTime.Now.ToSafeString() + "\r\n\r\n");
     BLL.UserRoom bll = new BLL.UserRoom();
     return(bll.SyFj(parm));
 }