feat:增加用户资产和会员状态
This commit is contained in:
9
utils/time_test.go
Normal file
9
utils/time_test.go
Normal file
@ -0,0 +1,9 @@
|
||||
package utils
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestDiffTimeDays(t *testing.T) {
|
||||
time1 := DateTimeToTime("2022-05-06 23:59:59")
|
||||
time2 := DateTimeToTime("2022-05-04 01:59:59")
|
||||
t.Log(DiffTimeDays(time1, time2))
|
||||
}
|
Reference in New Issue
Block a user