优化代码格式

This commit is contained in:
jinling.yang
2023-11-23 17:38:30 +08:00
parent 45d04e1a05
commit e9be2e9c43
9 changed files with 12 additions and 50 deletions

View File

@@ -8,7 +8,7 @@ class Common(models.Model):
_name = 'sf.sync.common'
_description = u'公用类'
def get_headers(self,token, secret_key):
def get_headers(self, token, secret_key):
'''
获取requests中的heardes参数
'''
@@ -19,5 +19,3 @@ class Common(models.Model):
'TIMESTAMP': str(timestamp),
'checkstr': check_sf_str}
return headers