|
@@ -351,6 +351,9 @@ Page({
|
|
|
var addressId = wx.getStorageSync('addressId');
|
|
|
if (addressId === "") {
|
|
|
addressId = 0;
|
|
|
+ }else if (typeof addressId === 'number') {
|
|
|
+ } else if ( (typeof addressId === 'string'&& addressId.indexOf("{") !== -1)||addressId.length>20) {
|
|
|
+ addressId = JSON.parse(addressId).id;
|
|
|
}
|
|
|
var couponId = wx.getStorageSync('couponId');
|
|
|
if (couponId === "") {
|