You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
608 B

  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Qiu Song
  5. * Date: 2016/11/07
  6. * Time: 15:00
  7. */
  8. header("Content-type:text/html;charset=utf-8");
  9. require_once __DIR__.'/../Common/Mysql.php';
  10. date_default_timezone_set('Asia/Shanghai');
  11. $pdo=conn();
  12. $sql = " SELECT UNIQUE_ID ".
  13. " FROM base_unique_id2 ".
  14. " WHERE ID = 1 ";
  15. $result=$pdo->query($sql);
  16. if( false == $result ) {
  17. exit();
  18. }
  19. $rowset=$result->fetchAll();
  20. $unique_id = $rowset[0]["UNIQUE_ID"];
  21. if( strlen($unique_id) < 6 ) {
  22. sendTelMessage("13816608252", "aaa", "订单号发生异常", 1234);
  23. } else {
  24. echo "normal";
  25. }
  26. exit();