...
|
...
|
@@ -127,7 +127,7 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
// 订单提交
|
|
|
submit(uid, cartType, p, remoteIp) {
|
|
|
if (p.addressId) {
|
|
|
p.addressId = crypto.decrypt('', `${p.addressId}`);
|
|
|
p.addressId = parseInt(crypto.decrypt('', `${p.addressId}`), 10);
|
|
|
}
|
|
|
|
|
|
return new EnsureApi(this.ctx).orderSubmitAsync(uid, cartType, p.addressId, p.deliveryTime,
|
...
|
...
|
|