package api

import (
	"net/http"

	"github.com/gin-gonic/gin"

	"chaitin.cn/patronus/safeline-2/management/webserver/api/response"
)

type PostBehaviourRequest struct {
	SrcRouter string `json:"src_router"`
	DstRouter string `json:"dst_router"`
}

func PostBehaviour(c *gin.Context) {
	var params PostBehaviourRequest
	if err := c.BindJSON(&params); err != nil {
		logger.Error(err)
		response.Error(c, response.ErrorParamNotOK, http.StatusInternalServerError)
		return
	}
	// Behaviour tracking disabled - just return success
	response.Success(c, nil)
}
