gitlink仓库内部传递不用校验
This commit is contained in:
parent
d5f54f0e64
commit
d3f71ad063
|
@ -83,9 +83,9 @@ class Project(Controller):
|
|||
if item.code_china_address:
|
||||
if not gitcode.check_gitcode_address(item.code_china_address):
|
||||
raise ErrorTemplate.ARGUMENT_ERROR("CodeChina仓库")
|
||||
if item.gitlink_address:
|
||||
if not gitlink.check_gitlink_address(item.gitlink_address):
|
||||
raise ErrorTemplate.ARGUMENT_ERROR("Gitlink仓库")
|
||||
# if item.gitlink_address:
|
||||
# if not gitlink.check_gitlink_address(item.gitlink_address):
|
||||
# raise ErrorTemplate.ARGUMENT_ERROR("Gitlink仓库")
|
||||
|
||||
service = ProjectService()
|
||||
resp = await service.insert_project(item)
|
||||
|
|
Loading…
Reference in New Issue