This commit is contained in:
2022-09-11 16:31:32 +08:00
parent fece483438
commit 240684b68d
3 changed files with 26 additions and 20 deletions

View File

@@ -61,6 +61,7 @@ func (a *Api) GetExpressPrice(param *GetExpressPriceReq) (*GetExpressPriceRes, e
return resultData, nil
}
// CreateOrder 创建订单
func (a *Api) CreateOrder(param *MakeOrderReq) (string, error) {
if err := a.CheckTokenExpiration(); err != nil {

View File

@@ -53,7 +53,7 @@ type GetExpressPriceData struct {
InsuredMsg string `json:"insuredMsg"`
IsInsured bool `json:"isInsured"`
LimitWeight int `json:"limitWeight"`
OriginalFee int `json:"originalFee"` // 原价
OriginalFee interface{} `json:"originalFee"` // 原价
PriceA float64 `json:"priceA"` // 价格a
PriceB float64 `json:"priceB"` // 价格b
Remark string `json:"remark"` // 备注

View File

@@ -1,6 +1,7 @@
package showapi
import (
"fmt"
"testing"
"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)
}