Skip to content

【杰森气象】基于和风天气开发的微信小程序、天气查询、AQI指数、实时定位、7日天气预报、24h天气预报……

Notifications You must be signed in to change notification settings

PDPENG/jason-weather-share

Repository files navigation

快速访问

QR Code

和风天气key

// utils/private-key.js
export const privateKey = ''

export const freeKeyList = [
    ''
]

腾讯地图key

// utils/api.js

/**
 *  逆经纬度查询
 * @param {*} lat
 * @param {*} lon
 */
export const geocoder = (lat, lon, success = () => { }, fail = () => { }) => {
    return wx.request({
        url: 'https://apis.map.qq.com/ws/geocoder/v1/',
        data: {
            location: `${lat},${lon}`,
            key: '', //你申请的腾讯位置服务key(一定要绑定自己的小程序appid) https://lbs.qq.com/dev/console/application/mine
            get_poi: 0
        },
        success,
        fail
    })
}

联系开发者

gzh

菜单栏【联系作者】或【进交流群】

About

【杰森气象】基于和风天气开发的微信小程序、天气查询、AQI指数、实时定位、7日天气预报、24h天气预报……

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published