Commits

zuroc committed 8217151

fix

  • Participants
  • Parent commits 6d7acd0

Comments (0)

Files changed (1)

 
 
 @urlmap('/vps/search')
-class Vps(Base):
+class VpsSearch(Base):
     def get(self):
         q = self.get_argument('q', '')
         if q:
+
             if '@' in q:
                 pass
             elif '.' in q:
                 q = re.search('\d+', q).group()
                 if q:
                     pass
+
         self.render()
         #<form method="POST" action="/zsite/user_search" class="search"><input type="text" id="search" name="q" placeholder="IP / 编号 / 用户邮箱" value=""><input type="submit" value="" class="search_btn"></form>