微信小程序,商城里的收货地址“使用微信收货地址”,省市不对

微信小程序里做了个商城,里面有个收货地址,可以直接拉起使用微信的收货地址,但是省市却不对。

基本个都跑去“山西大同”了!

在本地测试没问题,但是上架后在手机里就不行

求解!!

图片说明

 addAddresstap: function () {
        var that = this;
        wx.showModal({
            title: '提示',
            content: '是否使用微信收货地址',
            cancelText: '否',
            confirmText: '是',
            success: function (res) {
                if (res.confirm) {
                    wx.chooseAddress({
                        success: function (res) {
                            if (res) {
                                app.getOpenId(function (openId) {
                                    //处理添加收货地址
                                    var parameters = {
                                        openId: openId,
                                        shipTo: res.userName,
                                        address: res.detailInfo,
                                        cellphone: res.telNumber,
                                        city: res.cityName,
                                        county: res.countyName,
                                        shippingId: 0,
                                        regionId: 0,
                                        isDefault: 1
                                    }
                                    config.httpPost(app.getUrl(app.globalData.AddWXChooseAddress), parameters, function (sd) {
                                        if (sd.success) {
                                            config.httpGet(app.getUrl("ShippingAddress/GetShippingAddress"), { openId: openId, shippingId: sd.data }, function (sdata) {
                                                that.setData({
                                                    ShippingAddressInfo: sdata.data
                                                });
                                            });
                                        } else {
                                            wx.showToast({
                                                title: sd.msg,
                                                icon: 'success',
                                            })
                                        }
                                    });
                                });
                            }
                        }
                    });
                } else if (res.cancel) {
                    that.gotoAddress();
                }
            }
        })
    },

你在服务端输出parameters到一个文本里看看是什么内容,就能判断出来是微信返回的错了还是你服务端写入的错了