Skip to content

Commit 01e84e6

Browse files
author
dompling
committed
fix
1 parent 42e0f75 commit 01e84e6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

message/sms.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@
44
description: 提取快递短信取件码
55
icon: terminal
66
category: 工具
7-
version: 1.0.1
7+
version: 1.0.2
88
*/
99

1010
function main() {
11-
if (!sms.checkAccess()) {
12-
console.error("没有短信访问权限");
13-
return;
14-
}
15-
1611
const messages = sms.read(20);
1712
if (!messages || messages.length === 0) {
1813
console.log("未读取到短信");

0 commit comments

Comments
 (0)