add reg
Merge branch 'reg'
add flash and error tips
router
router