q-koa 13.1.9 → 13.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/config.js CHANGED
@@ -20,7 +20,6 @@ module.exports = {
20
20
  koaBody: {
21
21
  text: false,
22
22
  onError: (err, ctx) => {
23
- console.log('错误', err.message)
24
23
  throw new Error(err.message)
25
24
  },
26
25
  },
@@ -393,6 +393,11 @@ module.exports = class Singleton {
393
393
  cache.reset()
394
394
  return await this.queryUrlLink(url_link)
395
395
  }
396
+ if (result.errcode === 85403) {
397
+ return {
398
+ expire_time: 0,
399
+ }
400
+ }
396
401
  throw new Error(`${result.errcode};${result.errmsg}`)
397
402
  }
398
403
  return result.url_link_info
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.1.9",
3
+ "version": "13.2.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {