文档
测试

服务库-获得价格方案

GET
/powerServ/getPayPlan

接口描述

管理后台-服务库-获取价格方案

请求参数

参数名
类型
描述
必填
powerServId
int
服务id
必填
type
string
定价类型,num数量,month时长,times次数 , 不设置查询所有,设置 只查询单类
可选

成功

参数名
类型
描述
必填
total
int
总条数
必填
code
obj
状态码
必填
msg
string
"" (成功为空的字符串) | 错误信息
必填
data
同 用户登录接口 中的 data
必填
id
long
id 价格方案表的主键
必填
type
string
定价类型,num数量,month时长,times次数
必填
name
string
显示的字符
必填
num
int
对应的数值,用户数单位为个, 时长单位为 月,次数单位为次
必填
discountPrice
string
直接定价格,比折扣率优先级高
必填
discountRate
string
优惠率,百分比转换的小数
必填

失败

参数名
类型
描述
必填
code
int
状态码
必填
msg
string
"" (成功为空的字符串) | 错误信息
必填