root hace 5 años
padre
commit
823e0fbbed
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      addons/zh_jdgjb/wxapp.php

+ 1 - 2
addons/zh_jdgjb/wxapp.php

xqd
@@ -903,8 +903,7 @@ public function doPageMyOrder(){
 public function doPageOrderDetails(){
 	global $_GPC, $_W;
 	$res=pdo_get('zh_jdgjb_order',array('id'=>$_GPC['order_id']));
-	print_r(strtotime($res['arrive_time']));die;
-	if (time() > (strtotime($res['arrive_time']) - 43200)) {
+	if (time() > (strtotime($res['arrival_time']) - 43200)) {
 	    $res['can_refund'] = 0;
     } else {
         $res['can_refund'] = 1;