This commit is contained in:
苏尹岚
2020-12-24 14:30:27 +08:00
parent f71a758cc0
commit ccac6319a1
4 changed files with 38 additions and 15 deletions

View File

@@ -303,8 +303,8 @@ func (c *JobController) GetJdDelivery() {
})
}
// @Title 查询快递物流信息
// @Description 查询快递物流信息
// @Title 查询京东快递物流信息
// @Description 查询京东快递物流信息
// @Param token header string true "认证token"
// @Param vendorWaybillID query string false "运单号"
// @Success 200 {object} controllers.CallResult
@@ -317,6 +317,21 @@ func (c *JobController) GetDeliveryDetail() {
})
}
// @Title 查询所有快递物流信息 txcloud购买
// @Description 查询所有快递物流信息
// @Param token header string true "认证token"
// @Param vendorWaybillID query string false "运单号"
// @Param comType query string false "快递公司编码"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetAllDeliveryDetail [get]
func (c *JobController) GetAllDeliveryDetail() {
c.callGetAllDeliveryDetail(func(params *tJobGetAllDeliveryDetailParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetAllDeliveryDetail(params.Ctx, params.VendorWaybillID, params.ComType)
return retVal, "", err
})
}
// @Title 京东快递物流超重验证
// @Description 京东快递物流超重验证
// @Param token header string true "认证token"