代码


// 引入SDK核心类var QQMapWX = require('xxx/qqmap-wx.js'); // 实例化API核心类var demo = new
QQMapWX({    key: '开发密钥(key)' // 必填}); // 调用接口demo.getSuggestion({    keyword:
'技术',    success: function(res) {        console.log(res);    },    fail:
function(res) {        console.log(res);    },    complete: function(res) {
        console.log(res);    }});





扫描测试