getjd dele dta

This commit is contained in:
苏尹岚
2020-10-23 16:54:40 +08:00
parent b4eafb711f
commit 55a43504b6
2 changed files with 22 additions and 0 deletions

View File

@@ -267,3 +267,16 @@ func (c *JobController) GetJdDelivery() {
return retVal, "", err
})
}
// @Title 查询京东快递
// @Description 查询京东快递
// @Param token header string true "认证token"
// @Param vendorWaybillID query string false "运单号"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetJdDeliveryDetail [get]
func (c *JobController) GetJdDeliveryDetail() {
c.callGetJdDeliveryDetail(func(params *tJobGetJdDeliveryDetailParams) (retVal interface{}, errCode string, err error) {
return retVal, "", err
})
}

View File

@@ -268,6 +268,15 @@ func init() {
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JobController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JobController"],
beego.ControllerComments{
Method: "GetJdDeliveryDetail",
Router: `/GetJdDeliveryDetail`,
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JobController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:JobController"],
beego.ControllerComments{
Method: "GetJobCategories",