| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483 |
- {
- "swagger": "2.0",
- "info": {
- "title": "crmeb_java_public",
- "version": "last",
- "description": "crmeb_java_public"
- },
- "basePath": "/",
- "tags": [
- {
- "name": "Admin管理员 密码操作",
- "description": "Authorization Admin"
- },
- {
- "name": "Redis测试操作",
- "description": "Redis Test Controller"
- },
- {
- "name": "企业微信消息推送",
- "description": "We Chat Push Controller"
- },
- {
- "name": "图片操作",
- "description": "Image Merge Controller"
- },
- {
- "name": "微信开放平台 -- 消息",
- "description": "We Chat Message Controller"
- }
- ],
- "schemes": [
- "http"
- ],
- "paths": {
- "/api/public/auth/test/account/encode": {
- "post": {
- "tags": [
- "Admin管理员 密码操作"
- ],
- "summary": "密码加密",
- "consumes": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "account",
- "in": "query",
- "required": false,
- "description": "账号",
- "type": "string"
- },
- {
- "name": "password",
- "in": "query",
- "required": false,
- "description": "密码",
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«Map»",
- "$$ref": "#/definitions/CommonResult«Map»"
- }
- }
- }
- }
- },
- "/api/public/auth/test/account/decode": {
- "post": {
- "tags": [
- "Admin管理员 密码操作"
- ],
- "summary": "破解密码",
- "consumes": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "account",
- "in": "query",
- "required": false,
- "description": "账号",
- "type": "string"
- },
- {
- "name": "encodeString",
- "in": "query",
- "required": false,
- "description": "加密字符串",
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«Map»",
- "$$ref": "#/definitions/CommonResult«Map»"
- }
- }
- }
- }
- },
- "/api/public/test/redis/delete": {
- "get": {
- "tags": [
- "Redis测试操作"
- ],
- "summary": "删除",
- "consumes": [
- "text/plain"
- ],
- "parameters": [
- {
- "name": "key",
- "in": "query",
- "required": false,
- "description": "redis key",
- "type": "string"
- },
- {
- "name": "raw",
- "in": "body",
- "description": "raw paramter",
- "schema": {
- "type": "string",
- "format": "binary"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«object»",
- "$$ref": "#/definitions/CommonResult«object»"
- }
- }
- }
- }
- },
- "/api/public/test/redis/set": {
- "post": {
- "tags": [
- "Redis测试操作"
- ],
- "summary": "新增",
- "consumes": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "key",
- "in": "query",
- "required": false,
- "description": "redis key",
- "type": "string"
- },
- {
- "name": "value",
- "in": "query",
- "required": false,
- "description": "内容",
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«object»",
- "$$ref": "#/definitions/CommonResult«object»"
- }
- }
- }
- }
- },
- "/api/public/test/redis/get": {
- "get": {
- "tags": [
- "Redis测试操作"
- ],
- "summary": "查询",
- "consumes": [
- "text/plain"
- ],
- "parameters": [
- {
- "name": "key",
- "in": "query",
- "required": false,
- "description": "redis key",
- "type": "string"
- },
- {
- "name": "raw",
- "in": "body",
- "description": "raw paramter",
- "schema": {
- "type": "string",
- "format": "binary"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«object»",
- "$$ref": "#/definitions/CommonResult«object»"
- }
- }
- }
- }
- },
- "/api/public/wechat/gitlab": {
- "post": {
- "tags": [
- "企业微信消息推送"
- ],
- "summary": "gitlab钩子",
- "consumes": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "token",
- "in": "query",
- "required": false,
- "description": "企业微信群token",
- "type": "string"
- },
- {
- "name": "root",
- "in": "body",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«object»",
- "$$ref": "#/definitions/CommonResult«object»"
- }
- }
- }
- }
- },
- "/api/public/wechat/push": {
- "get": {
- "tags": [
- "企业微信消息推送"
- ],
- "summary": "消息推送",
- "consumes": [
- "text/plain"
- ],
- "parameters": [
- {
- "name": "message",
- "in": "query",
- "required": false,
- "description": "推送消息内容",
- "type": "string"
- },
- {
- "name": "token",
- "in": "query",
- "required": false,
- "description": "企业微信群token",
- "type": "string"
- },
- {
- "name": "raw",
- "in": "body",
- "description": "raw paramter",
- "schema": {
- "type": "string",
- "format": "binary"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«object»",
- "$$ref": "#/definitions/CommonResult«object»"
- }
- }
- }
- }
- },
- "/api/public/qrcode/mergeList": {
- "post": {
- "tags": [
- "图片操作"
- ],
- "summary": "合并图片返回文件",
- "consumes": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "root",
- "in": "body",
- "schema": {
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "path",
- "x",
- "y"
- ],
- "properties": {
- "path": {
- "type": "string",
- "description": "图片地址"
- },
- "x": {
- "type": "integer",
- "format": "int32",
- "description": "x轴"
- },
- "y": {
- "type": "integer",
- "format": "int32",
- "description": "y轴"
- }
- },
- "title": "ImageMergeUtilVo",
- "$$ref": "#/definitions/ImageMergeUtilVo"
- }
- }
- }
- ],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int64"
- },
- "data": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "message": {
- "type": "string"
- }
- },
- "title": "CommonResult«Map«string,string»»",
- "$$ref": "#/definitions/CommonResult«Map«string,string»»"
- }
- }
- }
- }
- },
- "/api/public/wechat/message/webHook": {
- "post": {
- "tags": [
- "微信开放平台 -- 消息"
- ],
- "summary": "接受微信推送过来的消息",
- "consumes": [
- "application/json"
- ],
- "parameters": [],
- "responses": {
- "200": {
- "description": "successful operation",
- "schema": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
|