修改同步所有数据的按钮

This commit is contained in:
qihao.gong@jikimo.com
2023-06-08 09:36:42 +08:00
parent 9d1597089b
commit 99b89f2e15
86 changed files with 1 additions and 7848 deletions

View File

@@ -1028,7 +1028,6 @@ class MachineToolCategory(models.Model):
token = sf_sync_config['token']
sf_secret_key = sf_sync_config['sf_secret_key']
headers = Common.get_headers(self, token, sf_secret_key)
strUrl = sf_sync_config['sf_url'] + self.url
r = requests.post(strUrl, json={}, data=None, headers=headers)
r = r.json()