This commit is contained in:
邹宗楠
2023-08-22 16:20:36 +08:00
parent 0802af86e4
commit fe68387bf9
4 changed files with 16 additions and 14 deletions

View File

@@ -8,14 +8,15 @@ import (
func TestBillList(t *testing.T) {
now := time.Now()
from := time.Date(now.Year(), now.Month(), now.Day()-7, 0, 0, 0, 0, time.Local)
from := time.Date(now.Year(), now.Month(), now.Day()-2, 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: "9202390",
StartDate: from.Unix(),
EndDate: to.Unix(),
Offset: 0,
Limit: 200,
AppPoiCode: "18833517",
StartDate: from.Unix(),
EndDate: to.Unix(),
Offset: 0,
Limit: 200,
AccessToken: api.token,
}
data, settleId, err := api.GetStoreBillList(param)