Authored by yyq

Merge branch 'hotfix/orderSubmit'

... ... @@ -15,6 +15,8 @@
<br>
<h2>文字链接:</h2>
<ul>
<li><a href="http://b2b.hc360.com" target="_blank">慧聪网供应信息</a></li>
<li><a href="http://www.manmanbuy.com" target="_blank">比价网</a></li>
<li><a href="//www.kuaidi100.com" target="_blank">快递查询</a></li>
</ul>
<h2>图片链接:</h2>
... ...
... ... @@ -60,7 +60,7 @@ module.exports = class extends global.yoho.BaseModel {
}
delAddressById(uid, id) {
id = crypto.decrypt('', `${id}`);
id = parseInt(crypto.decrypt('', `${id}`), 10);
return new AddressApi(this.ctx).delAddressAsync(uid, id);
}
... ... @@ -68,7 +68,7 @@ module.exports = class extends global.yoho.BaseModel {
let addressApiModel = new AddressApi(this.ctx);
if (info.id) {
let id = crypto.decrypt('', `${info.id}`);
let id = parseInt(crypto.decrypt('', `${info.id}`), 10);
return addressApiModel.updateAddressAsync(uid, id, info.consignee, info.areaCode, info.address,
info.mobile, info.phone, info.zipCode, info.email);
... ...