@imedx/ics-imedx-chromely-plugin-intf-platform
Advanced tools
Comparing version 0.0.2-beta.13 to 0.0.2-beta.14
@@ -148,6 +148,10 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
IntfPlatform.authorization = function (intfCode) { | ||
return this.hbbasic.api.authorization({ | ||
orgId: this.orgId, | ||
apiId: intfCode | ||
}, true); | ||
// return this.hbbasic.api.authorization( | ||
// { | ||
// orgId: this.orgId, | ||
// apiId: intfCode | ||
// }, | ||
// true | ||
// ) | ||
return Promise.resolve(); | ||
}; | ||
@@ -180,4 +184,4 @@ /** | ||
IntfPlatform.bussiness = function (intfCode, code, param) { | ||
var _this = this; | ||
// 校验接口是否有权限 | ||
var _this = this; | ||
var mode = IntfPlatform.GetInterfaceType(intfCode); | ||
@@ -184,0 +188,0 @@ // switch (mode) { |
@@ -152,6 +152,10 @@ (function (global, factory) { | ||
IntfPlatform.authorization = function (intfCode) { | ||
return this.hbbasic.api.authorization({ | ||
orgId: this.orgId, | ||
apiId: intfCode | ||
}, true); | ||
// return this.hbbasic.api.authorization( | ||
// { | ||
// orgId: this.orgId, | ||
// apiId: intfCode | ||
// }, | ||
// true | ||
// ) | ||
return Promise.resolve(); | ||
}; | ||
@@ -184,4 +188,4 @@ /** | ||
IntfPlatform.bussiness = function (intfCode, code, param) { | ||
var _this = this; | ||
// 校验接口是否有权限 | ||
var _this = this; | ||
var mode = IntfPlatform.GetInterfaceType(intfCode); | ||
@@ -188,0 +192,0 @@ // switch (mode) { |
@@ -45,6 +45,10 @@ "use strict"; | ||
IntfPlatform.authorization = function (intfCode) { | ||
return this.hbbasic.api.authorization({ | ||
orgId: this.orgId, | ||
apiId: intfCode | ||
}, true); | ||
// return this.hbbasic.api.authorization( | ||
// { | ||
// orgId: this.orgId, | ||
// apiId: intfCode | ||
// }, | ||
// true | ||
// ) | ||
return Promise.resolve(); | ||
}; | ||
@@ -77,4 +81,4 @@ /** | ||
IntfPlatform.bussiness = function (intfCode, code, param) { | ||
var _this = this; | ||
// 校验接口是否有权限 | ||
var _this = this; | ||
var mode = IntfPlatform.GetInterfaceType(intfCode); | ||
@@ -81,0 +85,0 @@ // switch (mode) { |
{ | ||
"name": "@imedx/ics-imedx-chromely-plugin-intf-platform", | ||
"version": "0.0.2-beta.13", | ||
"version": "0.0.2-beta.14", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100116
1245