参数示例 - 指定范围的整数参数
API Description: 指定范围的整数参数,可以设置最小值、最大值,当设定默认值时,对客户端则不是必传参数。
| Parameter Name | Type | Is Required | Default | Note | Description |
|---|---|---|---|---|---|
| sign | string | Required | 签名认证 | ||
| timestamp | string | Required | 时间戳 | ||
| ext | string | Optional | 渠道编号 | ||
| versioncode | int | Optional | 当前版本ID | ||
| language | int | Optional | 1 | 语言:1英文2繁体 | |
| unique_id | string | Optional | 手机唯一id | ||
| number | int | Optional | 1 | min: 1;max: 100 | 指定范围且有默认值的整数参数 |
| Parameter Name | Type | Description |
|---|
| Error Status | Error Description |
|---|---|
| 400 | 表示客户端参数错误 |
| 404 | 表示接口服务不存在 |
| 500 | 表示服务端内部错误 |
| Parameter | Is Required | Value |
|---|---|---|
| service | Required | |
| sign | Required | |
| timestamp | Required | |
| ext | Optional | |
| versioncode | Optional | |
| language | Optional | |
| unique_id | Optional | |
| number | Optional |
# 暂无示例,可添加示例文件:./src/view/docs/demos/App.Examples_Rule.RangeNumber.json
A PHP framework foucs on API fast development.
© 2015-2025 Powered By PhalApi API Framework 2.23.0
专业版