auth_login_api.yml
786 字节
name: 账号登录
base_url: ${ENV(base_url)}
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
cid: ${ENV(companyId_app)}
sign: ${make_sign($currtime, $uuid, $access_token)}
clientId: pdf233Znkjo
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '1'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 0.4.0
json:
idType: $idType
cid: ${convert_to_int($cid)}
credentials: $credentials
clientId: $clientId
method: POST
url: v2/auth/login