多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
> **应用场景**: >月卡会员同步是将云端的月卡会员设置信息下传到收费系统 字段信息: | 名称 | 说明 | 类型|最大长度 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | --- | service_name| 接口名称| String|64 |month_member_sync |是 card_id |月卡会员编号(收费系统唯一编号)| String| 24|201708_1000 |是 create_time| 新建时间(unix时间戳格式)| Number|15 |1490875218 |否 update_time |修改时间(unix时间戳格式)| Number| 15|1490879218 |否 begin_time |开始时间(unix时间戳格式)| Number| 15|1490875218 |是 end_time |结束时间(unix时间戳格式)| Number| 15|1490879218 |是 pid |月卡套餐编号| Number| 24|50| 否 name| 车主姓名 |String| 24|张三 |否 car_number|车牌,多个车牌,用”,”英文分隔| String|24 |京G00000,京G00001 |是 p_lot |车位 |String | 6|2| 否 remark |备注| String|48 || 否 price |实收金额| Number| 15|150.00| 是 tel |电话 |string|15|| 否 limit_day_type| 单双日限行| Int|2 |0 不限制,1限制 |否 car_type_id |车辆类型| String|12 |car_type_tb 中的car_type_id|| 否 amount_receivable| 应收金额| Number|15 |200.00 |是 operate_type| 操作类型| Number|2| 1添加2修改3删除4修改有效期 |是 |park_id |车场编号| String|24 |test001| 是 channel_id |月卡允许通行的通道编号| String| 16|A1|是 ,多个通道id使用英文逗号,隔开 address |地址| string|32 | 3号楼|是 group_id|月卡分组编号|String |60|16|否 group_name|月卡部门名称|String |60|物业部|否 message_uuid|消息标识号,使用uuid| String|48| |否 car_type|月卡类型 0- 内部车 1- 月租车 2- 时租车|String|24 | 1| 否 part_time|免费时段,车辆类型为时租卡时必填|string|48|["23:00","07:00"\]|否 > 示例: > {"data":{"begin_time":1516636800,"park_id":"test001","remark":"会员1","car_number":"京G00000","tel":"","pid":"null","p_lot":"6","card_id":"100000","operate_type":2,"price":0.0,"end_time":1540631244,"name":"李四","create_time":1532509198,"car_type_id":"null","amount_receivable":0.0,"channel_id":"123,bac","address":"3号楼"},"service_name":"month_member_sync"} * * * * * **返回:调用UploadUtil.uploadData(String jsonData)返回上传结果,方法返回描述如下** | 名称 | 说明 | 类型|最大长度 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | --- | service_name |接口名称| String|64 |month_member_sync| 是 data_target |上传位置 |String| 8|cloud| 是 state| 状态| Number| 2|0失败1成功 |是 card_id |月卡会员编号(收费系统唯一编号)| String| 24|201708_1000 |是 card_id_local| 本地月卡编号,上传会覆盖card_id编号| String|24 |asd012| 否 operate_type| 操作类型 |Number| 2|1 |是 errmsg |方法返回描述 |String|48 |state为0时有值 |否(有值时必传) 返回值示例:{"service_name":"month_member_sync","data_target":"cloud","card_id":"201708_1000","card_id_local":"ouy012","state":1,"operate_type":1,"errmsg":" "}