Skip to content

Commit

Permalink
fix: 删除多余code --story=121224121
Browse files Browse the repository at this point in the history
  • Loading branch information
guohelu authored and normal-wls committed Dec 26, 2024
1 parent 9c0995a commit 337d2dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion gcloud/contrib/template_market/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class SceneLabelSerializer(serializers.Serializer):

class FileUploadAddrSerializer(serializers.Serializer):
scene_type = serializers.CharField(required=True, help_text="场景类型")
scene_code = serializers.CharField(required=True, help_text="场景标识")
file_name = serializers.CharField(required=True, help_text="文件名称")


Expand Down
1 change: 0 additions & 1 deletion gcloud/contrib/template_market/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def get_file_upload_addr(self, request, *args, **kwargs):
serializer.is_valid(raise_exception=True)
params = {
"scene_type": serializer.validated_data["scene_type"],
"scene_code": serializer.validated_data["scene_code"],
"file_name": serializer.validated_data["file_name"],
}
client = self.market_client(username=request.user.username)
Expand Down

0 comments on commit 337d2dc

Please sign in to comment.