This commit is contained in:
gazebo
2019-03-28 08:54:46 +08:00
parent ea13a07fea
commit 27f22b8e9a
3 changed files with 9 additions and 2 deletions

View File

@@ -44,3 +44,10 @@ func TestOrderBatchPullPhoneNumber(t *testing.T) {
}
// t.Log(utils.Format4Output(result, false))
}
func TestOrderConfirm(t *testing.T) {
err := api.OrderConfirm(24617230733961993)
if err != nil {
t.Fatal(err)
}
}

View File

@@ -10,7 +10,7 @@ const (
)
const (
PeiSongTypeSelf = "0000"
PeiSongTypeSelf = "0000" // 商家自配
PeiSongTypeQuHuo = "0002" // 趣活
PeiSongTypeDada = "0016" // 达达
PeiSongTypeE = "0033" // E代送

View File

@@ -178,7 +178,7 @@ func TestTrimBlanChar(t *testing.T) {
func TestStruct2MapByJson(t *testing.T) {
mapData := Struct2MapByJson(&struct {
IntData int `structs:"dataInt"`
StrData string `json:"dataStr"`
StrData string `json:"-"`
}{
IntData: 1,
StrData: "2",