文档
测试

查询1条记录 -key

POST
{{host}}/api/constant/limitByKey

请求参数

参数名
类型
描述
必填
constant_key
string
常量名
必填

响应参数

参数名
类型
描述
必填
ret
返回码:0-正常,非0-失败
必填
msg
string
返回消息
必填
result
string
常量值
必填

说明 / 示例

###### 示例代码 ```javascript //请求 let res = await post("api/constant/limitByKey", { constant_key: "station" }) //返回 res = { "ret": 0, "msg": "查询成功", "result": "测试站" } ```