|
@@ -16,6 +16,7 @@ import com.zanxiang.game.module.sdk.service.*;
|
|
import com.zanxiang.module.util.JsonUtil;
|
|
import com.zanxiang.module.util.JsonUtil;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
|
+import org.apache.logging.log4j.util.Strings;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -268,9 +269,9 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
.agentKey(agent.getAgentKey())
|
|
.agentKey(agent.getAgentKey())
|
|
.activeTime(user.getCreateTime())
|
|
.activeTime(user.getCreateTime())
|
|
.clueToken(urlParamMap.get("clue_token"))
|
|
.clueToken(urlParamMap.get("clue_token"))
|
|
- .projectId(urlParamMap.get("project_id") == null ? null : Long.valueOf(urlParamMap.get("project_id")))
|
|
|
|
- .promotionId(urlParamMap.get("promotion_id") == null ? null : Long.valueOf(urlParamMap.get("promotion_id")))
|
|
|
|
- .advertiserId(urlParamMap.get("advertiser_id") == null ? null : Long.valueOf(urlParamMap.get("advertiser_id")))
|
|
|
|
|
|
+ .projectId(Strings.isBlank(urlParamMap.get("project_id")) ? null : Long.valueOf(urlParamMap.get("project_id")))
|
|
|
|
+ .promotionId(Strings.isBlank(urlParamMap.get("promotion_id")) ? null : Long.valueOf(urlParamMap.get("promotion_id")))
|
|
|
|
+ .advertiserId(Strings.isBlank(urlParamMap.get("advertiser_id")) ? null : Long.valueOf(urlParamMap.get("advertiser_id")))
|
|
.reqId(urlParamMap.get("req_id"))
|
|
.reqId(urlParamMap.get("req_id"))
|
|
.build();
|
|
.build();
|
|
}
|
|
}
|