auth_centerCompanys_api.yml
882 字节
name: 获取统一用户中心公司(登录凭证)
base_url: ${ENV(base_url)}
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ''
sign: ${make_sign($currtime, $uuid,$access_token)}
grantType: signInPassword
phone: ${ENV(partnerphone)}
password: 7c4a8d09ca3762af61e59520943dc26494f8941b
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.partner
X-MMM-AppProject: ability
X-MMM-DeviceType: '1'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 0.1.0
json:
phone: $phone
grantType: $grantType
password: $password
clientId: 'pdf233Znkjo'
method: POST
url: /v1/auth/centerCompanys