- up
This commit is contained in:
@@ -44,3 +44,10 @@ func TestOrderBatchPullPhoneNumber(t *testing.T) {
|
|||||||
}
|
}
|
||||||
// t.Log(utils.Format4Output(result, false))
|
// t.Log(utils.Format4Output(result, false))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestOrderConfirm(t *testing.T) {
|
||||||
|
err := api.OrderConfirm(24617230733961993)
|
||||||
|
if err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
PeiSongTypeSelf = "0000"
|
PeiSongTypeSelf = "0000" // 商家自配
|
||||||
PeiSongTypeQuHuo = "0002" // 趣活
|
PeiSongTypeQuHuo = "0002" // 趣活
|
||||||
PeiSongTypeDada = "0016" // 达达
|
PeiSongTypeDada = "0016" // 达达
|
||||||
PeiSongTypeE = "0033" // E代送
|
PeiSongTypeE = "0033" // E代送
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ func TestTrimBlanChar(t *testing.T) {
|
|||||||
func TestStruct2MapByJson(t *testing.T) {
|
func TestStruct2MapByJson(t *testing.T) {
|
||||||
mapData := Struct2MapByJson(&struct {
|
mapData := Struct2MapByJson(&struct {
|
||||||
IntData int `structs:"dataInt"`
|
IntData int `structs:"dataInt"`
|
||||||
StrData string `json:"dataStr"`
|
StrData string `json:"-"`
|
||||||
}{
|
}{
|
||||||
IntData: 1,
|
IntData: 1,
|
||||||
StrData: "2",
|
StrData: "2",
|
||||||
|
|||||||
Reference in New Issue
Block a user