浏览代码

解除质押

afa 6 月之前
父节点
当前提交
ba86098b64
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Pledge.php

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

@@ -153,7 +153,7 @@ class Pledge extends Api
       {
             $pledge_id  = $this->request->post('pledge_id', 0, 'intval');
             $order_id  = $this->request->post('order_id/s', '');
-            if(empty($pledge_id) || empty($product_id)) $this->error(__("参数有误,无可用产品"));
+            if(empty($pledge_id) || empty($order_id)) $this->error(__("参数有误,无可用产品"));
             Db::startTrans();
             try {
                   // 质抵押订单