curl --location --request POST 'http://smart-shop.itheima.net/index.php?s=/api/upload/image' \
--header 'Access-Token: 1741f74aed758a688515f72572dc8e37' \
--header 'platform: H5' \
--form 'file="(binary)"'{
"status": 200,
"message": "图片上传成功",
"data": {
"fileInfo": {
"channel": 20,
"storage": "local",
"domain": "",
"file_name": "k2.jpg",
"file_path": "10001/20230324/109bc09e0155dab1f8e97993f6a1f9cb.jpg",
"file_size": 2492,
"file_ext": "jpg",
"file_type": 10,
"uploader_id": 10003,
"update_time": "2023-03-24 09:20:38",
"file_id": "10307",
"preview_url": "http://cba.itlike.com/public/uploads/10001/20230324/109bc09e0155dab1f8e97993f6a1f9cb.jpg",
"external_url": "http://cba.itlike.com/public/uploads/10001/20230324/109bc09e0155dab1f8e97993f6a1f9cb.jpg"
}
}
}