1
This commit is contained in:
@@ -86,3 +86,7 @@ func TestRefreshAccessToken(t *testing.T) {
|
|||||||
func TestPushPrintMsg(t *testing.T) {
|
func TestPushPrintMsg(t *testing.T) {
|
||||||
api.PushPrintMsg("2401171703736658807")
|
api.PushPrintMsg("2401171703736658807")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Test11(t *testing.T) {
|
||||||
|
fmt.Println(utils.Str2Float64(""))
|
||||||
|
}
|
||||||
|
|||||||
@@ -174,22 +174,6 @@ func TestGetOrderActDetaill(t *testing.T) {
|
|||||||
t.Log(utils.Format4Output(result, false))
|
t.Log(utils.Format4Output(result, false))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGetOrderIdByDaySeq(t *testing.T) {
|
|
||||||
result, err := api.GetOrderIdByDaySeq("8050205", utils.Str2Time("2021-02-21"), 1, MaxGap4GetOrderIdByDaySeq)
|
|
||||||
t.Log(utils.Format4Output(result, false))
|
|
||||||
if err != nil {
|
|
||||||
t.Fatal(err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestGetOrderIdByDaySeqSingle(t *testing.T) {
|
|
||||||
result, err := api.GetOrderIdByDaySeqSingle("17284266", utils.Time2Date(time.Now()), 1)
|
|
||||||
t.Log(utils.Format4Output(result, false))
|
|
||||||
if err != nil {
|
|
||||||
t.Fatal(err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestOrderRefundReject(t *testing.T) {
|
func TestOrderRefundReject(t *testing.T) {
|
||||||
err := api.OrderRefundReject(27058923254735296, "测试")
|
err := api.OrderRefundReject(27058923254735296, "测试")
|
||||||
// t.Log(utils.Format4Output(result, false))
|
// t.Log(utils.Format4Output(result, false))
|
||||||
|
|||||||
Reference in New Issue
Block a user