Commit 85a34f78 authored by chenweijian's avatar chenweijian

是否新用户

parent 46c84bce
...@@ -114,11 +114,3 @@ func Decimal(value float64) float64 { ...@@ -114,11 +114,3 @@ func Decimal(value float64) float64 {
} }
return newValue return newValue
} }
// 是否新用户
func IsNewUser(createTimeUnix uint64) bool {
if int64(createTimeUnix)+DAY_SECOND*7 < time.Now().Unix() {
return true
}
return false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment