...
|
...
|
@@ -56,9 +56,7 @@ Page({ |
|
|
editPageOnLoad: function (level,id) {
|
|
|
let params = {
|
|
|
fromPage: 'addressEditer',
|
|
|
id: id,
|
|
|
uid: '500031152',
|
|
|
debug: 'XYZ'
|
|
|
id: id
|
|
|
};
|
|
|
let that = this;
|
|
|
let api = new AddressService().yohoApi();
|
...
|
...
|
@@ -137,8 +135,6 @@ Page({ |
|
|
if (res.confirm) {
|
|
|
let params = {
|
|
|
id: that.data.editeAddressPage._id,
|
|
|
uid: "500031152",
|
|
|
debug: 'XYZ'
|
|
|
};
|
|
|
let api = new AddressService().yohoApi();
|
|
|
api.delAddressRequest(params)
|
...
|
...
|
@@ -184,9 +180,7 @@ Page({ |
|
|
mobile: this.data.editeAddressPage._mobile,
|
|
|
area_code: this.data.editeAddressPage._area_code,
|
|
|
address: this.data.editeAddressPage._detailAddress,
|
|
|
is_default:this.data.editeAddressPage._is_default,
|
|
|
uid: "500031152",
|
|
|
debug: 'XYZ'
|
|
|
is_default:this.data.editeAddressPage._is_default
|
|
|
};
|
|
|
|
|
|
let api = new AddressService().yohoApi();
|
...
|
...
|
@@ -215,9 +209,7 @@ Page({ |
|
|
area_code: this.data.editeAddressPage._area_code,
|
|
|
address: this.data.editeAddressPage._detailAddress,
|
|
|
is_default:this.data.editeAddressPage._is_default,
|
|
|
id: this.data.editeAddressPage._id,
|
|
|
uid: "500031152",
|
|
|
debug: 'XYZ'
|
|
|
id: this.data.editeAddressPage._id
|
|
|
};
|
|
|
let api = new AddressService().yohoApi();
|
|
|
api.updateAddressRequest(params)
|
...
|
...
|
|