router/channel-router.go:76。ChannelWrite;服务端同时检查角色与 Casbin 授权。controller.EditTagChannels,controller/channel.go:972。channel:write。PAT 还必须满足接口的角色、资源归属与权限要求。Authorization: Bearer ********************curl --location --request PUT '/api/channel/tag' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tag": "string",
"new_tag": "string",
"priority": 0,
"weight": 0,
"model_mapping": "string",
"models": "string",
"groups": "string",
"param_override": "string",
"header_override": "string",
"property1": "string",
"property2": "string"
}'{
"message": "string",
"success": true,
"property1": "string",
"property2": "string"
}