You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
640 B
Go

package fissionaction
import (
"context"
"joybuywork/internal/repository/dao"
"testing"
"time"
_ "joybuywork/test"
)
func TestNewMarkPoint(t *testing.T) {
ctx := context.Background()
m := dao.FissionUser
user, _ := m.WithContext(ctx).Where(m.ID.Eq(287926444071743488)).Take()
t.Log(user)
//NewMarkPoint(ctx).InApp(user).ClickCond(time.Now().Unix(), 147398024462151681, "14.153.77.109")
//NewMarkPoint(ctx).InApp(user).AppOpen(time.Now().Unix(), "14.153.77.109", "android", "13", "xiaomi", false)
NewMarkPoint(ctx).InApp(user).View(time.Now().Unix(), "14.153.77.109", "android", "13", "xiaomi")
time.Sleep(time.Second)
}