add cookie class

1、add cookie class
2、router add get cookie function