stanley-king hace 9 años
padre
commit
676bd27cd8
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      mobile/control/bonusex.php
  2. 1 1
      mobile/templates/default/bonus/over.php

+ 2 - 2
mobile/control/bonusex.php

@@ -267,9 +267,9 @@ function bonus_output_grabinfo($output)
             $wait_min = intval($wait_sec / 60);
             $wait_sec = $wait_sec % 60;
             if($wait_min > 0) {
-                return "<p style=\"font-size:1rem;margin-top:2rem\">{$wait_min}分钟后,您可以尝试抢一个未及时领取的红包.</p>";
+                echo("<p style=\"font-size:1rem;margin-top:2rem\">{$wait_min}分钟后,您可以尝试抢一个未及时领取的红包.</p>");
             } else {
-                return "<p style=\"font-size:1rem;margin-top:2rem\">{$wait_sec}秒后,您可以尝试抢一个未及时领取的红包.</p>";
+                echo("<p style=\"font-size:1rem;margin-top:2rem\">{$wait_sec}秒后,您可以尝试抢一个未及时领取的红包.</p>");
             }
         }
     }

+ 1 - 1
mobile/templates/default/bonus/over.php

@@ -16,7 +16,7 @@
     <div class="content center">
         <div class="logo"></div>
         <div class="msg_bottom">
-            <?php echo bonus_output_grabinfo($output); ?>
+            <?php bonus_output_grabinfo($output); ?>
         </div>
         <div>
             <p class="look"><a href="<?php echo bonus_output_detailurl($output); ?>">查看领取详情></a></p>