from handlers.HandlerBase import BaseHandler from model.DataBaseUtils import MysqlUtils class ApiHandler(BaseHandler,MysqlUtils): def post(self): print(self.get_args()) path=self.get_args()["path"] self.quchen_text.execute(f"replace into yangguang_path values ({path})")