li sdk 软件开发工具包
Getting Started安装: npm install li-sdk --save var SDK = require('li-sdk'); var client=new SDK(settings,routes); Documentation ###构造函数SDK(options, routes) ####options { tbaseUrl:'http://127.0.0.1', tapiKey:'', t//other config }参数说明是否必填baseUrl api基础地址必填request请求对象function(requestOptions,callback) ; callback function(err,response,body){}可选#####routes var routes={ t"user.get":{ ttmethod:'GE
用户评论