|
@@ -110,12 +110,17 @@ public class RecommendService {
|
|
|
|
|
|
public RecommendResponse recommend(RecommendRequest request, int recommendType) {
|
|
|
try {
|
|
|
+ timerLogMapTL.get().put("traceId", TraceUtils.currentTraceId());
|
|
|
+
|
|
|
if (request == null) {
|
|
|
- timerLogMapTL.get().put("traceId", TraceUtils.currentTraceId());
|
|
|
return RecommendResponse.newBuilder()
|
|
|
.setResult(Result.newBuilder().setCode(1).setMessage("success"))
|
|
|
.build();
|
|
|
}
|
|
|
+
|
|
|
+ timerLogMapTL.get().put("appType", request.getAppType());
|
|
|
+ timerLogMapTL.get().put("recommendType", recommendType);
|
|
|
+
|
|
|
if (request.getVersionAuditStatus() == 1) {
|
|
|
timerLogMapTL.get().put("special", true);
|
|
|
return specialMidRecommend(request);
|