中控对接接口优化
This commit is contained in:
@@ -256,7 +256,7 @@ class ToolGroups(models.Model):
|
||||
|
||||
# ==========机床刀具组接口==========
|
||||
def _register_tool_groups(self, obj):
|
||||
create_url = '/AutoDeviceApi/MaintenanceToolGroups'
|
||||
create_url = '/AutoDeviceApi/MachineToolGroup'
|
||||
sf_sync_config = self.env['res.config.settings'].get_values()
|
||||
token = sf_sync_config['token']
|
||||
sf_secret_key = sf_sync_config['sf_secret_key']
|
||||
|
||||
Reference in New Issue
Block a user