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