Discuz.Web.Services/API/Post.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using System.Xml.Serialization;

namespace Discuz.Web.Services.API
{
    public class Post
    {
        [JsonPropertyAttribute("pid")]
        [XmlElement("pid")]
        public int Pid;

        [JsonPropertyAttribute("layer")]
        [XmlElement("layer")]
        public int Layer;

        [JsonPropertyAttribute("poster_id")]
        [XmlElement("poster_id")]
        public int PosterId;

        [JsonPropertyAttribute("poster_name")]
        [XmlElement("poster_name")]
        public string PosterName = "";

        [JsonPropertyAttribute("title")]
        [XmlElement("title")]
        public string Title = "";

        [JsonPropertyAttribute("message")]
        [XmlElement("message")]
        public string Message = "";

        [JsonPropertyAttribute("post_date_time")]
        [XmlElement("post_date_time")]
        public string PostDateTime = "";

        [JsonPropertyAttribute("invisible")]
        [XmlElement("invisible")]
        public int Invisible;

        [JsonPropertyAttribute("rate")]
        [XmlElement("rate")]
        public int Rate;

        [JsonPropertyAttribute("rate_times")]
        [XmlElement("rate_times")]
        public int RateTimes;

        [JsonPropertyAttribute("use_signature")]
        [XmlElement("use_signature")]
        public int UseSignature;

        [JsonPropertyAttribute("poster_email")]
        [XmlElement("poster_email")]
        public string PosterEmail = "";

        [JsonPropertyAttribute("poster_show_email")]
        [XmlElement("poster_show_email")]
后面还有 28 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。