mm_os 4.0.6 → 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.
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/core/app/index.js CHANGED
@@ -594,7 +594,7 @@ App.prototype._installPlugin = async function (info) {
594
594
  await manager.load(info.config_file);
595
595
 
596
596
  // 执行安装方法
597
- var plugin = manager.get(info.name);
597
+ var plugin = manager.getMod(info.name);
598
598
  if (plugin && plugin.call) {
599
599
  await plugin.call('install');
600
600
  }
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.6",
4
+ "version": "4.0.8",
5
5
  "main": "index.js",
6
6
  "keywords": [
7
7
  "AI",