This commit is contained in:
邹宗楠
2023-07-14 16:01:02 +08:00
parent 9c5fd65a65
commit b0dffe1c69
8 changed files with 35 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ func TestRetailDiscountBatchSave(t *testing.T) {
}
func TestRetailDiscountList(t *testing.T) {
result, err := api.RetailDiscountList("8694203", RetailActTypeSecKill)
result, err := api.RetailDiscountList("9202390", RetailActTypeSecKill)
if err != nil {
t.Fatal(err)
}

View File

@@ -8,10 +8,10 @@ import (
func TestBillList(t *testing.T) {
now := time.Now()
from := time.Date(now.Year(), now.Month(), now.Day()-8, 0, 0, 0, 0, time.Local)
to := time.Date(now.Year(), now.Month(), now.Day()-2, 23, 59, 59, 59, time.Local)
from := time.Date(now.Year(), now.Month(), now.Day()-7, 0, 0, 0, 0, time.Local)
to := time.Date(now.Year(), now.Month(), now.Day()-1, 23, 59, 59, 59, time.Local)
param := &Bill{
AppPoiCode: "7379574",
AppPoiCode: "9202390",
StartDate: from.Unix(),
EndDate: to.Unix(),
Offset: 0,