删除服务
开发中
POST
adminapi/goods.goods/del
请求参数
Query 参数
id
string
服务id
Body 参数application/json
ids
array[string]
服务id
示例
{
"name":"泰式SPA1",
"category_id":2,
"goods_image":[
"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png"
],
"price":"200",
"scribing_price":"240",
"status":1,
"duration":120,
"overtime_price":120,
"overtime_duration":60,
"appoint_start_time":"10:00",
"appoint_end_time":"22:00",
"skill_id":[1,2],
"city_id":[2,3]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'adminapi/goods.goods/del?id' \
--header 'Content-Type: application/json' \
--data-raw '{
"name":"泰式SPA1",
"category_id":2,
"goods_image":[
"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png"
],
"price":"200",
"scribing_price":"240",
"status":1,
"duration":120,
"overtime_price":120,
"overtime_duration":60,
"appoint_start_time":"10:00",
"appoint_end_time":"22:00",
"skill_id":[1,2],
"city_id":[2,3]
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
示例
{
"code": 1,
"show": 0,
"msg": "获取成功",
"data": {}
}
修改于 2024-08-19 09:17:16