Commit c87b0e5f by 郑永强

【1002764】小程序扫码支持扫二维码和社群码

parent a5f2fd17
......@@ -215,4 +215,10 @@ public interface BookGroupService {
@ApiOperation("每天增加小程序权益读者数量")
@GetMapping("addUserCount4RightsSetting")
void addUserCount4RightsSetting();
@ApiOperation("根据raysBookId获取特殊二维码的bookGroupId")
@RequestMapping(value = "/getBookGroupId4OldData", method = RequestMethod.GET)
ResponseEntity<ResponseDto<Long>> getBookGroupId4OldData(
@RequestParam(value = "raysBookId") Long raysBookId
) throws BizException;
}
......@@ -375,4 +375,10 @@ public class BookGroupServiceImpl implements BookGroupService {
JedisClusterUtils.set(key,count.toString(),36*3600);
}
}
@Override
public ResponseEntity<ResponseDto<Long>> getBookGroupId4OldData(Long raysBookId)
throws BizException {
return ResponseHandleUtil.toResponse(bookGroupBiz.getBookGroupId4OldData(raysBookId));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment