def METHOD_NAME(self, request):
    ser = StrategyCreateSerializer(data=request.data)
    try:
        if ser.is_valid(True):
            pass
    except ValidationError as e:
        return R.failure(data=e.detail)
    strategy = IastStrategyModel.objects.create(**ser.validated_data, user=request.user, dt=time.time())
    strategy.save()
    content = IastStrategyUser.objects.get(pk=5).content.split(",")
    if str(strategy.id) not in content:
        content.append(str(strategy.id))
    IastStrategyUser.objects.filter(pk=5).update(content=",".join(content))
    for language in IastProgramLanguage.objects.all():
        HookType.objects.create(
            type=3,
            name=ser.validated_data["vul_name"],
            value=ser.validated_data["vul_type"],
            enable=1,
            create_time=time.time(),
            update_time=time.time(),
            created_by=request.user.id,
            language=language,
            vul_strategy=strategy,
        )
        HookType.objects.create(
            type=4,
            name=ser.validated_data["vul_name"],
            value=ser.validated_data["vul_type"],
            enable=1,
            create_time=time.time(),
            update_time=time.time(),
            created_by=request.user.id,
            language=language,
            vul_strategy=strategy,
        )
    return R.success(data=StrategySerializer(strategy).data)