- 多次终审
- 多次立项
- 财务板块-付款计划API
- 竣工自检API
- 审批中心管理
- 分批开工
- 项目公司管理
- admin
- 项目回款-申请
- 审批流导出
- APP合同管理
- 项目登记管理
- 项目立项管理
- 项目计划管理
- 项目开工管理
- 文件上传
- 竣工验收API
- 审批流程管理
- 商机信息实体表管理
- 推广配置管理
- 微信小程序
- 商机管理
- 物资调拨管理
- 渠道商表管理
- 渠道商合同签约表管理
- 默认目录
- TestController
- APP待办记录管理
- 项目方案计算API管理
- 项目终审管理
- 渠道商管理
- 渠道商合同签约管理
- 渠道商项目登记管理
- 腾讯广告-对接
- 待办记录管理
- photovoltaic-base-web
- 内部用户API
- 施工管理
- Test01Controller
- 主页 BI 数据接口
- 光伏系统登录POST
- 腾讯广告-授权码GET
获取token
开发中
本地环境
http://127.0.0.1:10016
本地环境
http://127.0.0.1:10016
GET
/oauth/token
请求参数
Query 参数
client_id
string
必需
示例值:
1112029684
client_secret
string
必需
示例值:
Q82CnOayfkg8iejM
grant_type
string
必需
示例值:
authorization_code
authorization_code
string
必需
示例值:
272431b1dca28ccb69fe32f7befeb239
redirect_uri
string
必需
示例值:
https://pvs.tcl.com/api/qq/auth
Header 参数
token
string
可选
默认值:
{{token}}
tenant-id
string
可选
默认值:
{{tenant-id}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:10016/oauth/token?client_id=1112029684&client_secret=Q82CnOayfkg8iejM&grant_type=authorization_code&authorization_code=272431b1dca28ccb69fe32f7befeb239&redirect_uri=https://pvs.tcl.com/api/qq/auth' \
--header 'token: ' \
--header 'tenant-id: 0'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
access_token
string
必需
refresh_token
string
必需
access_token_expires_in
integer
必需
refresh_token_expires_in
integer
必需
authorizer_info
object
必需
示例
{"code":0,"message":"","data":{"access_token":"4eb67666721a3cc4f7d3d2a1f6c02b0b","refresh_token":"25619afa0ba4d1fab13efef202ccb803","access_token_expires_in":999999999,"refresh_token_expires_in":999999999,"authorizer_info":{"account_id":45468064,"scope_list":["ads_management","ads_insights","account_management","audience_management","user_actions"],"account_role_type":"ACCOUNT_ROLE_TYPE_AGENCY","wechat_account_id":"","account_type":"ACCOUNT_TYPE_AGENCY","role_type":"ROLE_TYPE_UNKNOWN","account_name":"\u6df1\u5733\u6211\u4e70\u5bb6\u7f51\u7edc\u79d1\u6280\u6709\u9650\u516c\u53f8","account_uin":3814575824,"login_name":3814575824}}}