本接口是由应用端提供并实现的,不是平台(Platform)提供的接口。平台在给租户绑定应用时,会调用应用的该接口。应用可以记录租户信息、签约时长,并进行一些数据初始化等工作。

# 接口路径

/v1/profile/bind,如 https://alpha-engage.gridsumdissector.com/open-api/wechat/open-api/v1/profile/bind

# 请求参数

Name Type Description
profileId String

租户id

userId String

登录的用户id

data Object
data.id String

应用id

data.profileId String

租户id

data.profileName String

租户名称

data.plan String

版本号

data.expireAt Date

失效时间

# 响应参数

Name Type Description
errorCode Number

错误码(0表示成功)

errorMessage String

错误信息

traceId String

追踪id