更新时间:2023-04-07 GMT+08:00
分享

MES登录认证

接口地址:

https://v3-hw-openapi.blacklake.cn/api/openapi/domain/web/v1/system/_refreshToken

接口功能描述: 登录MES

请求方式: POST

接口备注: 返回参数中的token参数需要放在后续请求参数access_token中

请求体参数:

参数名称

参数描述

参数类型

参数说明

appKey

-

字符串

-

appSecret

-

字符串

-

factoryNumber

-

字符串

-

请求样例:

{

"appKey": "",

"appSecret": "",

"factoryNumber": "34133123"

}

响应体样例:

{

"code": 200,

"data": {

"token": "eyJhbGciOiJIUzUxMiJ9.eyJ0ZXJtaW5hbCI6NSwiZXhwIjoxNjcxMzQ1NDc5LCJ1c2VySWQiOjE2NjY2Mzc3NjMwNjMxODEsIm9yZ0lkIjoyMTY4ODA5MX0.e9qoJ548TCWB3kYd9r4DfSjmCavT8GTX75HOIFh_GlYQA5qsijgNTYR_XQT5fkqsuhGrKnNBIDVv4W0I3QRFcg",

"terminal": 5,

"username": "jiekou001",

"code": "jiekou001",

"name": "接口账号001",

"phone": null,

"email": null,

"desc": null,

"avatarUrl": null,

"attachments": null

},

"subCode": null,

"message": "成功",

"needCheck": null,

"fieldPermission": null

}

相关文档