接口设计规范

https://doc.rg1008.com/docs/rg_pass_api/rg_pass_api-1d2u3r633uoi8

批量、新增 数据预处理

https://doc.rg1008.com/docs/rg_pass_log/rg_pass_log-1e6t7fk0p1uf0

开发调试(query参数)

关键词: _showParams=true (url)显示参数,用户开发排查和调试

关键词: _showResult=true (url)显示处理前结果,用户开发排查和调试

关键词: _nocache=true 不受缓存控制,通常用于开发者调试

接口参数案例

"GetConfigSettingInfo": {
    "Headers": {
      "XjwtNoExpires": "true", //jwt过期验证
      "XverifyApi": "yfejhavFbUPq2jBGEvZOVXyDFYsBTYLMRa9hdcYlqBWLR9fuJd5DmTgpNgIyKBFivFalqa5c=", //接口有效性验证
      "XownerId": "smd", //所属项目
      "Authorization": "" //用户验证信息
      //"Content-Type": "application/json; charset=utf-8"
    },
    "IsNoHeader": null,
    "Url": "~/bo/api/v3/bo-app-config-setting/list/res/view",
    "ContentType": "application/json",
    "RequestMethod": "GET",
    "Query": {
      "appId": "4164538169947066368",
      "pageSize": "1", //每页几条
      "pageIndex": "1",//第几页
      "_nodejs": "common-data", // 数据处理,比如小写驼峰,小写下划线等
      "ignore": "true", //忽略相关验证, 生产环境无效
      "_mapperType": "glogal", // 特定返回数据配置key
      "_rmtKvT": "origial", // kv转 值
      "_rmtSecond": "L2O"  //列表返回1条对象数据
      //"_rmtKvNT": "origial"  //KV转 名称
    }
  },
文档更新时间: 2024-10-02 10:23   作者:admin