File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,13 @@ class PushPlus {
73
73
extraMessage : response
74
74
} ;
75
75
}
76
+ if ( response . data . code === 905 ) {
77
+ return {
78
+ status : 205 ,
79
+ statusText : 'Error' ,
80
+ extraMessage : response
81
+ } ;
82
+ }
76
83
return {
77
84
status : 100 ,
78
85
statusText : 'Error' ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " all-pusher-api" ,
3
- "version" : " 1.4.1 " ,
3
+ "version" : " 1.4.2 " ,
4
4
"description" : " 统一化推送服务API." ,
5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -85,6 +85,13 @@ class PushPlus {
85
85
extraMessage : response
86
86
} ;
87
87
}
88
+ if ( response . data . code === 905 ) {
89
+ return {
90
+ status : 205 ,
91
+ statusText : 'Error' ,
92
+ extraMessage : response
93
+ } ;
94
+ }
88
95
return {
89
96
status : 100 ,
90
97
statusText : 'Error' ,
You can’t perform that action at this time.
0 commit comments