开发sf制造模块权限角色
This commit is contained in:
@@ -1 +1 @@
|
||||
from. import common
|
||||
from . import common
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user