mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-17 17:24:27 +08:00
feat: 屏蔽新增的接口
This commit is contained in:
@@ -465,9 +465,16 @@ let modWindowHeight = height => {
|
|||||||
// 屏蔽危险函数
|
// 屏蔽危险函数
|
||||||
getuToolsLite = () => {
|
getuToolsLite = () => {
|
||||||
var utoolsLite = Object.assign({}, utools)
|
var utoolsLite = Object.assign({}, utools)
|
||||||
|
// 数据库相关接口
|
||||||
delete utoolsLite.db
|
delete utoolsLite.db
|
||||||
|
delete utoolsLite.dbStorage
|
||||||
delete utoolsLite.removeFeature
|
delete utoolsLite.removeFeature
|
||||||
delete utoolsLite.setFeature
|
delete utoolsLite.setFeature
|
||||||
|
// 支付相关接口
|
||||||
|
delete utoolsLite.fetchUserServerTemporaryToken
|
||||||
|
delete utoolsLite.getUser
|
||||||
|
delete utoolsLite.openPayment
|
||||||
|
delete utoolsLite.fetchUserPayments
|
||||||
return utoolsLite
|
return utoolsLite
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user