|
@@ -17,21 +17,8 @@ import org.springframework.web.bind.annotation.*;
|
|
|
@RequestMapping("/user/record")
|
|
|
public class CmBehaviorRecordApi {
|
|
|
|
|
|
-
|
|
|
- /**
|
|
|
- * PC端用户行为记录
|
|
|
- * @param behaviorRecordDto
|
|
|
- * @return
|
|
|
- */
|
|
|
- @IpSave(saveName="用户行为记录PC",saveParams = true)
|
|
|
- @PostMapping("/StatisticsPc")
|
|
|
- public ResponseJson<String> behaviorRecordPc(@RequestBody BehaviorRecordDto behaviorRecordDto){
|
|
|
- log.info("用户行为记录=========》"+behaviorRecordDto);
|
|
|
- return ResponseJson.success("用户行为PC端记录完成");
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
- * 小程序端用户行为记录
|
|
|
+ * 用户行为记录
|
|
|
* @param userId
|
|
|
* @param pagePath
|
|
|
* @param pageType
|
|
@@ -40,11 +27,11 @@ public class CmBehaviorRecordApi {
|
|
|
* @param accessDuration
|
|
|
* @return
|
|
|
*/
|
|
|
- @IpSave(saveName="用户行为记录App",saveParams = true)
|
|
|
- @GetMapping("/StatisticsApp")
|
|
|
- public ResponseJson<String> behaviorRecordApp(Integer userId,String pagePath,String pageType,String pageLabel,String behaviorType,Integer productId,String accessDuration){
|
|
|
- log.info("用户行为记录=========》"+userId+"===="+pagePath+"===="+pageType+"===="+pageLabel+"===="+behaviorType+"===="+productId+"===="+accessDuration);
|
|
|
- return ResponseJson.success("用户行为App端记录完成");
|
|
|
+ @IpSave(saveName="用户行为记录",saveParams = true)
|
|
|
+ @GetMapping("/Statistics")
|
|
|
+ public ResponseJson<String> behaviorRecordApp(Integer userId,String pagePath,String pageType,String pageLabel,String behaviorType,Integer productId,String accessDuration,Integer accessClient){
|
|
|
+ log.info("用户行为记录=========》"+userId+"===="+pagePath+"===="+pageType+"===="+pageLabel+"===="+behaviorType+"===="+productId+"===="+accessDuration+"===="+accessClient);
|
|
|
+ return ResponseJson.success("用户行为记录完成");
|
|
|
}
|
|
|
|
|
|
}
|