()
| 7 | */ |
| 8 | class AddressComponent extends BaseComponent { |
| 9 | constructor(){ |
| 10 | super(); |
| 11 | this.tencentkey = 'RLHBZ-WMPRP-Q3JDS-V2IQA-JNRFH-EJBHL'; |
| 12 | this.tencentkey2 = 'RRXBZ-WC6KF-ZQSJT-N2QU7-T5QIT-6KF5X'; |
| 13 | this.tencentkey3 = 'OHTBZ-7IFRG-JG2QF-IHFUK-XTTK6-VXFBN'; |
| 14 | this.tencentkey4 = 'Z2BBZ-QBSKJ-DFUFG-FDGT3-4JRYV-JKF5O'; |
| 15 | this.baidukey = 'fjke3YUipM9N64GdOIh1DNeK2APO2WcT'; |
| 16 | // this.baidukey2 = 'fjke3YUipM9N64GdOIh1DNeK2APO2WcT'; |
| 17 | } |
| 18 | //获取定位地址 |
| 19 | async guessPosition(req){ |
| 20 | return new Promise(async (resolve, reject) => { |
nothing calls this directly
no outgoing calls
no test coverage detected