|
|
@ -31,9 +31,9 @@ class Template extends Controller |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function list(): Json |
|
|
|
public function list(): Json |
|
|
|
{ |
|
|
|
{ |
|
|
|
$merchantId = $this->request->param("merchantId"); |
|
|
|
//$merchantId = $this->request->param("merchantId"); |
|
|
|
$model = new PaymentTemplateModel; |
|
|
|
$model = new PaymentTemplateModel; |
|
|
|
$list = $model->getList($merchantId); |
|
|
|
$list = $model->getList($this->merchantId); |
|
|
|
return $this->renderSuccess(compact('list')); |
|
|
|
return $this->renderSuccess(compact('list')); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|