1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

[后端] 微服务添加获取&更新微信小程序access_token相关逻辑

This commit is contained in:
2022-11-28 00:11:50 +08:00
parent fcd46cba4f
commit 5f142254f2
12 changed files with 409 additions and 185 deletions

View File

@@ -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": []
]
}
]
}