正在显示
3 个修改的文件
包含
812 行增加
和
86 行删除
| @@ -43,6 +43,34 @@ | @@ -43,6 +43,34 @@ | ||
| 43 | ] | 43 | ] |
| 44 | } | 44 | } |
| 45 | }, | 45 | }, |
| 46 | + "v1/mini/article/mark/user_read": { | ||
| 47 | + "post": { | ||
| 48 | + "summary": "小程序标记当前人员查看的文章", | ||
| 49 | + "operationId": "MiniArticleMarkUserRead", | ||
| 50 | + "responses": { | ||
| 51 | + "200": { | ||
| 52 | + "description": "A successful response.", | ||
| 53 | + "schema": { | ||
| 54 | + "$ref": "#/definitions/MiniArticleMarkUserReadResponse" | ||
| 55 | + } | ||
| 56 | + } | ||
| 57 | + }, | ||
| 58 | + "parameters": [ | ||
| 59 | + { | ||
| 60 | + "name": "body", | ||
| 61 | + "in": "body", | ||
| 62 | + "required": true, | ||
| 63 | + "schema": { | ||
| 64 | + "$ref": "#/definitions/MiniArticleMarkUserReadRequest" | ||
| 65 | + } | ||
| 66 | + } | ||
| 67 | + ], | ||
| 68 | + "requestBody": {}, | ||
| 69 | + "tags": [ | ||
| 70 | + "article" | ||
| 71 | + ] | ||
| 72 | + } | ||
| 73 | + }, | ||
| 46 | "v1/mini/article/search/me": { | 74 | "v1/mini/article/search/me": { |
| 47 | "post": { | 75 | "post": { |
| 48 | "summary": "小程序获取我发布的文章", | 76 | "summary": "小程序获取我发布的文章", |
| @@ -153,6 +181,62 @@ | @@ -153,6 +181,62 @@ | ||
| 153 | ] | 181 | ] |
| 154 | } | 182 | } |
| 155 | }, | 183 | }, |
| 184 | + "v1/mini/article_backup/search": { | ||
| 185 | + "post": { | ||
| 186 | + "summary": "小程序获取文章的编辑记录", | ||
| 187 | + "operationId": "MiniArticleBackupSearch", | ||
| 188 | + "responses": { | ||
| 189 | + "200": { | ||
| 190 | + "description": "A successful response.", | ||
| 191 | + "schema": { | ||
| 192 | + "$ref": "#/definitions/MiniArticleBackupSearchResponse" | ||
| 193 | + } | ||
| 194 | + } | ||
| 195 | + }, | ||
| 196 | + "parameters": [ | ||
| 197 | + { | ||
| 198 | + "name": "body", | ||
| 199 | + "in": "body", | ||
| 200 | + "required": true, | ||
| 201 | + "schema": { | ||
| 202 | + "$ref": "#/definitions/MiniArticleBackupSearchRequest" | ||
| 203 | + } | ||
| 204 | + } | ||
| 205 | + ], | ||
| 206 | + "requestBody": {}, | ||
| 207 | + "tags": [ | ||
| 208 | + "article" | ||
| 209 | + ] | ||
| 210 | + } | ||
| 211 | + }, | ||
| 212 | + "v1/mini/article_draft": { | ||
| 213 | + "post": { | ||
| 214 | + "summary": "小程序创建文章进草稿箱", | ||
| 215 | + "operationId": "MiniCreateArticleDraft", | ||
| 216 | + "responses": { | ||
| 217 | + "200": { | ||
| 218 | + "description": "A successful response.", | ||
| 219 | + "schema": { | ||
| 220 | + "$ref": "#/definitions/MiniArticleSearchMeResponse" | ||
| 221 | + } | ||
| 222 | + } | ||
| 223 | + }, | ||
| 224 | + "parameters": [ | ||
| 225 | + { | ||
| 226 | + "name": "body", | ||
| 227 | + "in": "body", | ||
| 228 | + "required": true, | ||
| 229 | + "schema": { | ||
| 230 | + "$ref": "#/definitions/MiniArticleSearchMeRequest" | ||
| 231 | + } | ||
| 232 | + } | ||
| 233 | + ], | ||
| 234 | + "requestBody": {}, | ||
| 235 | + "tags": [ | ||
| 236 | + "article" | ||
| 237 | + ] | ||
| 238 | + } | ||
| 239 | + }, | ||
| 156 | "v1/mini/comment": { | 240 | "v1/mini/comment": { |
| 157 | "get": { | 241 | "get": { |
| 158 | "summary": "小程序评论", | 242 | "summary": "小程序评论", |
| @@ -557,6 +641,60 @@ | @@ -557,6 +641,60 @@ | ||
| 557 | ] | 641 | ] |
| 558 | } | 642 | } |
| 559 | }, | 643 | }, |
| 644 | + "v1/system/article/search": { | ||
| 645 | + "post": { | ||
| 646 | + "summary": "管理后台获取文章列表", | ||
| 647 | + "operationId": "SystemSearchArticle", | ||
| 648 | + "responses": { | ||
| 649 | + "200": { | ||
| 650 | + "description": "A successful response.", | ||
| 651 | + "schema": { | ||
| 652 | + "$ref": "#/definitions/SystemArticleSearchResponse" | ||
| 653 | + } | ||
| 654 | + } | ||
| 655 | + }, | ||
| 656 | + "parameters": [ | ||
| 657 | + { | ||
| 658 | + "name": "body", | ||
| 659 | + "in": "body", | ||
| 660 | + "required": true, | ||
| 661 | + "schema": { | ||
| 662 | + "$ref": "#/definitions/SystemArticleSearchRequest" | ||
| 663 | + } | ||
| 664 | + } | ||
| 665 | + ], | ||
| 666 | + "requestBody": {}, | ||
| 667 | + "tags": [ | ||
| 668 | + "article" | ||
| 669 | + ] | ||
| 670 | + } | ||
| 671 | + }, | ||
| 672 | + "v1/system/article/{id}": { | ||
| 673 | + "get": { | ||
| 674 | + "summary": "管理后台获取文章内容详情", | ||
| 675 | + "operationId": "SystemGetArticle", | ||
| 676 | + "responses": { | ||
| 677 | + "200": { | ||
| 678 | + "description": "A successful response.", | ||
| 679 | + "schema": { | ||
| 680 | + "$ref": "#/definitions/SystemArticleGetResponse" | ||
| 681 | + } | ||
| 682 | + } | ||
| 683 | + }, | ||
| 684 | + "parameters": [ | ||
| 685 | + { | ||
| 686 | + "name": "id", | ||
| 687 | + "in": "path", | ||
| 688 | + "required": true, | ||
| 689 | + "type": "string" | ||
| 690 | + } | ||
| 691 | + ], | ||
| 692 | + "requestBody": {}, | ||
| 693 | + "tags": [ | ||
| 694 | + "article" | ||
| 695 | + ] | ||
| 696 | + } | ||
| 697 | + }, | ||
| 560 | "v1/system/article_tag": { | 698 | "v1/system/article_tag": { |
| 561 | "post": { | 699 | "post": { |
| 562 | "summary": "后台创建文章标签", | 700 | "summary": "后台创建文章标签", |
| @@ -798,13 +936,13 @@ | @@ -798,13 +936,13 @@ | ||
| 798 | } | 936 | } |
| 799 | }, | 937 | }, |
| 800 | "v1/system/role/{id}": { | 938 | "v1/system/role/{id}": { |
| 801 | - "delete": { | ||
| 802 | - "operationId": "systemDeleteRole", | 939 | + "get": { |
| 940 | + "operationId": "systemGetRole", | ||
| 803 | "responses": { | 941 | "responses": { |
| 804 | "200": { | 942 | "200": { |
| 805 | "description": "A successful response.", | 943 | "description": "A successful response.", |
| 806 | "schema": { | 944 | "schema": { |
| 807 | - "$ref": "#/definitions/RoleDeleteResponse" | 945 | + "$ref": "#/definitions/RoleGetResponse" |
| 808 | } | 946 | } |
| 809 | } | 947 | } |
| 810 | }, | 948 | }, |
| @@ -814,14 +952,6 @@ | @@ -814,14 +952,6 @@ | ||
| 814 | "in": "path", | 952 | "in": "path", |
| 815 | "required": true, | 953 | "required": true, |
| 816 | "type": "string" | 954 | "type": "string" |
| 817 | - }, | ||
| 818 | - { | ||
| 819 | - "name": "body", | ||
| 820 | - "in": "body", | ||
| 821 | - "required": true, | ||
| 822 | - "schema": { | ||
| 823 | - "$ref": "#/definitions/RoleDeleteRequest" | ||
| 824 | - } | ||
| 825 | } | 955 | } |
| 826 | ], | 956 | ], |
| 827 | "requestBody": {}, | 957 | "requestBody": {}, |
| @@ -829,13 +959,13 @@ | @@ -829,13 +959,13 @@ | ||
| 829 | "role" | 959 | "role" |
| 830 | ] | 960 | ] |
| 831 | }, | 961 | }, |
| 832 | - "post": { | ||
| 833 | - "operationId": "systemGetRole", | 962 | + "delete": { |
| 963 | + "operationId": "systemDeleteRole", | ||
| 834 | "responses": { | 964 | "responses": { |
| 835 | "200": { | 965 | "200": { |
| 836 | "description": "A successful response.", | 966 | "description": "A successful response.", |
| 837 | "schema": { | 967 | "schema": { |
| 838 | - "$ref": "#/definitions/RoleGetResponse" | 968 | + "$ref": "#/definitions/RoleDeleteResponse" |
| 839 | } | 969 | } |
| 840 | } | 970 | } |
| 841 | }, | 971 | }, |
| @@ -851,7 +981,7 @@ | @@ -851,7 +981,7 @@ | ||
| 851 | "in": "body", | 981 | "in": "body", |
| 852 | "required": true, | 982 | "required": true, |
| 853 | "schema": { | 983 | "schema": { |
| 854 | - "$ref": "#/definitions/RoleGetRequest" | 984 | + "$ref": "#/definitions/RoleDeleteRequest" |
| 855 | } | 985 | } |
| 856 | } | 986 | } |
| 857 | ], | 987 | ], |
| @@ -891,6 +1021,34 @@ | @@ -891,6 +1021,34 @@ | ||
| 891 | "role" | 1021 | "role" |
| 892 | ] | 1022 | ] |
| 893 | } | 1023 | } |
| 1024 | + }, | ||
| 1025 | + "v1/user/mylike": { | ||
| 1026 | + "post": { | ||
| 1027 | + "summary": "我点赞的文章或评论", | ||
| 1028 | + "operationId": "miniMyLike", | ||
| 1029 | + "responses": { | ||
| 1030 | + "200": { | ||
| 1031 | + "description": "A successful response.", | ||
| 1032 | + "schema": { | ||
| 1033 | + "$ref": "#/definitions/MiniMyLikeResponse" | ||
| 1034 | + } | ||
| 1035 | + } | ||
| 1036 | + }, | ||
| 1037 | + "parameters": [ | ||
| 1038 | + { | ||
| 1039 | + "name": "body", | ||
| 1040 | + "in": "body", | ||
| 1041 | + "required": true, | ||
| 1042 | + "schema": { | ||
| 1043 | + "$ref": "#/definitions/MiniMyLikeRequest" | ||
| 1044 | + } | ||
| 1045 | + } | ||
| 1046 | + ], | ||
| 1047 | + "requestBody": {}, | ||
| 1048 | + "tags": [ | ||
| 1049 | + "user" | ||
| 1050 | + ] | ||
| 1051 | + } | ||
| 894 | } | 1052 | } |
| 895 | }, | 1053 | }, |
| 896 | "definitions": { | 1054 | "definitions": { |
| @@ -1304,7 +1462,7 @@ | @@ -1304,7 +1462,7 @@ | ||
| 1304 | "description": " 创建时间" | 1462 | "description": " 创建时间" |
| 1305 | }, | 1463 | }, |
| 1306 | "user": { | 1464 | "user": { |
| 1307 | - "$ref": "#/definitions/User", | 1465 | + "$ref": "#/definitions/SimpleUser", |
| 1308 | "description": " 操作人" | 1466 | "description": " 操作人" |
| 1309 | }, | 1467 | }, |
| 1310 | "article": { | 1468 | "article": { |
| @@ -1312,7 +1470,7 @@ | @@ -1312,7 +1470,7 @@ | ||
| 1312 | "description": " 文章" | 1470 | "description": " 文章" |
| 1313 | }, | 1471 | }, |
| 1314 | "comment": { | 1472 | "comment": { |
| 1315 | - "$ref": "#/definitions/Comment", | 1473 | + "$ref": "#/definitions/SimpleComment", |
| 1316 | "description": " 评论(不一定是自己,可能是被人@到)" | 1474 | "description": " 评论(不一定是自己,可能是被人@到)" |
| 1317 | } | 1475 | } |
| 1318 | }, | 1476 | }, |
| @@ -1452,6 +1610,91 @@ | @@ -1452,6 +1610,91 @@ | ||
| 1452 | "total" | 1610 | "total" |
| 1453 | ] | 1611 | ] |
| 1454 | }, | 1612 | }, |
| 1613 | + "MiniArticleBackupItem": { | ||
| 1614 | + "type": "object", | ||
| 1615 | + "properties": { | ||
| 1616 | + "id": { | ||
| 1617 | + "type": "integer", | ||
| 1618 | + "format": "int64" | ||
| 1619 | + }, | ||
| 1620 | + "title": { | ||
| 1621 | + "type": "string" | ||
| 1622 | + }, | ||
| 1623 | + "content": { | ||
| 1624 | + "type": "string" | ||
| 1625 | + }, | ||
| 1626 | + "images": { | ||
| 1627 | + "type": "array", | ||
| 1628 | + "items": { | ||
| 1629 | + "type": "string" | ||
| 1630 | + } | ||
| 1631 | + }, | ||
| 1632 | + "createdAt": { | ||
| 1633 | + "type": "integer", | ||
| 1634 | + "format": "int64" | ||
| 1635 | + }, | ||
| 1636 | + "location": { | ||
| 1637 | + "$ref": "#/definitions/Location" | ||
| 1638 | + } | ||
| 1639 | + }, | ||
| 1640 | + "title": "MiniArticleBackupItem", | ||
| 1641 | + "required": [ | ||
| 1642 | + "id", | ||
| 1643 | + "title", | ||
| 1644 | + "content", | ||
| 1645 | + "images", | ||
| 1646 | + "createdAt", | ||
| 1647 | + "location" | ||
| 1648 | + ] | ||
| 1649 | + }, | ||
| 1650 | + "MiniArticleBackupSearchRequest": { | ||
| 1651 | + "type": "object", | ||
| 1652 | + "properties": { | ||
| 1653 | + "page": { | ||
| 1654 | + "type": "integer", | ||
| 1655 | + "format": "int32" | ||
| 1656 | + }, | ||
| 1657 | + "size": { | ||
| 1658 | + "type": "integer", | ||
| 1659 | + "format": "int32" | ||
| 1660 | + }, | ||
| 1661 | + "articleId": { | ||
| 1662 | + "type": "integer", | ||
| 1663 | + "format": "int32" | ||
| 1664 | + }, | ||
| 1665 | + "": { | ||
| 1666 | + "type": "integer", | ||
| 1667 | + "format": "int64", | ||
| 1668 | + "description": " 服务端自动获取" | ||
| 1669 | + } | ||
| 1670 | + }, | ||
| 1671 | + "title": "MiniArticleBackupSearchRequest", | ||
| 1672 | + "required": [ | ||
| 1673 | + "page", | ||
| 1674 | + "size", | ||
| 1675 | + "articleId" | ||
| 1676 | + ] | ||
| 1677 | + }, | ||
| 1678 | + "MiniArticleBackupSearchResponse": { | ||
| 1679 | + "type": "object", | ||
| 1680 | + "properties": { | ||
| 1681 | + "total": { | ||
| 1682 | + "type": "integer", | ||
| 1683 | + "format": "int64" | ||
| 1684 | + }, | ||
| 1685 | + "list": { | ||
| 1686 | + "type": "array", | ||
| 1687 | + "items": { | ||
| 1688 | + "$ref": "#/definitions/MiniArticleBackupItem" | ||
| 1689 | + } | ||
| 1690 | + } | ||
| 1691 | + }, | ||
| 1692 | + "title": "MiniArticleBackupSearchResponse", | ||
| 1693 | + "required": [ | ||
| 1694 | + "total", | ||
| 1695 | + "list" | ||
| 1696 | + ] | ||
| 1697 | + }, | ||
| 1455 | "MiniArticleCreateRequest": { | 1698 | "MiniArticleCreateRequest": { |
| 1456 | "type": "object", | 1699 | "type": "object", |
| 1457 | "properties": { | 1700 | "properties": { |
| @@ -1518,30 +1761,68 @@ | @@ -1518,30 +1761,68 @@ | ||
| 1518 | "id" | 1761 | "id" |
| 1519 | ] | 1762 | ] |
| 1520 | }, | 1763 | }, |
| 1521 | - "MiniArticleGetRequest": { | 1764 | + "MiniArticleDraftCreateRequest": { |
| 1522 | "type": "object", | 1765 | "type": "object", |
| 1523 | "properties": { | 1766 | "properties": { |
| 1524 | - "id": { | 1767 | + "template": { |
| 1525 | "type": "integer", | 1768 | "type": "integer", |
| 1526 | - "format": "int64", | ||
| 1527 | - "description": "id" | 1769 | + "format": "int32", |
| 1770 | + "description": " 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式" | ||
| 1528 | }, | 1771 | }, |
| 1529 | - "companyId": { | ||
| 1530 | - "type": "integer", | ||
| 1531 | - "format": "int64" | ||
| 1532 | - } | 1772 | + "content": { |
| 1773 | + "type": "array", | ||
| 1774 | + "items": { | ||
| 1775 | + "type": "string" | ||
| 1533 | }, | 1776 | }, |
| 1534 | - "title": "MiniArticleGetRequest", | ||
| 1535 | - "required": [ | ||
| 1536 | - "id", | ||
| 1537 | - "-" | ||
| 1538 | - ] | 1777 | + "description": " 填写的内容" |
| 1539 | }, | 1778 | }, |
| 1540 | - "MiniArticleGetResponse": { | ||
| 1541 | - "type": "object", | ||
| 1542 | - "properties": { | ||
| 1543 | - "id": { | ||
| 1544 | - "type": "integer", | 1779 | + "title": { |
| 1780 | + "type": "string", | ||
| 1781 | + "description": "标题" | ||
| 1782 | + }, | ||
| 1783 | + "images": { | ||
| 1784 | + "type": "array", | ||
| 1785 | + "items": { | ||
| 1786 | + "type": "string" | ||
| 1787 | + }, | ||
| 1788 | + "description": "图片" | ||
| 1789 | + } | ||
| 1790 | + }, | ||
| 1791 | + "title": "MiniArticleDraftCreateRequest", | ||
| 1792 | + "required": [ | ||
| 1793 | + "template", | ||
| 1794 | + "content", | ||
| 1795 | + "title", | ||
| 1796 | + "images" | ||
| 1797 | + ] | ||
| 1798 | + }, | ||
| 1799 | + "MiniArticleDraftCreateResponse": { | ||
| 1800 | + "type": "object", | ||
| 1801 | + "title": "MiniArticleDraftCreateResponse" | ||
| 1802 | + }, | ||
| 1803 | + "MiniArticleGetRequest": { | ||
| 1804 | + "type": "object", | ||
| 1805 | + "properties": { | ||
| 1806 | + "id": { | ||
| 1807 | + "type": "integer", | ||
| 1808 | + "format": "int64", | ||
| 1809 | + "description": "id" | ||
| 1810 | + }, | ||
| 1811 | + "": { | ||
| 1812 | + "type": "integer", | ||
| 1813 | + "format": "int64" | ||
| 1814 | + } | ||
| 1815 | + }, | ||
| 1816 | + "title": "MiniArticleGetRequest", | ||
| 1817 | + "required": [ | ||
| 1818 | + "id" | ||
| 1819 | + ] | ||
| 1820 | + }, | ||
| 1821 | + "MiniArticleGetResponse": { | ||
| 1822 | + "type": "object", | ||
| 1823 | + "properties": { | ||
| 1824 | + "id": { | ||
| 1825 | + "type": "integer", | ||
| 1545 | "format": "int64", | 1826 | "format": "int64", |
| 1546 | "description": "id" | 1827 | "description": "id" |
| 1547 | }, | 1828 | }, |
| @@ -1616,6 +1897,11 @@ | @@ -1616,6 +1897,11 @@ | ||
| 1616 | "type": "integer", | 1897 | "type": "integer", |
| 1617 | "format": "int32", | 1898 | "format": "int32", |
| 1618 | "description": " 评论的展示状态(0显示、1不显示)" | 1899 | "description": " 评论的展示状态(0显示、1不显示)" |
| 1900 | + }, | ||
| 1901 | + "edit": { | ||
| 1902 | + "type": "integer", | ||
| 1903 | + "format": "int32", | ||
| 1904 | + "description": " 文章是否存在变更记录 (0 不存在 1存在)" | ||
| 1619 | } | 1905 | } |
| 1620 | }, | 1906 | }, |
| 1621 | "title": "MiniArticleGetResponse", | 1907 | "title": "MiniArticleGetResponse", |
| @@ -1633,17 +1919,55 @@ | @@ -1633,17 +1919,55 @@ | ||
| 1633 | "countLove", | 1919 | "countLove", |
| 1634 | "countComment", | 1920 | "countComment", |
| 1635 | "countRead", | 1921 | "countRead", |
| 1636 | - "show" | 1922 | + "show", |
| 1923 | + "edit" | ||
| 1924 | + ] | ||
| 1925 | + }, | ||
| 1926 | + "MiniArticleMarkUserReadRequest": { | ||
| 1927 | + "type": "object", | ||
| 1928 | + "properties": { | ||
| 1929 | + "": { | ||
| 1930 | + "type": "integer", | ||
| 1931 | + "format": "int64", | ||
| 1932 | + "description": " 当前操作人" | ||
| 1933 | + }, | ||
| 1934 | + "": { | ||
| 1935 | + "type": "integer", | ||
| 1936 | + "format": "int64", | ||
| 1937 | + "description": " 当前公司" | ||
| 1938 | + }, | ||
| 1939 | + "articleId": { | ||
| 1940 | + "type": "integer", | ||
| 1941 | + "format": "int64", | ||
| 1942 | + "description": " 文章id" | ||
| 1943 | + } | ||
| 1944 | + }, | ||
| 1945 | + "title": "MiniArticleMarkUserReadRequest", | ||
| 1946 | + "required": [ | ||
| 1947 | + "articleId" | ||
| 1948 | + ] | ||
| 1949 | + }, | ||
| 1950 | + "MiniArticleMarkUserReadResponse": { | ||
| 1951 | + "type": "object", | ||
| 1952 | + "properties": { | ||
| 1953 | + "id": { | ||
| 1954 | + "type": "integer", | ||
| 1955 | + "format": "int64" | ||
| 1956 | + } | ||
| 1957 | + }, | ||
| 1958 | + "title": "MiniArticleMarkUserReadResponse", | ||
| 1959 | + "required": [ | ||
| 1960 | + "id" | ||
| 1637 | ] | 1961 | ] |
| 1638 | }, | 1962 | }, |
| 1639 | "MiniArticleSearchMeRequest": { | 1963 | "MiniArticleSearchMeRequest": { |
| 1640 | "type": "object", | 1964 | "type": "object", |
| 1641 | "properties": { | 1965 | "properties": { |
| 1642 | - "authorId": { | 1966 | + "": { |
| 1643 | "type": "integer", | 1967 | "type": "integer", |
| 1644 | "format": "int64" | 1968 | "format": "int64" |
| 1645 | }, | 1969 | }, |
| 1646 | - "companyId": { | 1970 | + "": { |
| 1647 | "type": "integer", | 1971 | "type": "integer", |
| 1648 | "format": "int64" | 1972 | "format": "int64" |
| 1649 | }, | 1973 | }, |
| @@ -1658,7 +1982,6 @@ | @@ -1658,7 +1982,6 @@ | ||
| 1658 | }, | 1982 | }, |
| 1659 | "title": "MiniArticleSearchMeRequest", | 1983 | "title": "MiniArticleSearchMeRequest", |
| 1660 | "required": [ | 1984 | "required": [ |
| 1661 | - "-", | ||
| 1662 | "page", | 1985 | "page", |
| 1663 | "size" | 1986 | "size" |
| 1664 | ] | 1987 | ] |
| @@ -1683,6 +2006,44 @@ | @@ -1683,6 +2006,44 @@ | ||
| 1683 | "list" | 2006 | "list" |
| 1684 | ] | 2007 | ] |
| 1685 | }, | 2008 | }, |
| 2009 | + "MiniMyLikeRequest": { | ||
| 2010 | + "type": "object", | ||
| 2011 | + "properties": { | ||
| 2012 | + "page": { | ||
| 2013 | + "type": "integer", | ||
| 2014 | + "format": "int32" | ||
| 2015 | + }, | ||
| 2016 | + "size": { | ||
| 2017 | + "type": "integer", | ||
| 2018 | + "format": "int32" | ||
| 2019 | + } | ||
| 2020 | + }, | ||
| 2021 | + "title": "MiniMyLikeRequest", | ||
| 2022 | + "required": [ | ||
| 2023 | + "page", | ||
| 2024 | + "size" | ||
| 2025 | + ] | ||
| 2026 | + }, | ||
| 2027 | + "MiniMyLikeResponse": { | ||
| 2028 | + "type": "object", | ||
| 2029 | + "properties": { | ||
| 2030 | + "list": { | ||
| 2031 | + "type": "array", | ||
| 2032 | + "items": { | ||
| 2033 | + "$ref": "#/definitions/MyLikeItem" | ||
| 2034 | + } | ||
| 2035 | + }, | ||
| 2036 | + "total": { | ||
| 2037 | + "type": "integer", | ||
| 2038 | + "format": "int64" | ||
| 2039 | + } | ||
| 2040 | + }, | ||
| 2041 | + "title": "MiniMyLikeResponse", | ||
| 2042 | + "required": [ | ||
| 2043 | + "list", | ||
| 2044 | + "total" | ||
| 2045 | + ] | ||
| 2046 | + }, | ||
| 1686 | "MiniSetUserLikeRequset": { | 2047 | "MiniSetUserLikeRequset": { |
| 1687 | "type": "object", | 2048 | "type": "object", |
| 1688 | "properties": { | 2049 | "properties": { |
| @@ -1696,7 +2057,7 @@ | @@ -1696,7 +2057,7 @@ | ||
| 1696 | "format": "int64", | 2057 | "format": "int64", |
| 1697 | "description": "评论id" | 2058 | "description": "评论id" |
| 1698 | }, | 2059 | }, |
| 1699 | - "userId": { | 2060 | + "": { |
| 1700 | "type": "integer", | 2061 | "type": "integer", |
| 1701 | "format": "int64", | 2062 | "format": "int64", |
| 1702 | "description": "操作人" | 2063 | "description": "操作人" |
| @@ -1711,7 +2072,6 @@ | @@ -1711,7 +2072,6 @@ | ||
| 1711 | "required": [ | 2072 | "required": [ |
| 1712 | "articleId", | 2073 | "articleId", |
| 1713 | "commentId", | 2074 | "commentId", |
| 1714 | - "-", | ||
| 1715 | "flag" | 2075 | "flag" |
| 1716 | ] | 2076 | ] |
| 1717 | }, | 2077 | }, |
| @@ -1873,6 +2233,13 @@ | @@ -1873,6 +2233,13 @@ | ||
| 1873 | "$ref": "#/definitions/Account" | 2233 | "$ref": "#/definitions/Account" |
| 1874 | }, | 2234 | }, |
| 1875 | "description": " 公司账号" | 2235 | "description": " 公司账号" |
| 2236 | + }, | ||
| 2237 | + "auths": { | ||
| 2238 | + "type": "array", | ||
| 2239 | + "items": { | ||
| 2240 | + "$ref": "#/definitions/Auth" | ||
| 2241 | + }, | ||
| 2242 | + "description": " 权限列表" | ||
| 1876 | } | 2243 | } |
| 1877 | }, | 2244 | }, |
| 1878 | "title": "MiniUserInfoResponse", | 2245 | "title": "MiniUserInfoResponse", |
| @@ -1881,7 +2248,8 @@ | @@ -1881,7 +2248,8 @@ | ||
| 1881 | "totalArticle", | 2248 | "totalArticle", |
| 1882 | "totalLoved", | 2249 | "totalLoved", |
| 1883 | "totalAccepted", | 2250 | "totalAccepted", |
| 1884 | - "accounts" | 2251 | + "accounts", |
| 2252 | + "auths" | ||
| 1885 | ] | 2253 | ] |
| 1886 | }, | 2254 | }, |
| 1887 | "MiniUserLikeArticleRequest": { | 2255 | "MiniUserLikeArticleRequest": { |
| @@ -1892,7 +2260,7 @@ | @@ -1892,7 +2260,7 @@ | ||
| 1892 | "format": "int64", | 2260 | "format": "int64", |
| 1893 | "description": " 文章id" | 2261 | "description": " 文章id" |
| 1894 | }, | 2262 | }, |
| 1895 | - "companyId": { | 2263 | + "": { |
| 1896 | "type": "integer", | 2264 | "type": "integer", |
| 1897 | "format": "int64", | 2265 | "format": "int64", |
| 1898 | "description": "公司id" | 2266 | "description": "公司id" |
| @@ -1911,7 +2279,6 @@ | @@ -1911,7 +2279,6 @@ | ||
| 1911 | "title": "MiniUserLikeArticleRequest", | 2279 | "title": "MiniUserLikeArticleRequest", |
| 1912 | "required": [ | 2280 | "required": [ |
| 1913 | "articleId", | 2281 | "articleId", |
| 1914 | - "-", | ||
| 1915 | "page", | 2282 | "page", |
| 1916 | "size" | 2283 | "size" |
| 1917 | ] | 2284 | ] |
| @@ -2017,6 +2384,53 @@ | @@ -2017,6 +2384,53 @@ | ||
| 2017 | "companyId" | 2384 | "companyId" |
| 2018 | ] | 2385 | ] |
| 2019 | }, | 2386 | }, |
| 2387 | + "MyLikeItem": { | ||
| 2388 | + "type": "object", | ||
| 2389 | + "properties": { | ||
| 2390 | + "userId": { | ||
| 2391 | + "type": "integer", | ||
| 2392 | + "format": "int64", | ||
| 2393 | + "description": " 发布人id" | ||
| 2394 | + }, | ||
| 2395 | + "articleId": { | ||
| 2396 | + "type": "integer", | ||
| 2397 | + "format": "int64", | ||
| 2398 | + "description": " 文章id" | ||
| 2399 | + }, | ||
| 2400 | + "commentId": { | ||
| 2401 | + "type": "integer", | ||
| 2402 | + "format": "int64", | ||
| 2403 | + "description": " 评论id" | ||
| 2404 | + }, | ||
| 2405 | + "createdAt": { | ||
| 2406 | + "type": "integer", | ||
| 2407 | + "format": "int64", | ||
| 2408 | + "description": " 创建时间" | ||
| 2409 | + }, | ||
| 2410 | + "user": { | ||
| 2411 | + "$ref": "#/definitions/SimpleUser", | ||
| 2412 | + "description": " 发布人" | ||
| 2413 | + }, | ||
| 2414 | + "article": { | ||
| 2415 | + "$ref": "#/definitions/SimpleArticle", | ||
| 2416 | + "description": " 文章" | ||
| 2417 | + }, | ||
| 2418 | + "comment": { | ||
| 2419 | + "$ref": "#/definitions/SimpleComment", | ||
| 2420 | + "description": " 评论" | ||
| 2421 | + } | ||
| 2422 | + }, | ||
| 2423 | + "title": "MyLikeItem", | ||
| 2424 | + "required": [ | ||
| 2425 | + "userId", | ||
| 2426 | + "articleId", | ||
| 2427 | + "commentId", | ||
| 2428 | + "createdAt", | ||
| 2429 | + "user", | ||
| 2430 | + "article", | ||
| 2431 | + "comment" | ||
| 2432 | + ] | ||
| 2433 | + }, | ||
| 2020 | "RoleDeleteRequest": { | 2434 | "RoleDeleteRequest": { |
| 2021 | "type": "object", | 2435 | "type": "object", |
| 2022 | "properties": { | 2436 | "properties": { |
| @@ -2118,11 +2532,13 @@ | @@ -2118,11 +2532,13 @@ | ||
| 2118 | }, | 2532 | }, |
| 2119 | "title": "RoleItem", | 2533 | "title": "RoleItem", |
| 2120 | "required": [ | 2534 | "required": [ |
| 2535 | + "companyId", | ||
| 2121 | "name", | 2536 | "name", |
| 2122 | "authIds", | 2537 | "authIds", |
| 2123 | "authsDesc", | 2538 | "authsDesc", |
| 2124 | "usersDesc", | 2539 | "usersDesc", |
| 2125 | "remark", | 2540 | "remark", |
| 2541 | + "users", | ||
| 2126 | "updatedAt" | 2542 | "updatedAt" |
| 2127 | ] | 2543 | ] |
| 2128 | }, | 2544 | }, |
| @@ -2232,6 +2648,10 @@ | @@ -2232,6 +2648,10 @@ | ||
| 2232 | "type": "string", | 2648 | "type": "string", |
| 2233 | "description": " 文章标题" | 2649 | "description": " 文章标题" |
| 2234 | }, | 2650 | }, |
| 2651 | + "summary": { | ||
| 2652 | + "type": "string", | ||
| 2653 | + "description": " 文章概要" | ||
| 2654 | + }, | ||
| 2235 | "countLove": { | 2655 | "countLove": { |
| 2236 | "type": "integer", | 2656 | "type": "integer", |
| 2237 | "format": "int32", | 2657 | "format": "int32", |
| @@ -2241,14 +2661,341 @@ | @@ -2241,14 +2661,341 @@ | ||
| 2241 | "type": "integer", | 2661 | "type": "integer", |
| 2242 | "format": "int32", | 2662 | "format": "int32", |
| 2243 | "description": " 评论数量" | 2663 | "description": " 评论数量" |
| 2664 | + }, | ||
| 2665 | + "show": { | ||
| 2666 | + "type": "integer", | ||
| 2667 | + "format": "int32", | ||
| 2668 | + "description": " 文章的展示状态(0显示、1不显示)" | ||
| 2244 | } | 2669 | } |
| 2245 | }, | 2670 | }, |
| 2246 | "title": "SimpleArticle", | 2671 | "title": "SimpleArticle", |
| 2247 | "required": [ | 2672 | "required": [ |
| 2248 | "id", | 2673 | "id", |
| 2249 | "title", | 2674 | "title", |
| 2675 | + "summary", | ||
| 2676 | + "countLove", | ||
| 2677 | + "countComment", | ||
| 2678 | + "show" | ||
| 2679 | + ] | ||
| 2680 | + }, | ||
| 2681 | + "SimpleComment": { | ||
| 2682 | + "type": "object", | ||
| 2683 | + "properties": { | ||
| 2684 | + "id": { | ||
| 2685 | + "type": "integer", | ||
| 2686 | + "format": "int64" | ||
| 2687 | + }, | ||
| 2688 | + "content": { | ||
| 2689 | + "type": "string", | ||
| 2690 | + "description": " 评论内容" | ||
| 2691 | + }, | ||
| 2692 | + "countLove": { | ||
| 2693 | + "type": "integer", | ||
| 2694 | + "format": "int32", | ||
| 2695 | + "description": " 点赞数量" | ||
| 2696 | + }, | ||
| 2697 | + "countComment": { | ||
| 2698 | + "type": "integer", | ||
| 2699 | + "format": "int32", | ||
| 2700 | + "description": " 评论数量" | ||
| 2701 | + }, | ||
| 2702 | + "show": { | ||
| 2703 | + "type": "integer", | ||
| 2704 | + "format": "int32", | ||
| 2705 | + "description": " 评论的展示状态(0显示、1不显示)" | ||
| 2706 | + } | ||
| 2707 | + }, | ||
| 2708 | + "title": "SimpleComment", | ||
| 2709 | + "required": [ | ||
| 2710 | + "id", | ||
| 2711 | + "content", | ||
| 2712 | + "countLove", | ||
| 2713 | + "countComment", | ||
| 2714 | + "show" | ||
| 2715 | + ] | ||
| 2716 | + }, | ||
| 2717 | + "SimpleUser": { | ||
| 2718 | + "type": "object", | ||
| 2719 | + "properties": { | ||
| 2720 | + "id": { | ||
| 2721 | + "type": "integer", | ||
| 2722 | + "format": "int64" | ||
| 2723 | + }, | ||
| 2724 | + "companyId": { | ||
| 2725 | + "type": "integer", | ||
| 2726 | + "format": "int64", | ||
| 2727 | + "description": " 公司ID" | ||
| 2728 | + }, | ||
| 2729 | + "companyName": { | ||
| 2730 | + "type": "string", | ||
| 2731 | + "description": " 公司名称" | ||
| 2732 | + }, | ||
| 2733 | + "name": { | ||
| 2734 | + "type": "string", | ||
| 2735 | + "description": " 名称" | ||
| 2736 | + }, | ||
| 2737 | + "avatar": { | ||
| 2738 | + "type": "string", | ||
| 2739 | + "description": " 头像" | ||
| 2740 | + }, | ||
| 2741 | + "position": { | ||
| 2742 | + "type": "string", | ||
| 2743 | + "description": " 职位" | ||
| 2744 | + } | ||
| 2745 | + }, | ||
| 2746 | + "title": "SimpleUser", | ||
| 2747 | + "required": [ | ||
| 2748 | + "id", | ||
| 2749 | + "companyId", | ||
| 2750 | + "companyName", | ||
| 2751 | + "name", | ||
| 2752 | + "avatar", | ||
| 2753 | + "position" | ||
| 2754 | + ] | ||
| 2755 | + }, | ||
| 2756 | + "SystemArticleGetRequest": { | ||
| 2757 | + "type": "object", | ||
| 2758 | + "properties": { | ||
| 2759 | + "id": { | ||
| 2760 | + "type": "integer", | ||
| 2761 | + "format": "int64", | ||
| 2762 | + "description": "id" | ||
| 2763 | + }, | ||
| 2764 | + "": { | ||
| 2765 | + "type": "integer", | ||
| 2766 | + "format": "int64" | ||
| 2767 | + } | ||
| 2768 | + }, | ||
| 2769 | + "title": "SystemArticleGetRequest", | ||
| 2770 | + "required": [ | ||
| 2771 | + "id" | ||
| 2772 | + ] | ||
| 2773 | + }, | ||
| 2774 | + "SystemArticleGetResponse": { | ||
| 2775 | + "type": "object", | ||
| 2776 | + "properties": { | ||
| 2777 | + "id": { | ||
| 2778 | + "type": "integer", | ||
| 2779 | + "format": "int64", | ||
| 2780 | + "description": " id" | ||
| 2781 | + }, | ||
| 2782 | + "title": { | ||
| 2783 | + "type": "string", | ||
| 2784 | + "description": " 标题" | ||
| 2785 | + }, | ||
| 2786 | + "authorId": { | ||
| 2787 | + "type": "integer", | ||
| 2788 | + "format": "int64", | ||
| 2789 | + "description": " 发布人id" | ||
| 2790 | + }, | ||
| 2791 | + "author": { | ||
| 2792 | + "$ref": "#/definitions/Author", | ||
| 2793 | + "description": " 发布人" | ||
| 2794 | + }, | ||
| 2795 | + "createdAt": { | ||
| 2796 | + "type": "integer", | ||
| 2797 | + "format": "int64", | ||
| 2798 | + "description": " 文章的发布时间" | ||
| 2799 | + }, | ||
| 2800 | + "section": { | ||
| 2801 | + "type": "array", | ||
| 2802 | + "items": { | ||
| 2803 | + "$ref": "#/definitions/ArticleSection" | ||
| 2804 | + }, | ||
| 2805 | + "description": " 文章的文本内容" | ||
| 2806 | + }, | ||
| 2807 | + "images": { | ||
| 2808 | + "type": "array", | ||
| 2809 | + "items": { | ||
| 2810 | + "type": "string" | ||
| 2811 | + }, | ||
| 2812 | + "description": " 图片" | ||
| 2813 | + }, | ||
| 2814 | + "whoRead": { | ||
| 2815 | + "type": "array", | ||
| 2816 | + "items": { | ||
| 2817 | + "type": "integer", | ||
| 2818 | + "format": "int64" | ||
| 2819 | + }, | ||
| 2820 | + "description": " 谁可查看" | ||
| 2821 | + }, | ||
| 2822 | + "whoReadInfo": { | ||
| 2823 | + "type": "array", | ||
| 2824 | + "items": { | ||
| 2825 | + "$ref": "#/definitions/UserShowName" | ||
| 2826 | + }, | ||
| 2827 | + "description": " 谁可查看" | ||
| 2828 | + }, | ||
| 2829 | + "whoReview": { | ||
| 2830 | + "type": "array", | ||
| 2831 | + "items": { | ||
| 2832 | + "type": "integer", | ||
| 2833 | + "format": "int64" | ||
| 2834 | + }, | ||
| 2835 | + "description": " 谁可评论" | ||
| 2836 | + }, | ||
| 2837 | + "whoReviewInfo": { | ||
| 2838 | + "type": "array", | ||
| 2839 | + "items": { | ||
| 2840 | + "$ref": "#/definitions/UserShowName" | ||
| 2841 | + }, | ||
| 2842 | + "description": " 谁可评论" | ||
| 2843 | + }, | ||
| 2844 | + "location": { | ||
| 2845 | + "$ref": "#/definitions/Location", | ||
| 2846 | + "description": " 定位坐标" | ||
| 2847 | + }, | ||
| 2848 | + "countLove": { | ||
| 2849 | + "type": "integer", | ||
| 2850 | + "format": "int32", | ||
| 2851 | + "description": " 点赞数量" | ||
| 2852 | + }, | ||
| 2853 | + "countComment": { | ||
| 2854 | + "type": "integer", | ||
| 2855 | + "format": "int32", | ||
| 2856 | + "description": " 评论数量" | ||
| 2857 | + }, | ||
| 2858 | + "countRead": { | ||
| 2859 | + "type": "integer", | ||
| 2860 | + "format": "int32", | ||
| 2861 | + "description": " 浏览数量" | ||
| 2862 | + }, | ||
| 2863 | + "show": { | ||
| 2864 | + "type": "integer", | ||
| 2865 | + "format": "int32", | ||
| 2866 | + "description": " 评论的展示状态(0显示、1不显示)" | ||
| 2867 | + } | ||
| 2868 | + }, | ||
| 2869 | + "title": "SystemArticleGetResponse", | ||
| 2870 | + "required": [ | ||
| 2871 | + "id", | ||
| 2872 | + "title", | ||
| 2873 | + "authorId", | ||
| 2874 | + "author", | ||
| 2875 | + "createdAt", | ||
| 2876 | + "section", | ||
| 2877 | + "images", | ||
| 2878 | + "whoRead", | ||
| 2879 | + "whoReadInfo", | ||
| 2880 | + "whoReview", | ||
| 2881 | + "whoReviewInfo", | ||
| 2882 | + "location", | ||
| 2250 | "countLove", | 2883 | "countLove", |
| 2251 | - "countComment" | 2884 | + "countComment", |
| 2885 | + "countRead", | ||
| 2886 | + "show" | ||
| 2887 | + ] | ||
| 2888 | + }, | ||
| 2889 | + "SystemArticleSearch": { | ||
| 2890 | + "type": "object", | ||
| 2891 | + "properties": { | ||
| 2892 | + "id": { | ||
| 2893 | + "type": "integer", | ||
| 2894 | + "format": "int64", | ||
| 2895 | + "description": "id" | ||
| 2896 | + }, | ||
| 2897 | + "title": { | ||
| 2898 | + "type": "string", | ||
| 2899 | + "description": "标题" | ||
| 2900 | + }, | ||
| 2901 | + "author": { | ||
| 2902 | + "type": "string", | ||
| 2903 | + "description": "发布人" | ||
| 2904 | + }, | ||
| 2905 | + "images": { | ||
| 2906 | + "type": "array", | ||
| 2907 | + "items": { | ||
| 2908 | + "type": "string" | ||
| 2909 | + }, | ||
| 2910 | + "description": "图片" | ||
| 2911 | + }, | ||
| 2912 | + "createdAt": { | ||
| 2913 | + "type": "integer", | ||
| 2914 | + "format": "int64", | ||
| 2915 | + "description": "文章的创建日期" | ||
| 2916 | + }, | ||
| 2917 | + "countLove": { | ||
| 2918 | + "type": "integer", | ||
| 2919 | + "format": "int32", | ||
| 2920 | + "description": "点赞数量" | ||
| 2921 | + }, | ||
| 2922 | + "CountComment": { | ||
| 2923 | + "type": "integer", | ||
| 2924 | + "format": "int32", | ||
| 2925 | + "description": "评论数量" | ||
| 2926 | + }, | ||
| 2927 | + "show": { | ||
| 2928 | + "type": "integer", | ||
| 2929 | + "format": "int32", | ||
| 2930 | + "description": "是否隐藏 [0显示、1不显示]" | ||
| 2931 | + }, | ||
| 2932 | + "tags": { | ||
| 2933 | + "type": "array", | ||
| 2934 | + "items": { | ||
| 2935 | + "type": "string" | ||
| 2936 | + }, | ||
| 2937 | + "description": "标签" | ||
| 2938 | + }, | ||
| 2939 | + "targetUser": { | ||
| 2940 | + "type": "integer", | ||
| 2941 | + "format": "int32", | ||
| 2942 | + "description": "分发方式 [0分发给所有人、1分发给指定的人]" | ||
| 2943 | + } | ||
| 2944 | + }, | ||
| 2945 | + "title": "SystemArticleSearch", | ||
| 2946 | + "required": [ | ||
| 2947 | + "id", | ||
| 2948 | + "title", | ||
| 2949 | + "author", | ||
| 2950 | + "images", | ||
| 2951 | + "createdAt", | ||
| 2952 | + "countLove", | ||
| 2953 | + "CountComment", | ||
| 2954 | + "show", | ||
| 2955 | + "tags", | ||
| 2956 | + "targetUser" | ||
| 2957 | + ] | ||
| 2958 | + }, | ||
| 2959 | + "SystemArticleSearchRequest": { | ||
| 2960 | + "type": "object", | ||
| 2961 | + "properties": { | ||
| 2962 | + "": { | ||
| 2963 | + "type": "integer", | ||
| 2964 | + "format": "int64" | ||
| 2965 | + }, | ||
| 2966 | + "page": { | ||
| 2967 | + "type": "integer", | ||
| 2968 | + "format": "int32" | ||
| 2969 | + }, | ||
| 2970 | + "size": { | ||
| 2971 | + "type": "integer", | ||
| 2972 | + "format": "int32" | ||
| 2973 | + } | ||
| 2974 | + }, | ||
| 2975 | + "title": "SystemArticleSearchRequest", | ||
| 2976 | + "required": [ | ||
| 2977 | + "page", | ||
| 2978 | + "size" | ||
| 2979 | + ] | ||
| 2980 | + }, | ||
| 2981 | + "SystemArticleSearchResponse": { | ||
| 2982 | + "type": "object", | ||
| 2983 | + "properties": { | ||
| 2984 | + "total": { | ||
| 2985 | + "type": "integer", | ||
| 2986 | + "format": "int32" | ||
| 2987 | + }, | ||
| 2988 | + "list": { | ||
| 2989 | + "type": "array", | ||
| 2990 | + "items": { | ||
| 2991 | + "$ref": "#/definitions/SystemArticleSearch" | ||
| 2992 | + } | ||
| 2993 | + } | ||
| 2994 | + }, | ||
| 2995 | + "title": "SystemArticleSearchResponse", | ||
| 2996 | + "required": [ | ||
| 2997 | + "total", | ||
| 2998 | + "list" | ||
| 2252 | ] | 2999 | ] |
| 2253 | }, | 3000 | }, |
| 2254 | "TagCreateRequest": { | 3001 | "TagCreateRequest": { |
| @@ -2514,45 +3261,6 @@ | @@ -2514,45 +3261,6 @@ | ||
| 2514 | "list" | 3261 | "list" |
| 2515 | ] | 3262 | ] |
| 2516 | }, | 3263 | }, |
| 2517 | - "User": { | ||
| 2518 | - "type": "object", | ||
| 2519 | - "properties": { | ||
| 2520 | - "id": { | ||
| 2521 | - "type": "integer", | ||
| 2522 | - "format": "int64" | ||
| 2523 | - }, | ||
| 2524 | - "companyId": { | ||
| 2525 | - "type": "integer", | ||
| 2526 | - "format": "int64", | ||
| 2527 | - "description": " 公司ID" | ||
| 2528 | - }, | ||
| 2529 | - "companyName": { | ||
| 2530 | - "type": "string", | ||
| 2531 | - "description": " 公司名称" | ||
| 2532 | - }, | ||
| 2533 | - "name": { | ||
| 2534 | - "type": "string", | ||
| 2535 | - "description": " 名称" | ||
| 2536 | - }, | ||
| 2537 | - "avatar": { | ||
| 2538 | - "type": "string", | ||
| 2539 | - "description": " 头像" | ||
| 2540 | - }, | ||
| 2541 | - "position": { | ||
| 2542 | - "type": "string", | ||
| 2543 | - "description": " 职位" | ||
| 2544 | - } | ||
| 2545 | - }, | ||
| 2546 | - "title": "User", | ||
| 2547 | - "required": [ | ||
| 2548 | - "id", | ||
| 2549 | - "companyId", | ||
| 2550 | - "companyName", | ||
| 2551 | - "name", | ||
| 2552 | - "avatar", | ||
| 2553 | - "position" | ||
| 2554 | - ] | ||
| 2555 | - }, | ||
| 2556 | "UserFollowItem": { | 3264 | "UserFollowItem": { |
| 2557 | "type": "object", | 3265 | "type": "object", |
| 2558 | "properties": { | 3266 | "properties": { |
| @@ -2731,6 +3439,24 @@ | @@ -2731,6 +3439,24 @@ | ||
| 2731 | "total" | 3439 | "total" |
| 2732 | ] | 3440 | ] |
| 2733 | }, | 3441 | }, |
| 3442 | + "UserShowName": { | ||
| 3443 | + "type": "object", | ||
| 3444 | + "properties": { | ||
| 3445 | + "id": { | ||
| 3446 | + "type": "integer", | ||
| 3447 | + "format": "int32" | ||
| 3448 | + }, | ||
| 3449 | + "name": { | ||
| 3450 | + "type": "integer", | ||
| 3451 | + "format": "int32" | ||
| 3452 | + } | ||
| 3453 | + }, | ||
| 3454 | + "title": "UserShowName", | ||
| 3455 | + "required": [ | ||
| 3456 | + "id", | ||
| 3457 | + "name" | ||
| 3458 | + ] | ||
| 3459 | + }, | ||
| 2734 | "WhichUserLikeArticle": { | 3460 | "WhichUserLikeArticle": { |
| 2735 | "type": "object", | 3461 | "type": "object", |
| 2736 | "properties": { | 3462 | "properties": { |
-
请 注册 或 登录 后发表评论