wugg 4 months ago
parent
commit
9b107e159f
1 changed files with 7 additions and 0 deletions
  1. 7 0
      app/cxinv/controller/Trade.php

+ 7 - 0
app/cxinv/controller/Trade.php

@@ -183,6 +183,13 @@ class Trade extends Base{
         return success("删除成功");
     }
 
+    public function info(){
+        $tradNo = $this->request->post('tradNo','','trim');
+        if($tradNo =='') return error('参数错误');
+        $info = $this->model->with(["lib"])->where(['tradNo'=>$tradNo,'is_del'=>0])->findOrEmpty();
+        return success('查询成功',$info);
+    }
+
     public function PoolList(){
         $params=$this->request->param(["logNo"=>"","status"=>"","name"=>"","bank"=>"","start"=>"","end"=>"","companyNo"=>"",
         "page"=>1,"size"=>20,'apply_id'=>"",'orderCode'=>'','platform_type'=>'',"relaComNo"=>"",'cxCode'=>'',"pcCode"=>"",