Ejemplo n.º 1
0
        /// <summary>
        /// 编辑账号
        /// </summary>
        /// <param name="Param"></param>
        /// <returns></returns>
        public string EditInfo(RequestGovtInfo Param)
        {
            Param.PassWord = "******";
            GovtInfo Info = Param.MapToEntity <GovtInfo>();

            return(Insert(Info) ? ServiceMessage.INSERTSUCCESS : ServiceMessage.INSERTFAIL);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 推送账号
        /// </summary>
        /// <param name="Param"></param>
        /// <returns></returns>
        public string PushInfo(RequestGovtInfo Param)
        {
            GovtInfo Info = Param.MapToEntity <GovtInfo>();

            return(Insert(Info) ? ServiceMessage.INSERTSUCCESS : ServiceMessage.INSERTFAIL);
        }