Example #1
0
    def post(self):
        self.data = self.get_body_argument("callingParty")
        self.data1 = self.get_body_argument("callendParty")
        self.write("发送成功")
        global GPS_pid
        GPS_pid = 123
        print(GPS_pid)
        recv_ip = "192.168.1.45"
        rcu = "r105.pdt.cn"
        lai = '105'
        GPS.GPS_Signal(self.data, self.data1, recv_ip, rcu, lai).start()

        os.system("python GPS.py {} {}".format(self.data, self.data1))