Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user