lgq
2025-08-01 d43989f5891872c916d0d7efc11aa3f3930ab061
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
 
id=`$jsoner "$content" id`
 
echo "$content" > "/work/data/door$id"