ck 4 năm trước cách đây
mục cha
commit
286dda85e4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      handlers/GitHookHandler.py

+ 1 - 1
handlers/GitHookHandler.py

@@ -5,7 +5,7 @@ from model import DingTalkUtils
 
 class DataCenerHook(BaseHandler):
 
-    def get(self):
+    def post(self):
         os.system('cd /home/qc/DataCenter')
         val= os.popen('git pull')
         self.write('ok')