1
This commit is contained in:
@@ -61,6 +61,7 @@ func (a *Api) GetExpressPrice(param *GetExpressPriceReq) (*GetExpressPriceRes, e
|
|||||||
return resultData, nil
|
return resultData, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// CreateOrder 创建订单
|
// CreateOrder 创建订单
|
||||||
func (a *Api) CreateOrder(param *MakeOrderReq) (string, error) {
|
func (a *Api) CreateOrder(param *MakeOrderReq) (string, error) {
|
||||||
if err := a.CheckTokenExpiration(); err != nil {
|
if err := a.CheckTokenExpiration(); err != nil {
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ type GetExpressPriceData struct {
|
|||||||
InsuredMsg string `json:"insuredMsg"`
|
InsuredMsg string `json:"insuredMsg"`
|
||||||
IsInsured bool `json:"isInsured"`
|
IsInsured bool `json:"isInsured"`
|
||||||
LimitWeight int `json:"limitWeight"`
|
LimitWeight int `json:"limitWeight"`
|
||||||
OriginalFee int `json:"originalFee"` // 原价
|
OriginalFee interface{} `json:"originalFee"` // 原价
|
||||||
PriceA float64 `json:"priceA"` // 价格a
|
PriceA float64 `json:"priceA"` // 价格a
|
||||||
PriceB float64 `json:"priceB"` // 价格b
|
PriceB float64 `json:"priceB"` // 价格b
|
||||||
Remark string `json:"remark"` // 备注
|
Remark string `json:"remark"` // 备注
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package showapi
|
package showapi
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
@@ -49,3 +50,7 @@ func TestSplitProductSpec(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Test111(t *testing.T) {
|
||||||
|
fmt.Println(23&16!=0)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user