router/api-router.go:218。controller.UpdateOption,controller/option.go:182。option:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location --request PUT '/api/option/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"key": "string",
"value": null,
"property1": "string",
"property2": "string"
}'{
"code": "string",
"message": "string",
"success": true,
"property1": "string",
"property2": "string"
}