开发sf制造模块权限角色

This commit is contained in:
qihao.gong@jikimo.com
2023-11-21 17:42:36 +08:00
parent 580f95f338
commit e6bb5db0e1
13 changed files with 162 additions and 52 deletions

View File

@@ -1 +1 @@
from. import common
from . import common

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