lgq
2025-05-26 0e3ba084acf8e7b880a19ef6107d77a8cab1f83a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# 端口配置-保存
#
echo -en "Content-type: text/html; charset=utf-8\n\n"
#*****************************************************
source ../bin/env.sh
db="../bin/db"
jsoner="../bin/jsoner"
 
 
read content
 
echo "$content" > /tmp/gs_http
 
if [ $? -eq 0 ]
then
    echo "{\"code\": \"success\"}"
else
    echo "{\"code\": \"error\"}"
fi