productId字段类型修改

This commit is contained in:
wukesheng 2024-06-25 17:01:52 +08:00
parent a88648153f
commit 84fadc17b0
2 changed files with 19 additions and 1 deletions

View File

@ -55,3 +55,21 @@ func (a *apiClientSuite) Test_GenerateH5Link() {
}
a.T().Logf("=====[TestGenerateH5Link] resp: %+v, err: %v", resp, err)
}
func (a *apiClientSuite) Test_QueryOrderList() {
ctx := context.Background()
req := QueryOrderListRequest{
Page: 1,
Size: 100,
StartTime: time.Unix(1714492800, 0),
EndTime: time.Unix(1717171199, 0),
}
opt := model.Option{
Timeout: time.Second * 10,
}
resp, err := a.api.QueryOrderList(ctx, req, opt)
if !a.NoError(err) {
a.T().Errorf("=====[TestGenerateH5Link] err: %v", err)
}
a.T().Logf("=====[TestGenerateH5Link] resp: %+v, err: %v", resp, err)
}

View File

@ -11,7 +11,7 @@ type ResponseOrderItem struct {
// `393`: 滴滴货运<br>
// `500`: 花小猪<br>
// `120`: 滴滴代驾
ProductId string `json:"product_id"`
ProductId int64 `json:"product_id"`
// 支付时间
PayTime int64 `json:"pay_time"`
// 支付金额,单位:分