demo merge into project

pull/103/head
Gordon 3 years ago
parent 140724d665
commit ace6ef0029

@ -16,7 +16,11 @@ service_port_name=(
openImSdkWsPort openImSdkWsPort
openImDemoPort openImDemoPort
) )
switch=$(cat $config_path | grep demoswitch |awk -F '[:]' '{print $NF}')
for i in ${service_port_name[*]}; do for i in ${service_port_name[*]}; do
if [[ ${switch} -ne true ]]&&[$i -eq openImDemoPort]; then
continue
fi
list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}') list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}')
list_to_string $list list_to_string $list
for j in ${ports_array}; do for j in ${ports_array}; do

Loading…
Cancel
Save