文档
测试

修改系统参数配置

POST
/admin/system/setting/api/setsetting?config=base

请求头

参数名
类型
描述
必填
Cookie
String
必填

请求参数

参数名
类型
描述
必填
newcoupon_count
int
新用户送优惠券。示例:5
必填
newcoupon_amt
int
优惠券面值。示例:20
必填
newcoupon_lower
int
优惠券最低消费,单位:元。示例:99
必填
newcoupon_name
string
优惠券名称。示例:满99元减20元
必填
newcoupon_days
int
送优惠券有效期。示例:0
必填
test_shiptime
int
自动发货时间,单位:分钟(生产环境无效)。示例:2
必填
test_confirmtime
int
自动确认时间,单位:分钟(生产环境无效)。示例:2
必填

响应参数

参数名
类型
描述
必填
data
Object
null
必填
result
int
0--成功,其他--失败。示例:0
必填
msg
string
提示信息。示例:Success
必填

说明 / 示例

请求参数示例: ``` { "newcoupon_count": 5, "newcoupon_amt": 20, "newcoupon_lower": 99, "newcoupon_name": "满99元减20元", "newcoupon_days": 0, "test_shiptime": 2, "test_confirmtime": 2 } ```