コード例 #1
0
        /// <summary>
        /// 根据单元获取题库信息
        /// </summary>
        /// <param name="unitid"></param>
        /// <returns></returns>
        public string GetQuestion(int unitid, string tp, string qn, int index, int size)
        {
            //List<BackQuestionBank> list = question.GetQuestionById(unitid, tp, qn);
            Pageing <List <BackQuestionBank> > list = question.GetQuestion(unitid, tp, qn, index, size);

            return(Newtonsoft.Json.JsonConvert.SerializeObject(list));
        }