27 lines
689 B
Go
27 lines
689 B
Go
package mtwmapi
|
|
|
|
import (
|
|
"git.rosy.net.cn/baseapi/utils"
|
|
"git.rosy.net.cn/jx-callback/globals"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestBillList(t *testing.T) {
|
|
now := time.Now()
|
|
from := time.Date(now.Year(), now.Month(), now.Day()-5, 0, 0, 0, 0, time.Local)
|
|
to := time.Date(now.Year(), now.Month(), now.Day()-5, 23, 59, 59, 59, time.Local)
|
|
param := &Bill{
|
|
AppPoiCode: "16967920",
|
|
StartDate: from.Unix(),
|
|
EndDate: to.Unix(),
|
|
Offset: 0,
|
|
Limit: 200,
|
|
}
|
|
|
|
data, _ := api.GetStoreBillList(param)
|
|
globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data.Data[0], false))
|
|
// performanceServiceFee 订单配送费
|
|
// userPayShippingAmount 用户支付配送费
|
|
}
|