fastadmin开发手册

关联数据接口[selectpage]【免登录】


比如自定义表单的关联单选,多选数据

请求URL


http://www.yoursite.com/addons/cms/api.common/selectpage

请求方法


GET

请求参数


| Body参数名 | 类型 | 必需 | 描述 | 示例 |
| --- | --- | --- | --- | --- |
| id | number | 是 | 关联配置的id | 1 |
| pageNumber | number | 是 | 页码 | 1 |
| pageSize | number | 是 | 分页大小 | 10 |
| q_word | array | 否 | 搜索关键词 | ['关键词'] |
| andOr | string | 否 | 搜索条件 | OR |
| orderBy | array | 否 | 排序 | [['id', 'asc']] |
| keyValue | string | 否 | 主键值 | name |
| searchField | array | 否 | 搜索字段 | ['name'] |
| custom | array | 否 | 自定义搜索条件 | [] |

返回值


``json
{
"list":[
{
"id":24,
"username":"fast",
"pid":0
}
],
"total":15
}
``

10 Screens$8,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery 1 Revision
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages

20 Screens$16,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages

30 Screens$24,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages
0.491563s