@@ -53,7 +53,7 @@ class PlayerController extends AbstractController
if(!$player_id || !$vote){
return AppResult::error('投票失败');
}
- if($vote <= 0){
+ if($vote <= 0 || $vote > 20){