@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | $subject = view( |
| 41 | 41 | array( |
| 42 | 42 | 'template' => $subject_template, |
| 43 | - 'cache_key' => uniqid() . rand(), |
|
| 43 | + 'cache_key' => uniqid().rand(), |
|
| 44 | 44 | 'updated_at' => 0 |
| 45 | 45 | ), |
| 46 | 46 | $data |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | |
| 81 | 81 | $model = $this->model->initByTemplate($view); |
| 82 | - $template = $model->where('action',$view)->get()->last(); |
|
| 82 | + $template = $model->where('action', $view)->get()->last(); |
|
| 83 | 83 | $plain = (!empty($template)) ? $template->getPlain() : $plain; |
| 84 | 84 | |
| 85 | 85 | if (!empty($template)) |