...
|
...
|
@@ -498,7 +498,7 @@ class Common extends Api |
|
|
if (!$IsUpdateAgreement) {
|
|
|
$this->error('协议状态更改失败', 0);
|
|
|
}
|
|
|
$res = Db::name('tuikuan')->where('OrderSn', $OrderInfo['OrderSn'])->where('seller_id', $IsSeller)->update(['status' => $params['status']]);
|
|
|
$res = Db::name('tuikuan')->where('OrderSn', $OrderInfo['OrderSn'])->where('seller_id', $IsSeller)->update(['status' => $params['type']]);
|
|
|
if ($params['type'] == 1) {
|
|
|
$OrderSn = Db::name('agreement')->where('id', $params['id'])->find();
|
|
|
$PayOrderInfo = Db::name('pay_order')->where('OrderSn', $OrderSn['OrderSn'])->where('type', 1)->find();
|
...
|
...
|
|