[后端] 微服务添加获取&更新微信小程序access_token相关逻辑
This commit is contained in:
@@ -6,89 +6,120 @@
|
||||
},
|
||||
"item": [
|
||||
{
|
||||
"name": "用户登录 微服务域名",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8001/user/login?username=root&password=63a9f0ea7bb98050796b649e85481845",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8001",
|
||||
"path": [
|
||||
"user",
|
||||
"login"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "username",
|
||||
"value": "root"
|
||||
},
|
||||
{
|
||||
"key": "password",
|
||||
"value": "63a9f0ea7bb98050796b649e85481845"
|
||||
"name": "UserProvider",
|
||||
"item": [
|
||||
{
|
||||
"name": "[微服务] 用户登录",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8001/user/login?username=root&password=63a9f0ea7bb98050796b649e85481845",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8001",
|
||||
"path": [
|
||||
"user",
|
||||
"login"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "username",
|
||||
"value": "root"
|
||||
},
|
||||
{
|
||||
"key": "password",
|
||||
"value": "63a9f0ea7bb98050796b649e85481845"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": []
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "获取用户进出码信息 微服务域名",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8002/access/code/getCodeInfo?id=1",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8002",
|
||||
"path": [
|
||||
"access",
|
||||
"code",
|
||||
"getCodeInfo"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "id",
|
||||
"value": "1"
|
||||
"name": "AccessProvider",
|
||||
"item": [
|
||||
{
|
||||
"name": "[微服务] 获取用户进出码信息",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8002/access/code/getCodeInfo?id=1",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8002",
|
||||
"path": [
|
||||
"access",
|
||||
"code",
|
||||
"getCodeInfo"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "id",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "获取用户进出码信息 线上域名",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://epp.only4.work/access/code/getCodeInfo?id=1",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"epp",
|
||||
"only4",
|
||||
"work"
|
||||
],
|
||||
"path": [
|
||||
"access",
|
||||
"code",
|
||||
"getCodeInfo"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "id",
|
||||
"value": "1"
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "[线上] 获取用户进出码信息",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "https://epp.only4.work/access/code/getCodeInfo?id=1",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"epp",
|
||||
"only4",
|
||||
"work"
|
||||
],
|
||||
"path": [
|
||||
"access",
|
||||
"code",
|
||||
"getCodeInfo"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "id",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "[微服务] 获取微信小程序AccessToken",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8002/access/wechat/getAccessToken",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8002",
|
||||
"path": [
|
||||
"access",
|
||||
"wechat",
|
||||
"getAccessToken"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user