123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- #region Apache License Version 2.0
- /*----------------------------------------------------------------
- Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
- either express or implied. See the License for the specific language governing permissions
- and limitations under the License.
- Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
- ----------------------------------------------------------------*/
- #endregion Apache License Version 2.0
- /*----------------------------------------------------------------
- Copyright (C) 2019 Senparc
-
- 文件名:ListResultJson.cs
- 文件功能描述:查看指定文章的评论数据 返回结果
-
-
- 创建标识:Senparc - 20180131
- 修改标识:Senparc - 20180318
- 修改描述:v14.10.6 完善“查看指定文章的评论数据”接口(CommentApi.List())的返回结果数据
-
- ----------------------------------------------------------------*/
- using Senparc.Weixin.Entities;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Senparc.Weixin.MP.AdvancedAPIs.Comment.CommentJson
- {
- /// <summary>
- /// 查看指定文章的评论数据 返回结果
- /// </summary>
- public class ListResultJson : WxJsonResult
- {
- /// <summary>
- /// 评论列表
- /// </summary>
- public ListResultJson_comment[] comment { get; set; }
- /// <summary>
- /// 总数,非comment的size
- /// </summary>
- public int total { get; set; }
- }
- public class ListResultJson_comment
- {
- /*
- * 返回结果:
- {
- "user_comment_id": 9,
- "create_time": 1521255525,
- "content": "如果有什么大考验的话可能会发现自己啥都没改都白扯了吧",
- "comment_type": 0,
- "openid": "oufSm0Xw0nhuha_nWD6AfiZ3rgvA",
- "reply" :
- {
- "content" : "CONTENT",
- "create_time" : 1521265525
- }
- }
- */
- /// <summary>
- /// 用户评论id
- /// </summary>
- public int user_comment_id { get; set; }
- /// <summary>
- /// 评论时间
- /// </summary>
- public long create_time { get; set; }
- /// <summary>
- /// 评论内容
- /// </summary>
- public string content { get; set; }
- /// <summary>
- /// 是否精选评论,0为即非精选,1为true,即精选
- /// </summary>
- public int comment_type { get; set; }
- /// <summary>
- /// OpenId
- /// </summary>
- public string openid { get; set; }
- /// <summary>
- /// 回复
- /// </summary>
- public ListResultJson_comment_reply reply { get; set; }
- }
- public class ListResultJson_comment_reply
- {
- /// <summary>
- /// 作者回复内容
- /// </summary>
- public string content { get; set; }
- /// <summary>
- /// 作者回复时间
- /// </summary>
- public long create_time { get; set; }
- }
- }
|