|
@@ -17,7 +17,7 @@ type IndustryController struct {
|
|
|
// @Description 关注/取消关注 接口
|
|
|
// @Param request body models.CygxIndustryFllowRep true "type json string"
|
|
|
// @Success 200
|
|
|
-// @router /fllow [post]
|
|
|
+// @router /follow [post]
|
|
|
func (this *IndustryController) Fllow() {
|
|
|
br := new(models.BaseResponse).Init()
|
|
|
defer func() {
|
|
@@ -30,11 +30,6 @@ func (this *IndustryController) Fllow() {
|
|
|
br.Ret = 408
|
|
|
return
|
|
|
}
|
|
|
- //type IndustryFllowArryReq struct {
|
|
|
- // SourceId int `description:"资源ID"`
|
|
|
- // Source string `description:"资源类型 报告 :article 、活动 :activity"`
|
|
|
- // DoType string `description:"操作方式 关注 :add 、取消关注 :cancel"`
|
|
|
- //}
|
|
|
uid := user.UserId
|
|
|
var req models.IndustryFllowArryReq
|
|
|
|