add mysql support and get token from mysql; update platform value(1 as dev)