mm_os 4.0.7 → 4.0.8

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.
Files changed (2) hide show
  1. package/com/api/oauth.js +1 -1
  2. package/package.json +1 -1
package/com/api/oauth.js CHANGED
@@ -74,7 +74,7 @@ Oauth.prototype.check = async function (ctx) {
74
74
  // 无需登录则不验证身份和权限
75
75
  var cg = this.config;
76
76
  var user = await this._getUser(ctx);
77
- if (!cg.signIn) {
77
+ if (!cg.sign_in) {
78
78
  return null;
79
79
  }
80
80
  var error = await this.main(ctx);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mm_os",
3
3
  "description": "MM_OS服务端架构,用于快速构建应用程序,支持网站建设、小程序后台、AI应用、物联网(IOT/AIOT)、游戏服务端等多种场景。",
4
- "version": "4.0.7",
4
+ "version": "4.0.8",
5
5
  "main": "index.js",
6
6
  "keywords": [
7
7
  "AI",