mirror of
https://github.com/emqx/neuron.git
synced 2026-10-29 15:09:11 +08:00
add(plugin Chinese description):modbus-tcp,ekuiper,mqtt,nano-mqtt
This commit is contained in:
@@ -150,6 +150,11 @@ int neu_json_encode_get_plugin_resp(void *json_object, void *param)
|
||||
.t = NEU_JSON_STR,
|
||||
.v.val_str = p_plugin_lib->description,
|
||||
},
|
||||
{
|
||||
.name = "description_zh",
|
||||
.t = NEU_JSON_STR,
|
||||
.v.val_str = p_plugin_lib->description_zh,
|
||||
},
|
||||
{
|
||||
.name = "kind",
|
||||
.t = NEU_JSON_INT,
|
||||
|
||||
@@ -51,6 +51,7 @@ typedef struct {
|
||||
char * name;
|
||||
char * library;
|
||||
char * description;
|
||||
char * description_zh;
|
||||
int64_t kind;
|
||||
int64_t node_type;
|
||||
} neu_json_get_plugin_resp_plugin_lib_t;
|
||||
|
||||
Reference in New Issue
Block a user