Commit be18439b16640ca3d984a935048532c864bbd06d

Authored by Administrator
1 parent c9cb9ad8

add similar products

Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
controllers/OrderController.php
@@ -522,7 +522,12 @@ @@ -522,7 +522,12 @@
522 $sender = \Yii::$app->sender; 522 $sender = \Yii::$app->sender;
523 $sender->send( 523 $sender->send(
524 $model->phone, 524 $model->phone,
525 - 'test content' 525 + $this->renderPartial(
  526 + '@common/mail/smsorder',
  527 + [
  528 + 'order_id' => $model->id,
  529 + ]
  530 + )
526 ); 531 );
527 } 532 }
528 } 533 }