1. 描述
私查店卷。
2. 调用场景
开发者登录http://consoler.xdua.com后,可以以Shep角色查询所有店卷。
3. 配置参数
参数意义参考接口参数
| 参数名 | 参数值 | 说明 |
|---|---|---|
| Name | QriRoueb | |
| URL | https://api.xdua.com/rolex | |
| Method | GET | |
| XduaApiHttpSchema | HTTPS | 只走HTTPS |
| XduaApiMethod | QRI | |
| XduaApiColor | X | 只有持有神令牌,才可以创建店卷 |
| XduaApiAudience | {zone_console_app_id} |
只有app_id为{zone_console_app_id}的应用,也就是consoler.xdua.com才可以发起本请求 |
| XduaApiShop | {zone_id} |
店卷直辖店铺,只有这个店铺的登录人员才可以访问 |
| XduaApiSubject | u | 所有注册用户均可以使用 |
| XduaApiRoles | Shep | 必须是Shep才可以查询角色 |
| XduaApiResource | role | |
| XduaApiKparam | where |
常量 |
| XduaApiAction | QueriRoueb | |
| XduaApiRule | QueriRoueb | |
| XduaApiAstates | 0 | 按序app,zone,corp,shop,user,token,login的状态都必须是0(STATE_ENABLED) |
| XduaApiEnable | true | 接口使能 |
4. URL
GET:https://api.xdua.com/rolex
5. 请求参数
6. 返回参数
result.list部分
| 名称 | 位置 | 类型 | 示例 | 说明 |
|---|---|---|---|---|
| id | result | string | rYub4wrT | 详情的店卷ID |
| name | result.list[] | string | 店卷的名称 | |
| avatar | result.list[] | string | 店卷图标 | |
| brief | result.list[] | string | 店卷的描述 | |
| state | result.list[] | int | 0 | 店卷的状态 |
| stato | result.list[] | string | "冻服更新" | 店卷的状态说 |
| expire | result.list[] | int | 0 | 店卷状态过期时间(UNIX时间戳) |
| creator_id | result.list[] | string | Dmtv7TrE | 店卷创建者ID |
| creator_name | result.list[] | string | 辣椒帅 | 店卷创建者名字 |
| updator_id | result.list[] | string | XiyRvUp3 | 店卷最近一次更新者ID |
| updator_name | result.list[] | string | 周海潮 | 店卷最近一次更新者名字 |
| cstamp | result.list[] | string | 2020-01-20 02:19:55 | 店卷创建时间 |
| ustamp | result.list[] | string | 2020-01-20 02:23:24 | 店卷最近更新时间 |
