| | |
| | | package com.doumee.api.web; |
| | | |
| | | import com.doumee.config.annotation.LoginRequired; |
| | | import com.doumee.core.annotation.trace.Trace; |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.utils.Constants; |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "访客记录提交", notes = "访客记录提交") |
| | | @ApiOperation(value = "访客记录提交", notes = "访客提交") |
| | | @PostMapping("/createFk") |
| | | public ApiResponse createFk(@RequestBody Visits visits) { |
| | | return ApiResponse.success("查询成功", visitsService.createFk(visits)); |
| | | visits.setSourceType(Constants.ZERO); |
| | | return ApiResponse.success("查询成功", visitsService.createFk(visits,false)); |
| | | } |
| | | |
| | | |