public APIReturn Post_insert([FromForm] ulong?Topics_id, [FromForm] ulong?Users_id)
        {
            Users_topicsInfo item = new Users_topicsInfo();

            item.Topics_id = Topics_id;
            item.Users_id  = Users_id;
            item           = Users_topics.Insert(item);
            return(new APIReturn(0, "成功", "item", item.ToBson()));
        }
        public APIReturn Delete_delete(ulong?Topics_id, ulong?Users_id)
        {
            int affrows = Users_topics.Delete(Topics_id, Users_id);

            if (affrows > 0)
            {
                return(new APIReturn(0, string.Format("删除成功,影响行数:{0}", affrows)));
            }
            return(new APIReturn(99, "失败"));
        }
        public APIReturn Get_item(ulong?Topics_id, ulong?Users_id)
        {
            Users_topicsInfo item = Users_topics.GetItem(Topics_id, Users_id);

            if (item == null)
            {
                return(new APIReturn(98, "记录不存在,或者没有权限"));
            }
            return(new APIReturn(0, "成功", "item", item.ToBson()));
        }
        public APIReturn Put_update(ulong?Topics_id, ulong?Users_id)
        {
            Users_topicsInfo item = new Users_topicsInfo();

            item.Topics_id = Topics_id;
            item.Users_id  = Users_id;
            int affrows = Users_topics.Update(item);

            if (affrows > 0)
            {
                return(new APIReturn(0, "成功"));
            }
            return(new APIReturn(99, "失败"));
        }