wupengfei 2 years ago
parent
commit
518c7256d9
2 changed files with 2 additions and 8 deletions
  1. 1 1
      .idea/workspace.xml
  2. 1 7
      application/api/controller/Qc.php

+ 1 - 1
.idea/workspace.xml

@@ -215,7 +215,7 @@
       <workItem from="1673052319155" duration="16867000" />
       <workItem from="1673226266250" duration="24113000" />
       <workItem from="1673312216057" duration="9503000" />
-      <workItem from="1673399011843" duration="15290000" />
+      <workItem from="1673399011843" duration="15582000" />
     </task>
     <servers />
   </component>

+ 1 - 7
application/api/controller/Qc.php

@@ -19,13 +19,7 @@ class Qc extends Base {
         $uid = $this->uid;
         $type = input('type',1);
         $id = input('id');
-        if(empty($id)) $this->error('参数错误');
-
-        $order_info = Db::name($type == 1 ? 'exchange_order' : 'magic_order')->field('express_send_no')->where('id',$id)->where('uid',$uid)->find();
-
-        if(empty($order_info['express_send_no'])){
-            $this->error('订单信息有误');
-        }
+        $order_info['express_send_no'] = 'JD0094442235226';
         $host = "https://wuliu.market.alicloudapi.com";//api访问链接
         $path = "/kdi";//API访问后缀
         $method = "GET";