feat(openai): 新增获取令牌相关接口

This commit is contained in:
Fu Diwei
2021-10-08 11:05:07 +08:00
parent b8bcd8f2e7
commit d9c0381991
6 changed files with 114 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
{
"openid": "eafc6f616a3f0667800e0f92dc00ee88167bc010",
"resources": [
"bot",
"common",
"dict",
"word",
"skill",
"intent",
"openapi",
"skill_store"
],
"authorization_type": "client_credentials"
}

View File

@@ -0,0 +1,8 @@
{
"code": 0,
"data": {
"access_token": "MX6ddM5mN07ucVKy+Y-to7tKRufZ1YF05eb542d5170000001c"
},
"msg": "success",
"request_id": "54ae04cf-5e95-44fd-ad3f-62e7b163836b"
}