Skip to content

Commit 7f066ac

Browse files
committed
修复错误信息
1 parent e6f40db commit 7f066ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-lives/byte",
33
"description": "抖音小程序(支付、手机号解密、获取Token、支付异步通知、退款、订单查询、分账、模版消息)",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"type": "library",
66
"license": "MIT",
77
"authors": [{

src/Byte.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static function init($config)
4141
throw new \Exception('not empty notify_url');
4242
}
4343
if (empty($config['token'])) {
44-
throw new \Exception('not empty notify_url');
44+
throw new \Exception('not empty token');
4545
}
4646
$class = new self();
4747
$class->app_id = $config['app_id'];

0 commit comments

Comments
 (0)