wupengfei 1 年之前
父節點
當前提交
b3821ed83c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Order.php

+ 1 - 1
.idea/workspace.xml

@@ -445,7 +445,7 @@
       <workItem from="1695085328694" duration="21844000" />
       <workItem from="1695603648860" duration="24367000" />
       <workItem from="1695689784219" duration="10180000" />
-      <workItem from="1695776444503" duration="596000" />
+      <workItem from="1695776444503" duration="639000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Order.php

@@ -536,7 +536,7 @@ class Order extends Base
         foreach ($list as &$info) {
             $auto_time = 86400 - (time() - strtotime($info['create_at'])) ;
             $info['auto_time'] = $auto_time  > 0  && $info['status'] == 0 ? $auto_time :0;
-            $info['expire_time'] = date('Y-m-d H:i:s',strtotime($info['create_at'],'+1 days'));
+            $info['expire_time'] = date('Y-m-d H:i:s',strtotime(strtotime($info['create_at']),'+1 days'));
             $bill_info = BillApply::field('id,header,type,phone,email,bank,card_no,identify_number,bill_img,remark')->where(['order_type'=>2,'order_id'=>$info['id']])->find();
             $info['bill_info'] = !empty($bill_info) ? $bill_info->toArray() : null;
             foreach ($info['order_item'] as &$v) {