|
|
@ -34,7 +34,7 @@ class Payment extends Controller |
|
|
|
{ |
|
|
|
{ |
|
|
|
$model = new PaymentModel; |
|
|
|
$model = new PaymentModel; |
|
|
|
$postform = $this->postForm(); |
|
|
|
$postform = $this->postForm(); |
|
|
|
$postform['merchant_id'] = $this->merchantId; |
|
|
|
//$postform['merchant_id'] = $this->merchantId; |
|
|
|
if ($model->updateOptions($postform, $this->merchantId)) { |
|
|
|
if ($model->updateOptions($postform, $this->merchantId)) { |
|
|
|
return $this->renderSuccess('更新成功'); |
|
|
|
return $this->renderSuccess('更新成功'); |
|
|
|
} |
|
|
|
} |
|
|
|