Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend
This commit is contained in:
@@ -746,7 +746,7 @@ upf:
|
||||
display: "Udp Src Port"
|
||||
comment: "Udp Src Port"
|
||||
- name: "UdpListenPort"
|
||||
type: "string"
|
||||
type: "int"
|
||||
value: "2152"
|
||||
access: "read-write"
|
||||
filter: '1~65536'
|
||||
|
||||
@@ -81,4 +81,7 @@ ALTER TABLE `omc_db`.`param_config`
|
||||
ADD COLUMN IF NOT EXISTS `method` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' COMMENT 'method allow: \"get\", \"get,post,put\", \"*\"' AFTER `top_display`;
|
||||
|
||||
ALTER TABLE `omc_db`.`trace_data`
|
||||
MODIFY COLUMN `timestamp` bigint NULL DEFAULT NULL AFTER `msg_direct`;
|
||||
MODIFY COLUMN `timestamp` bigint NULL DEFAULT NULL AFTER `msg_direct`;
|
||||
|
||||
ALTER TABLE `omc_db`.`param_config`
|
||||
MODIFY COLUMN `method` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'method allow: \"get\", \"get,post,put\", \"delete\"' AFTER `top_display`;
|
||||
@@ -142,7 +142,7 @@ func PostParamConfigToNF(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
services.ResponseWithJson(w, response.StatusCode(), response)
|
||||
services.ResponseWithJson(w, http.StatusNoContent, response)
|
||||
}
|
||||
|
||||
func PutParamConfigToNF(w http.ResponseWriter, r *http.Request) {
|
||||
@@ -194,7 +194,7 @@ func PutParamConfigToNF(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
services.ResponseWithJson(w, response.StatusCode(), response)
|
||||
services.ResponseWithJson(w, http.StatusNoContent, response)
|
||||
}
|
||||
|
||||
func DeleteParamConfigToNF(w http.ResponseWriter, r *http.Request) {
|
||||
@@ -238,5 +238,5 @@ func DeleteParamConfigToNF(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
services.ResponseWithJson(w, response.StatusCode(), response)
|
||||
services.ResponseWithJson(w, http.StatusNoContent, response)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user