{
  "request": {
    "Accept": "application/json, text/plain, */*",
    "Cache-Control": "max-age=28880"
  },
  "basis": [
    {
      "file": "public/static/src/view/dietaryMonitoring/personalMonitor/dietaryFiber.vue",
      "lines": [
        153,
        161
      ],
      "sha256": "e321cb17e3fb3b822d662b6865e4ff17119283cd78c44a43dda9afd6b87abc95",
      "excerpt": "    // 获取单日图表数据\n    dayEchartsData () {\n      return new Promise((resolve, reject) => {\n        this.$axios.post('/p/Ontoanalysis/DietaryFiber', this.$qs({\n          date: this.date[0],\n          staff_uuid: this.$route.query.uuid\n        })).then((res) => {\n          if (res.code === 0) {\n            this.recomend = res.data.recomend"
    },
    {
      "file": "public/static/src/main.js",
      "lines": [
        76,
        104
      ],
      "sha256": "4ac8f74e9949235c69eecca096e278ce27cb51754431765dac77e806a3d34141",
      "excerpt": "//axios发送时设置请求头\n//request拦截器\naxios.interceptors.request.use(\n  config => {\n    config.crossDomain = true\n    config.withCredentials = true //开启发送cookie\n    config.headers['Cache-Control'] = 'max-age=28880';\n    return config\n  },\n  error => {\n    return Promise.reject(error)\n  }\n)\n//axios response拦截器\naxios.interceptors.response.use(\n  response => {\n    if (response.data.code > 200) {\n      console.log(`接口报${response.data.code}了，好好检查是哪的问题！`, response.data)\n    } else {\n      if (response.data.code === 100) {\n        if (process.env.NODE_ENV === 'development') {\n          window.open('/', '_self')\n        } else if (process.env.NODE_ENV === 'production') {\n          window.open('/dist', '_self')\n        }\n      }\n    }\n    return response.data\n  },"
    },
    {
      "file": "public/static/node_modules/axios/lib/defaults.js",
      "lines": [
        82,
        90
      ],
      "sha256": "73b1a91925eba4333c9c0d7352b5329f7a1f9cd5f898ede30dbf85226589f838",
      "excerpt": "\ndefaults.headers = {\n  common: {\n    'Accept': 'application/json, text/plain, */*'\n  }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n  defaults.headers[method] = {};"
    },
    {
      "file": "public/static/package-lock.json",
      "lines": [
        1485,
        1492
      ],
      "sha256": "95c583dc9a06d8fd73157584a69d678f51acbf0290ca8ba5b67b48f1870f506a",
      "excerpt": "    },\n    \"axios\": {\n      \"version\": \"0.19.2\",\n      \"resolved\": \"https://registry.npmjs.org/axios/-/axios-0.19.2.tgz\",\n      \"integrity\": \"sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==\",\n      \"requires\": {\n        \"follow-redirects\": \"1.5.10\"\n      }"
    },
    {
      "file": "public/static/yarn.lock",
      "lines": [
        768,
        772
      ],
      "sha256": "da4bc92a299e4700a31113f0cb81056f38070dcd7c62b2df4d1e4f2f849ba363",
      "excerpt": "axios@^0.19.0:\n  version \"0.19.2\"\n  resolved \"https://registry.npmmirror.com/axios/-/axios-0.19.2.tgz\"\n  integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==\n  dependencies:"
    },
    {
      "file": "thinkphp/library/think/debug/Html.php",
      "lines": [
        44,
        56
      ],
      "sha256": "a9950b23652098c07d3718c302d31fbd13490a620274864af93f5c8f33aac7ab",
      "excerpt": "     */\n    public function output(Response $response, array $log = [])\n    {\n        $request     = Request::instance();\n        $contentType = $response->getHeader('Content-Type');\n        $accept      = $request->header('accept');\n        if (strpos($accept, 'application/json') === 0 || $request->isAjax()) {\n            return false;\n        } elseif (!empty($contentType) && strpos($contentType, 'html') === false) {\n            return false;\n        }\n        // 获取基本信息\n        $runtime = number_format(microtime(true) - THINK_START_TIME, 10, '.', '');"
    }
  ]
}