|
@@ -315,9 +315,17 @@ function getResult(pushInfo, textType) {
|
|
|
for (var i = 0; i < pushInfo.length; i++) {
|
|
|
if (pushInfo[i].content.max >= num >= pushInfo[i].content.min) {
|
|
|
if (tmp) {
|
|
|
- result = pushInfo[i].result + '(' + num + ')' + ';' + tmp
|
|
|
+ if (num == 0){
|
|
|
+ result = pushInfo[i].result + ';' + tmp
|
|
|
+ }else{
|
|
|
+ result = pushInfo[i].result + '(' + num + ')' + ';' + tmp
|
|
|
+ }
|
|
|
} else {
|
|
|
- result = pushInfo[i].result + '(' + num + ')'
|
|
|
+ if (num == 0) {
|
|
|
+ result = pushInfo[i].result
|
|
|
+ } else {
|
|
|
+ result = pushInfo[i].result + '(' + num + ')'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|