view.php 614 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. use yii\widgets\DetailView;
  3. /* @var $this yii\web\View */
  4. /* @var $model backend\models\Admin */
  5. //$this->title = '操作记录: '.$model->title;
  6. $this->params['breadcrumbs'][] = ['label' => 'rabbitmq记录', 'url' => ['index']];
  7. //$this->params['breadcrumbs'][] = $this->title;
  8. ?>
  9. <div class="admin-view">
  10. <?= DetailView::widget([
  11. 'model' => $model,
  12. 'attributes' => [
  13. 'id',
  14. 'channel',
  15. 'queue',
  16. 'msg_delivery_tag',
  17. 'describe',
  18. 'msg',
  19. 'msg_body',
  20. 'addtime',
  21. ],
  22. ]) ?>
  23. </div>