post
request:
{ "action":"saveAirConditionConfigs", "token":"774c190a-f4fa-4f54-8395-42e180e5ae27", "isDebug":1, "requestData": [ { "AppUserKey":"3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "Key":"3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "DeviceBrandKey":"3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "DeviceBrandName":"格力", "TotalBudget":2343.3, "ItemTypeObj":{ "ItemType":1, "ItemTypeDescription":"空调" }, "DeviceType": { "IsImportedDevice": true, "DeviceNameKey": "b3e99b8f-29be-419d-91a1-5c6cc4008249", "IconURL": "https://www.baidu.com/img/bd_logo1.png", "Key": "da879233-9879-4d27-af02-12a09e33245f", "MarketPrice": 245.23, "Name": "ABQ-235", "NameTag": "aa", "RemarkOnAPP": "asdf asdasdf asdfas", "RemarkOnReport": "asdgyhasdfsadf", "Size": "23*523" }, "AirConditionSpecialDemand": { "Key": "3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "IsExternalMachineThroughTopWind": true, "IsImportedExternalMachine": false, "IsImportedInnerMachine": true, "IsWith2ExternalMachine": false, "IsWithFloorHeating": true, "IsWithLiftPump": false, "UserPreferenceDetailKey": "f260fdd1-7a48-445e-97ad-6c8ab66a09b3" } } , { "AppUserKey":"3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "Key":"3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "DeviceBrandKey":"3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "DeviceBrandName":"格力", "TotalBudget":2343.3, "ItemTypeObj":{ "ItemType":1, "ItemTypeDescription":"空调" }, "DeviceType": { "IsImportedDevice": true, "DeviceNameKey": "b3e99b8f-29be-419d-91a1-5c6cc4008249", "IconURL": "https://www.baidu.com/img/bd_logo1.png", "Key": "da879233-9879-4d27-af02-12a09e33245f", "MarketPrice": 245.23, "Name": "ABQ-235", "NameTag": "aa", "RemarkOnAPP": "asdf asdasdf asdfas", "RemarkOnReport": "asdgyhasdfsadf", "Size": "23*523" }, "AirConditionSpecialDemand": { "Key": "3b886feb-d7c8-44ff-be9b-4cf5c3e72ebd", "IsExternalMachineThroughTopWind": true, "IsImportedExternalMachine": false, "IsImportedInnerMachine": true, "IsWith2ExternalMachine": false, "IsWithFloorHeating": true, "IsWithLiftPump": false, "UserPreferenceDetailKey": "f260fdd1-7a48-445e-97ad-6c8ab66a09b3" } } ] }
response:
{ "data": null, "msg": "success", "responseCode": { "msgCode": 200, "msgDetail": "OK" }, "serverTime": "2016-05-08 22:44:03", "success": true }
说明: 存时只有一个;取才是多个。
特殊需求的部分,后面可以做成动态加载出来。
时间: 2024-10-09 09:08:38