- 模块序号对应
- 客户端
- 婚宴酒店
- 婚庆司仪
- 婚车租赁
- 户外颁证
- 婚礼跟妆
- 婚纱礼服
- 婚纱摄影
- 婚礼跟拍
- 我的
- 婚庆策划
- 空中/游艇婚礼综合POST
- 公共接口
- 商家端
作品公共创建/编辑
开发中
POST
/api/merchant/caseUpdate
请求参数
Body 参数application/json
case_module
integer
必需
shopId
integer
必需
title
string
必需
type
integer
必需
c_style
integer
必需
sort
integer
必需
color_type
integer
必需
scene
integer
必需
min_price
integer
必需
max_price
integer
必需
union_package
integer
必需
zhuwutai
string
必需
yingbingqu
string
必需
hotel_id
array[integer]
必需
yanhuiting_id
array[integer]
必需
photos
array[string]
必需
示例
// 凡是加了package_id字段的均为编辑, 否则视为创建
// module所属模块(1婚庆策划 2婚礼跟拍 3婚礼跟妆 4婚纱摄影 5婚旅跟拍)
// 1婚庆策划
{
"case_module":1,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"c_style": 5,
"sort": 10,
"color_type": 3,
"scene": 5,
"min_price": 1888,
"max_price": 18888,
"union_package": 1,
"zhuwutai": "",
"yingbingqu": "",
"hotel_id": [1],
"yanhuiting_id": [3],
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},
// 2婚礼跟拍
{
"case_module":2,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"c_style": 5,
"c_style2": 5,
"sort": 10,
"min_price": 1888,
"max_price": 18888,
"union_package": 1,
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},
// 3婚礼跟妆
{
"case_module":3,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"sort": 10,
"price": 1888,
"union_package": 1,
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},
// 4婚纱摄影 5婚旅跟拍
{
"case_module":4,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"c_style": 5,
"c_style2": 5,
"sort": 10,
"fuzhuan_type": 10,
"price": 1888,
"scene": 10,
"union_package": 1,
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/merchant/caseUpdate' \
--header 'Content-Type: application/json' \
--data-raw '// 凡是加了package_id字段的均为编辑, 否则视为创建
// module所属模块(1婚庆策划 2婚礼跟拍 3婚礼跟妆 4婚纱摄影 5婚旅跟拍)
// 1婚庆策划
{
"case_module":1,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"c_style": 5,
"sort": 10,
"color_type": 3,
"scene": 5,
"min_price": 1888,
"max_price": 18888,
"union_package": 1,
"zhuwutai": "",
"yingbingqu": "",
"hotel_id": [1],
"yanhuiting_id": [3],
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},
// 2婚礼跟拍
{
"case_module":2,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"c_style": 5,
"c_style2": 5,
"sort": 10,
"min_price": 1888,
"max_price": 18888,
"union_package": 1,
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},
// 3婚礼跟妆
{
"case_module":3,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"sort": 10,
"price": 1888,
"union_package": 1,
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},
// 4婚纱摄影 5婚旅跟拍
{
"case_module":4,
"shopId":173,
"title": "世纪通程大酒店",
"type": 1,
"c_style": 5,
"c_style2": 5,
"sort": 10,
"fuzhuan_type": 10,
"price": 1888,
"scene": 10,
"union_package": 1,
"photos":["/uploads/example/y2.webp","/uploads/example/y2.webp"]
},'
返回响应
🟢200成功
application/json
Body
code
string
必需
ms
string
必需
data
string
必需
示例
{"code":"200","ms":"成功","data":"1"}
修改于 2025-04-01 01:52:04