当客户想要使用 http post 方法来更新远程服务器中的数据时,客户端需要将消息插入到请求正文。如今在物联网领域,想要注册到远程服务器的智能设备必须使用 http post 方法来完成应用程序实体注册。通常这些登记信息是由智能设备以 xml 格式发送武德和发送到远程服务器。现在我们提供简单的方法来创建一个 xml 文件,使用 dom4j lib。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001770s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.096032s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001091s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001199s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001037s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003316s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000921s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003732s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.016002s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001201s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 80033 [ RunTime:0.069973s ]