q-koa 11.0.6 → 11.0.7

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.
@@ -325,7 +325,7 @@ exports.checkLogin = async (ctx) => {
325
325
  model: app.model.github_user,
326
326
  },
327
327
  config === 'weixin_h5' ? h5_user_include : {},
328
- config === 'weixin_mp' ? mp_user_include : {},
328
+ config.includes('weixin_mp') ? mp_user_include : {},
329
329
  {
330
330
  model: app.model.toutiao_user,
331
331
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "11.0.6",
3
+ "version": "11.0.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {