This commit is contained in:
邹宗楠
2022-06-30 09:34:14 +08:00
parent 4e5246cbda
commit 9339f35c11
2 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ func QueryExpressPrice(param *bida.GetExpressPriceReq) (map[string]*bida.GetExpr
param.Type = i
fee, err := api.QBiDaAPI.GetExpressPrice(param)
if err != nil {
return nil, err
continue
}
if fee.Code != 0 {
result[fmt.Sprintf("%d", i)] = fee

View File

@@ -24,9 +24,9 @@ type QBiDaExpressController struct {
// @Param sendAddress formData string true "寄件人地址"
// @Param type formData int false "快递公司"
// @Param weight formData int true "重量kg"
// @Param length formData int true "所有包裹累计长"
// @Param width formData int true "所有包裹累计宽"
// @Param height formData int true "所有包裹累计高"
// @Param length formData int false "所有包裹累计长"
// @Param width formData int false "所有包裹累计宽"
// @Param height formData int false "所有包裹累计高"
// @Param sendPhone formData string true "寄件人手机号"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult