支持扩展
19
2024
04

51Tracking 快递接口 库

51Tracking 快递接口 库 setkey = function(apikey){ var http = web.rest.jsonLiteClient(); http.addHeaders = { "Content-Type":"application/json"; "Tracking-Api-Key":apikey; }; this.api_url = "https://api.51Tracking.com/v3/trackings"; this.send = http.api(this.api_url+"/{...}"); //test this.http = http; };

24
2024
03

aardio的mysql扩展

//入门importconsole;importmysql.client;/*MySQL快速入门https://learnxinyminutes.com/docs/zh-cn/sql-cn/https://quickref.me/mysql*/console.showLoading("正在连接测试数据库")vardbClient,err=mysql.client(server="db4free.net";//数据库服务器,可省略默认为localhostuid="aardio_mysql";//用户名,可省略默认为rootpwd="aardio.com";);if(!dbClient){console.log("如果是有人无聊修改了密码,请自行到db4free.net申请免费数据库")returnconsole.logPause(err);}//选择数据库dbClient.selectDb("aardio_mysql")//查询数据并返回记录集varresult=dbC