仿 https://pastebin.com/ 的笔记
The preferred way to install this extension is through composer.
Either run
$ composer require yuncms/yii2-note
or add
"yuncms/yii2-note": "~2.0.0"
to the require
section of your composer.json
file.
笔记Url规则
'notes/<page:\d+>' => 'note/note/index',
'notes/create' => 'note/note/create',
'notes' => 'note/note/index',
'notes/<uuid:[\w+]+>/print' => 'note/note/print',
'notes/<uuid:[\w+]+>/download' => 'note/note/download',
'note/<uuid:[\w+]+>' => 'note/note/view',
This is released under the MIT License. See the bundled LICENSE.md for details.