123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329 |
- {
- "variable": [
- {
- "id": "baseUrl",
- "key": "baseUrl",
- "type": "string",
- "name": "string",
- "value": "http:\/\/192.168.110.10"
- }
- ],
- "info": {
- "name": "Owl Admin API Documentation",
- "_postman_id": "ca5ccc9c-07c7-408d-aabc-bdd7bb5d79e3",
- "description": "Owl Admin API \u63a5\u53e3\u6587\u6863",
- "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
- },
- "item": [
- {
- "name": "Endpoints",
- "description": "",
- "item": [
- {
- "name": "\u66f4\u65b0API\u6587\u6863\u7684\u8ba4\u8bc1Token",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/scribe\/update-token\/:mobile",
- "query": [],
- "raw": "{{baseUrl}}\/api\/scribe\/update-token\/:mobile",
- "variable": [
- {
- "id": "mobile",
- "key": "mobile",
- "value": "13800138000",
- "description": "\u624b\u673a\u53f7\u7801."
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "\u901a\u8fc7\u624b\u673a\u53f7\u83b7\u53d6\u9a8c\u8bc1\u7801\u5e76\u767b\u5f55\uff0c\u7136\u540e\u66f4\u65b0API\u6587\u6863\u7684\u8ba4\u8bc1Token"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"Token\u66f4\u65b0\u6210\u529f\",\n \"data\": {\n \"token\": \"your_new_token_here\"\n }\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u8d26\u6237\u7ba1\u7406] \u53d1\u9001\u9a8c\u8bc1\u7801",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/account\/send-code",
- "query": [],
- "raw": "{{baseUrl}}\/api\/account\/send-code"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application\/json"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\"mobile\":\"13800138000\"}"
- },
- "description": "\u5411\u6307\u5b9a\u624b\u673a\u53f7\u53d1\u9001\u9a8c\u8bc1\u7801"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f\",\n \"data\": null\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u8d26\u6237\u7ba1\u7406] \u7528\u6237\u767b\u5f55",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/account\/login",
- "query": [],
- "raw": "{{baseUrl}}\/api\/account\/login"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application\/json"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\"mobile\":\"13800138000\",\"code\":\"123456\"}"
- },
- "description": "\u4f7f\u7528\u624b\u673a\u53f7\u548c\u9a8c\u8bc1\u7801\u767b\u5f55\u8d26\u6237"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u767b\u5f55\u6210\u529f\",\n \"data\": {\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\",\n \"user\": {\n \"id\": 1,\n \"mobile\": \"13800138000\",\n \"nickname\": \"\u7528\u6237\u6635\u79f0\"\n }\n }\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u8d26\u6237\u7ba1\u7406] \u5fae\u4fe1\u767b\u5f55",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/account\/wx-login",
- "query": [],
- "raw": "{{baseUrl}}\/api\/account\/wx-login"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application\/json"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\"openid\":\"wx_123456789\"}"
- },
- "description": "\u4f7f\u7528\u5fae\u4fe1openid\u767b\u5f55\u8d26\u6237"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u767b\u5f55\u6210\u529f\",\n \"data\": {\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\",\n \"user\": {\n \"id\": 1,\n \"openid\": \"wx_123456789\",\n \"nickname\": \"\u5fae\u4fe1\u6635\u79f0\"\n }\n }\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u8d26\u6237\u7ba1\u7406] \u7528\u6237\u9000\u51fa",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/account\/logout",
- "query": [],
- "raw": "{{baseUrl}}\/api\/account\/logout"
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "\u9000\u51fa\u5f53\u524d\u8d26\u6237\u767b\u5f55\u72b6\u6001"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u9000\u51fa\u6210\u529f\",\n \"data\": null\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u8d26\u6237\u7ba1\u7406] \u7528\u6237\u6ce8\u9500",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/account",
- "query": [],
- "raw": "{{baseUrl}}\/api\/account"
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "\u6c38\u4e45\u6ce8\u9500\u5f53\u524d\u8d26\u6237"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u6ce8\u9500\u6210\u529f\",\n \"data\": null\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u7528\u6237\u7ba1\u7406] \u7528\u6237\u63d0\u73b0",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/user\/withdraw",
- "query": [],
- "raw": "{{baseUrl}}\/api\/user\/withdraw"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application\/json"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\"amount\":\"100.00\"}"
- },
- "description": "\u63d0\u73b0\u7528\u6237\u7684\u4f59\u989d"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u63d0\u73b0\u6210\u529f\",\n \"data\": null\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u7528\u6237\u7ba1\u7406] \u7528\u6237\u53cd\u9988",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/user\/feedback",
- "query": [],
- "raw": "{{baseUrl}}\/api\/user\/feedback"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application\/json"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\"content\":\"\u8fd9\u662f\u4e00\u4e2a\u53cd\u9988\u4fe1\u606f\"}"
- },
- "description": "\u63d0\u4ea4\u7528\u6237\u7684\u53cd\u9988\u4fe1\u606f"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u63d0\u4ea4\u6210\u529f\",\n \"data\": null\n}",
- "name": ""
- }
- ]
- },
- {
- "name": "[\u7528\u6237\u7ba1\u7406] \u7533\u8bf7\u6210\u4e3a\u6280\u5e08",
- "request": {
- "url": {
- "host": "{{baseUrl}}",
- "path": "api\/user\/apply-coach",
- "query": [],
- "raw": "{{baseUrl}}\/api\/user\/apply-coach"
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "\u7533\u8bf7\u6210\u4e3a\u6280\u5e08"
- },
- "response": [
- {
- "header": [],
- "code": 200,
- "body": "{\n \"code\": 200,\n \"message\": \"\u7533\u8bf7\u6210\u529f\",\n \"data\": null\n}",
- "name": ""
- }
- ]
- }
- ]
- }
- ],
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "Authorization",
- "type": "string"
- }
- ]
- }
- }
|