C# 클래스 Randao.Web.Controllers.ArticleController

상속: CustomerController
파일 보기 프로젝트 열기: fds/DKBD

공개 메소드들

메소드 설명
ArticleController ( ArticleContentService _articleContentService, ArticleCommentService _articleCommentService, ArticleAttentionService _articleAttentionService, ArticleCollectService _articleCollectService, ArticleCategoryService _articleCategoryService ) : System
Get ( int categoryId, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult

获取帖子列表接口(不包含帖子具体内容)

GetCommentList ( long articleId, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult

获取评论

GetDetail ( long articleId, int categoryId ) : System.Web.Mvc.JsonResult

获取帖子详情

PublishCommentTest ( ) : System.Web.Mvc.ActionResult
PublishTest ( ) : System.Web.Mvc.ActionResult
UploadTest ( ) : System.Web.Mvc.ActionResult

비공개 메소드들

메소드 설명
AddAttention ( OauthToken token, long attentionUserKeyId ) : System.Web.Mvc.JsonResult
CollectArticle ( OauthToken token, long articleId, int categoryId ) : System.Web.Mvc.JsonResult
DeleteCollect ( OauthToken token, long collectId ) : System.Web.Mvc.JsonResult
GetAttention ( OauthToken token, long userKeyId, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult
GetCategorys ( ) : System.Web.Mvc.JsonResult
GetCollectArticle ( OauthToken token, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult
GetCollectArticleCount ( OauthToken token ) : System.Web.Mvc.JsonResult
GetMy ( OauthToken token, int categoryId, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult
GetNoVerify ( OauthToken token, int categoryId, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult
Publish ( OauthToken token, int categoryId, string title, string content ) : System.Web.Mvc.JsonResult
PublishComment ( OauthToken token, long articleId, int articleCategoryId, string content ) : System.Web.Mvc.JsonResult
SetCount ( OauthToken token, long articleId, int articleCategoryId, int type ) : System.Web.Mvc.JsonResult
UploadImage ( OauthToken token, string content ) : System.Web.Mvc.JsonResult

메소드 상세

ArticleController() 공개 메소드

public ArticleController ( ArticleContentService _articleContentService, ArticleCommentService _articleCommentService, ArticleAttentionService _articleAttentionService, ArticleCollectService _articleCollectService, ArticleCategoryService _articleCategoryService ) : System
_articleContentService Randao.Core.Service.ArticleContentService
_articleCommentService Randao.Core.Service.ArticleCommentService
_articleAttentionService Randao.Core.Service.ArticleAttentionService
_articleCollectService Randao.Core.Service.ArticleCollectService
_articleCategoryService Randao.Core.Service.ArticleCategoryService
리턴 System

Get() 공개 메소드

获取帖子列表接口(不包含帖子具体内容)
public Get ( int categoryId, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult
categoryId int
page int
pageSize int
리턴 System.Web.Mvc.JsonResult

GetCommentList() 공개 메소드

获取评论
public GetCommentList ( long articleId, int page = 1, int pageSize = PAGESIZE ) : System.Web.Mvc.JsonResult
articleId long
page int
pageSize int
리턴 System.Web.Mvc.JsonResult

GetDetail() 공개 메소드

获取帖子详情
public GetDetail ( long articleId, int categoryId ) : System.Web.Mvc.JsonResult
articleId long
categoryId int
리턴 System.Web.Mvc.JsonResult

PublishCommentTest() 공개 메소드

public PublishCommentTest ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

PublishTest() 공개 메소드

public PublishTest ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

UploadTest() 공개 메소드

public UploadTest ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult