参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_familyhas_api_ApiForFarmPickWater |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
waterCode | String | 是 | 水滴编号 | ||
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
kettleWater | int | 水壶总量 | |
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
waterNum | int | 水滴剩余量 | |
stealWaterNum | int | 偷取水滴量 | |
resultMessage | String | 返回消息 | 返回的消息描述 |
waterCode | String | 水滴编号 |