bugfix spider&front need data
make code better
bugfix strict code
bugfix api att type can null
bugfix widget title->text
bugfix handle error while init session