Skip to content

Commit 7265f96

Browse files
committed
1 parent 6ed810d commit 7265f96

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Task/weibo.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ const $ = new Env('新浪微博')
5252
const notify = $.isNode() ? require('./sendNotify') : '';
5353
let tokenArr = [],payArr = [];
5454
if ($.isNode()) {
55-
if (process.env.WB_TOKEN && process.env.WB_TOKEN.split('&') && process.env.WB_TOKEN.split('&').length > 0) {
56-
wbtoken = process.env.WB_TOKEN.split('&');
55+
if (process.env.WB_TOKEN && process.env.WB_TOKEN.split('#') && process.env.WB_TOKEN.split('#').length > 0) {
56+
wbtoken = process.env.WB_TOKEN.split('#');
5757
}
5858
else if (process.env.WB_TOKEN && process.env.WB_TOKEN.split('\n') && process.env.WB_TOKEN.split('\n').length > 0) {
5959
wbtoken = process.env.WB_TOKEN.split('\n');
6060
};
61-
if (process.env.WB_PAY && process.env.WB_PAY.split('&') && process.env.WB_PAY.split('&').length > 0) {
62-
wbPay = process.env.WB_PAY.split('&');
61+
if (process.env.WB_PAY && process.env.WB_PAY.split('#') && process.env.WB_PAY.split('#').length > 0) {
62+
wbPay = process.env.WB_PAY.split('#');
6363
}
6464
else if (process.env.WB_PAY && process.env.WB_PAY.split('\n') && process.env.WB_PAY.split('\n').length > 0) {
6565
wbPay = process.env.WB_PAY.split('\n');

0 commit comments

Comments
 (0)