22 lines
418 B
Go
22 lines
418 B
Go
package cacheSer
|
|
|
|
import (
|
|
"context"
|
|
"stat/models/downloadCpc"
|
|
"stat/models/downloadinfo"
|
|
)
|
|
|
|
func landPageVisitSync(list []interface{}) error {
|
|
if len(list) > 0 {
|
|
return downloadCpc.InsertDownloadInfoMany(context.Background(), list)
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func landPageClickSync(list []interface{}) error {
|
|
if len(list) > 0 {
|
|
return downloadinfo.InsertDownloadInfoMany(context.Background(), list)
|
|
}
|
|
return nil
|
|
}
|