wangtengyu
2018-12-07 f459412e0dac4ed94106da043b4c6f8576bfe496
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
 
/**
 * 检查支付状态
*/
    define('IN_ECS', true);
    require('includes/init.php');
    $order_sn=$_GET['order_sn'];
    $sql="SELECT 
        pay_status
    FROM ".$ecs->table('order_info')." WHERE order_sn='$order_sn'";
    $pay_status=$db ->getRow($sql);
    print_r(json_encode($pay_status));
?>