From 7f91ff9dfa6d6ff8ec35dfea6d5195a20f631127 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 13 五月 2024 13:58:16 +0800
Subject: [PATCH] 关注和取消关注接口

---
 docs/docs.go |   73 ++++++++++++++++++++++++++++++++++--
 1 files changed, 69 insertions(+), 4 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index d16d13e..0decc75 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -27,7 +27,7 @@
                 "summary": "鎵归噺鍒犻櫎闊抽",
                 "parameters": [
                     {
-                        "description": "闊抽淇℃伅",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
@@ -57,7 +57,7 @@
                 "summary": "鎵归噺澶勭悊闊抽",
                 "parameters": [
                     {
-                        "description": "闊抽淇℃伅",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
@@ -87,7 +87,7 @@
                 "summary": "鍒犻櫎闊抽",
                 "parameters": [
                     {
-                        "description": "闊抽淇℃伅",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
@@ -101,6 +101,48 @@
                         "description": "鎴愬姛",
                         "schema": {
                             "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-sa/v1/audio/follow": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "闊抽"
+                ],
+                "summary": "鍏虫敞/鍙栨秷鍏虫敞",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.FollowReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.FollowResp"
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
@@ -195,7 +237,7 @@
                 "summary": "澶勭悊闊抽",
                 "parameters": [
                     {
-                        "description": "闊抽淇℃伅",
+                        "description": "鍙傛暟",
                         "name": "object",
                         "in": "body",
                         "required": true,
@@ -338,6 +380,10 @@
                 "occurrenceTime": {
                     "type": "string"
                 },
+                "score": {
+                    "description": "缃俊搴�",
+                    "type": "number"
+                },
                 "size": {
                     "description": "闊抽澶у皬",
                     "type": "integer"
@@ -369,6 +415,17 @@
                 }
             }
         },
+        "request.FollowReq": {
+            "type": "object",
+            "required": [
+                "id"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                }
+            }
+        },
         "request.ProcessAudio": {
             "type": "object",
             "required": [
@@ -380,6 +437,14 @@
                 }
             }
         },
+        "response.FollowResp": {
+            "type": "object",
+            "properties": {
+                "followStatus": {
+                    "$ref": "#/definitions/constvar.BoolType"
+                }
+            }
+        },
         "util.Response": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0