{ "name": "测试", "number": "测试_4", "type": "消费设备", "remark": "", "billing_mode": "单次计费", "online": "在线设备", "billing_multiplier": 100, "operation": "正常", "operation_expiry_date": "2029-06-21", "shore": "一教", "school": "北大" }
curl --location --request POST 'https://selfxu.cn:5000/device_info/add' \ --header 'Cookie: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InJvb3QiLCJleHAiOjE3MTg5ODI1ODR9.lCoQhUMXdBJGnIPpYAwMvesjBBIKf8MDarYefQxYU_A' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "测试", "number": "测试_4", "type": "消费设备", "remark": "", "billing_mode": "单次计费", "online": "在线设备", "billing_multiplier": 100, "operation": "正常", "operation_expiry_date": "2029-06-21", "shore": "一教", "school": "北大" }'
{ "data": { "billing_mode": "不生效", "id": "75b0e6de-87b5-44b6-a00a-129b2cb83629", "name": "饮水机", "number": "饮水机_1", "online": "不生效", "operation": "正常", "operation_expiry_date": "2024-06-21T00:00:00", "remark": "", "school": "北大", "shore": "一教", "type": "消费设备" }, "message": "设备添加成功", "status": "成功" }