Documentation ¶
Index ¶
- Constants
- func AllArticle(c *gin.Context)
- func CreatArticle(c *gin.Context)
- func CurrentArticledMessageOtherMessage(c *gin.Context)
- func CurrentArticledMessages(c *gin.Context)
- func CurrentArticledWirteMessage(c *gin.Context)
- func DeleteArticle(c *gin.Context)
- func GetMostThunmbArticle(c *gin.Context)
- func GetReportForm(c *gin.Context)
- func GetShouzhenSelectData(c *gin.Context)
- func GetUser(c *gin.Context)
- func LoginIn(c *gin.Context)
- func MyArticle(c *gin.Context)
- func Register(c *gin.Context)
- func ThunmbToArticle(c *gin.Context)
- func ThunmbToCurrentArticledMessage(c *gin.Context)
- func UpdateArticle(c *gin.Context)
- func Upload(c *gin.Context)
- type ApiRes
- type CreatArticleParams
- type LoginParams
- type MessageParams
- type MyArticleParams
- type UpdateArticleParams
Constants ¶
View Source
const DST = "static/img/"
Variables ¶
This section is empty.
Functions ¶
func AllArticle ¶
func CreatArticle ¶
func CurrentArticledMessages ¶
func DeleteArticle ¶
func GetMostThunmbArticle ¶
func GetReportForm ¶
func GetShouzhenSelectData ¶
func ThunmbToArticle ¶
func UpdateArticle ¶
Types ¶
type CreatArticleParams ¶
type LoginParams ¶
type MessageParams ¶
type MessageParams struct { Id string `form:"id" json:"id"` ArticleId string `form:"articleId" json:"articleId"` Uid string `form:"uid" json:"uid"` UserName string `form:"name" json:"name"` Actor string `form:"avatarUrl" json:"avatarUrl"` Context string `form:"context" json:"context"` Thunmbs string `form:"thunmbs" json:"thunmbs"` ThunmbsUid string `form:"thunmbsUid" json:"thunmbsUid"` ToMesId string `form:"toMesId" json:"toMesId"` Page string `form:"page" json:"page"` }
type MyArticleParams ¶
type UpdateArticleParams ¶
type UpdateArticleParams struct { Id string `form:"id" json:"id"` Context string `form:"text" json:"text"` }
删除
Click to show internal directories.
Click to hide internal directories.