1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user