/admin/billing/payment-gateways
分页查询支付网关列表,支持按名称或代码模糊搜索
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
name_or_code |
query |
string |
No | 名称或代码模糊搜索 | |||
page |
query |
integer |
No | 1 |
页码 | ||
page_size |
query |
integer |
No | 20 |
每页条数 |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 支付网关列表查询成功 | dto.PaymentGatewayListResponse |
| 400 | 请求参数错误 | object |
| 401 | 未授权 | object |
| 403 | 无权限 | object |
| 500 | 服务器内部错误 | object |
Referenced Schemas
dto.PaymentGatewayListResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
items |
array of |
No | 统一使用 items | ||
message |
string |
No | |||
pagination |
object |
No | 分页信息(嵌套对象) | ||
timestamp |
string |
No | |||
total |
integer |
No | 总条数(平铺,便于直接读取) |
dto.PaymentGatewayResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
string |
No | alipay |
||
config |
string |
No | |||
created_at |
string |
No | 2026-01-01T00:00:00Z |
||
id |
string |
No | pg_001 |
||
name |
string |
No | 支付宝 |
||
status |
string |
No | active |
||
updated_at |
string |
No | 2026-04-10T14:20:00Z |
gitee_com_linmes_authms_base_dto.PageInfo
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
has_next |
boolean |
No | HasNext indicates whether there is a next page | ||
has_prev |
boolean |
No | HasPrev indicates whether there is a previous page | ||
page |
integer |
No | Page is the current page number (1-based) | ||
page_size |
integer |
No | PageSize is the number of items per page | ||
total |
integer |
No | Total is the total number of items across all pages | ||
total_pages |
integer |
No | TotalPages is the total number of pages |