订单超时,状态修改

This commit is contained in:
richboo111
2022-08-19 16:39:22 +08:00
parent 019f363268
commit 4eb9a1a1c2
2 changed files with 8 additions and 3 deletions

View File

@@ -17,8 +17,8 @@ func init() {
func TestGenOrderNo(t *testing.T) {
loc, _ := time.LoadLocation("Local")
t1, _ := time.ParseInLocation("20060102150405", time.Unix(1654510539,0).Format("20060102150405"), loc)
fmt.Println("t1",t1)
t1, _ := time.ParseInLocation("20060102150405", time.Unix(1654510539, 0).Format("20060102150405"), loc)
fmt.Println("t1", t1)
}
func TestGetAvailableDeliverTime(t *testing.T) {
@@ -28,3 +28,7 @@ func TestGetAvailableDeliverTime(t *testing.T) {
}
t.Log(utils.Format4Output(timeInfo, false))
}
func TestChangeStatus(t *testing.T) {
err := changeOrderStatus("88398619646640", 115, "")
fmt.Println(err)
}