wuwei
2025-05-30 9084e3393212d75a758c8e6a28c665ddcc5fc03b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# ETC
echo -en "Content-type: text/html; charset=utf-8\n\n"
#*****************************************************
source ../bin/env.sh
db="../bin/db"
 
result=`grep  code /tmp/test_post.log`
if [ $? -eq 0 ]
then
    echo $result  
else 
    echo "{\"info\":\"推送失败,无结果\"}"
fi
 
#echo "query db net: $context" > log