|
@@ -8,6 +8,7 @@ import (
|
|
|
"app.yhyue.com/moapp/message/handler/award"
|
|
|
"app.yhyue.com/moapp/message/model"
|
|
|
"app.yhyue.com/moapp/message/rpc"
|
|
|
+ . "bp.jydev.jianyu360.cn/BaseService/pushpkg/p"
|
|
|
"fmt"
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
|
"github.com/gogf/gf/v2/os/gcfg"
|
|
@@ -60,7 +61,9 @@ func NewUserActivity(msg *model.Message) {
|
|
|
})
|
|
|
// 新注册用户赠送超级订阅
|
|
|
//用户注册进行线索分配
|
|
|
- addClue(msg.E_userId)
|
|
|
+ if msg.E_userId != "" {
|
|
|
+ addClue(msg.E_userId)
|
|
|
+ }
|
|
|
startTime := gtime.NewFromStrLayout(gcfg.Instance().MustGet(gctx.New(), "newRegister.startTime").String(), "2006-01-02T15:04:05Z").Time
|
|
|
entTime := gtime.NewFromStrLayout(gcfg.Instance().MustGet(gctx.New(), "newRegister.entTime").String(), "2006-01-02T15:04:05Z").Time
|
|
|
now := time.Now()
|