Beispiel #1
0
        /// <summary>
        /// 1.10.3    获取指导队名称
        /// </summary>
        public InterfaceOutPut GeName(String Data)
        {
            InterfaceOutPut output = new InterfaceOutPut();

            output.result = 1;
            try
            {
                InGeName    InParams  = JsonConvert.DeserializeObject <InGeName>(Data);
                OutGeName   OutParams = new OutGeName();
                DBTeamGuide db        = new DBTeamGuide();
                OutParams.result = db.GetGuideGroupName(InParams.GuideGroupGUID);
                output.data      = OutParams;
                output.result    = 0;
                output.resultStr = "返回成功";
            }
            catch (Exception ex)
            {
                output.resultStr = "返回失败:" + ex.Message;
                throw ex;
            }
            return(output);
        }