文档
测试

获取系统参数配置

GET
/admin/system/setting/api/getsetting

接口描述

目前配置保存在redis的

请求头

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

请求参数

参数名
类型
描述
必填
config
String
用来组装redis的key。传base
必填
formname
String
传baseForm
必填

响应参数

参数名
类型
描述
必填
result
int
示例:0
必填
data
object
数据字典
必填
newcoupon_count
int
新用户送优惠券。示例:5
可选
newcoupon_amt
int
优惠券面值。示例:20
可选
newcoupon_lower
int
优惠券最低消费金额。示例:99
可选
newcoupon_name
string
优惠券名称。示例:满99元减20元
可选
test_shiptime
int
测试环境--自动发货时间,分钟(生产环境无效)。示例:2
可选
test_confirmtime
int
测试环境--自动确认收货时间,分钟(生产环境无效)。示例:2
可选
msg
string
示例:baseForm
必填

说明 / 示例

redisKey = env.getProperty("spring.redis.rootkey") + "/setting/" + ==config==; 请求示例: `http://114.215.209.191:8001/admin/system/setting/api/getsetting?config=base&formname=baseForm&_=1627003993286`