diff --git a/controllers/OrderController.php b/controllers/OrderController.php index 9e8b057..6070352 100755 --- a/controllers/OrderController.php +++ b/controllers/OrderController.php @@ -522,7 +522,12 @@ $sender = \Yii::$app->sender; $sender->send( $model->phone, - 'test content' + $this->renderPartial( + '@common/mail/smsorder', + [ + 'order_id' => $model->id, + ] + ) ); } } -- libgit2 0.21.4