release: 允许匿名分享

release-2024-04-25
huangyw 2 months ago
parent 647ebfe6b7
commit b71f223dca

@ -229,11 +229,11 @@ public class PointController {
@ApiOperation(value = "2.5.分享期刊(APP)", notes = "仅限app用户调用")
@PostMapping("/log/share/journal")
@ApiImplicitParams({
@ApiImplicitParam(name = "Authorization", value = "token", required = true, dataType = "String", paramType = "header"),
@ApiImplicitParam(name = "Authorization", value = "token", dataType = "String", paramType = "header"),
@ApiImplicitParam(name = "journalId", value = "期刊id", required = true, dataType = "String", paramType = "query")
})
public Result<Void> addLogShareJournal(
@RequestHeader(value = "Authorization", required = true) String authorization,
@RequestHeader(value = "Authorization") String authorization,
@RequestParam String journalId) {
userPointLogService.shareJournal(authorization);
return Result.success();

Loading…
Cancel
Save