This commit is contained in:
gazebo
2019-07-24 18:20:15 +08:00
parent ac7c086b7a
commit c07b10ab16
4 changed files with 19 additions and 4 deletions

View File

@@ -186,6 +186,10 @@ func (c *DeliveryHandler) IsErrStoreNotExist(err error) bool {
return dadaapi.IsErrShopNotExist(err)
}
func (c *DeliveryHandler) IsErrStoreExist(err error) bool {
return dadaapi.IsErrShopExist(err)
}
func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInfo *partner.WaybillFeeInfo, err error) {
db := dao.GetDB()
deliveryFeeInfo = &partner.WaybillFeeInfo{}