root 5 년 전
부모
커밋
823e0fbbed
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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;