|
|
@@ -15,16 +15,16 @@ import ( |
|
|
|
) |
|
|
|
|
|
|
|
// MySelfList |
|
|
|
// @Summary 通用请求-对象存储-上传许可链接(获取) |
|
|
|
// @Tags 对象存储 |
|
|
|
// @Description 上传许可链接(获取) |
|
|
|
// @Summary 朋友圈-我的朋友圈列表 |
|
|
|
// @Tags 朋友圈 |
|
|
|
// @Description 我的朋友圈列表 |
|
|
|
// @Accept json |
|
|
|
// @Produce json |
|
|
|
// @param Authorization header string true "验证参数Bearer和token空格拼接" |
|
|
|
// @Param req body friend_circles.MySelfListReq true "签名上传url" |
|
|
|
// @Success 200 {object} friend_circles.MySelfListResp "返回数据" |
|
|
|
// @Failure 400 {object} md.Response "具体错误" |
|
|
|
// @Router /api/v1/comm/getOssUrl [POST] |
|
|
|
// @Router /api/v1/circleFriends/mySelfList [POST] |
|
|
|
func MySelfList(c *gin.Context) { |
|
|
|
var args friend_circles.MySelfListReq |
|
|
|
err := c.ShouldBindJSON(&args) |
|
|
@@ -100,8 +100,9 @@ func Publish(c *gin.Context) { |
|
|
|
LikesNums: 0, |
|
|
|
ShareNums: 0, |
|
|
|
CommentNums: 0, |
|
|
|
State: 0, |
|
|
|
IsTopUp: 0, |
|
|
|
State: 1, |
|
|
|
IsTopUp: 2, |
|
|
|
IsPraise: 2, |
|
|
|
CreatedAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
UpdatedAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
}) |
|
|
@@ -176,6 +177,7 @@ func CommentDetail(c *gin.Context) { |
|
|
|
} |
|
|
|
|
|
|
|
func Delete(c *gin.Context) { |
|
|
|
|
|
|
|
e.OutSuc(c, "success", nil) |
|
|
|
} |
|
|
|
func Share(c *gin.Context) { |
|
|
|