清理 oat告警,update napi/query_syscap.js.

Signed-off-by: 严学舟 <yangang20@huawei.com>
This commit is contained in:
严学舟
2024-01-10 09:08:22 +00:00
committed by Gitee
parent d177fced14
commit c908d9c840
+17 -2
View File
@@ -1,7 +1,22 @@
/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// 首先需要通过requireInternal函数加载本模块
const systemCapability = requireInternal('systemCapability');
// 这里定义了模块对外暴露的所有api
export default {
querySystemCapabilities: systemCapability.querySystemCapabilities
}
querySystemCapabilities: systemCapability.querySystemCapabilities
};