正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -498,7 +498,7 @@ class Common extends Api | @@ -498,7 +498,7 @@ class Common extends Api | ||
498 | if (!$IsUpdateAgreement) { | 498 | if (!$IsUpdateAgreement) { |
499 | $this->error('协议状态更改失败', 0); | 499 | $this->error('协议状态更改失败', 0); |
500 | } | 500 | } |
501 | - $res = Db::name('tuikuan')->where('OrderSn', $OrderInfo['OrderSn'])->where('seller_id', $IsSeller)->update(['status' => $params['status']]); | 501 | + $res = Db::name('tuikuan')->where('OrderSn', $OrderInfo['OrderSn'])->where('seller_id', $IsSeller)->update(['status' => $params['type']]); |
502 | if ($params['type'] == 1) { | 502 | if ($params['type'] == 1) { |
503 | $OrderSn = Db::name('agreement')->where('id', $params['id'])->find(); | 503 | $OrderSn = Db::name('agreement')->where('id', $params['id'])->find(); |
504 | $PayOrderInfo = Db::name('pay_order')->where('OrderSn', $OrderSn['OrderSn'])->where('type', 1)->find(); | 504 | $PayOrderInfo = Db::name('pay_order')->where('OrderSn', $OrderSn['OrderSn'])->where('type', 1)->find(); |
-
请 注册 或 登录 后发表评论