def BookCoverRaw(recordId=None):
    if not recordId:
        BaseException.ParameterException('缺少参数: recordId')
    return HPULib.lib_book_cover(
        recordId,
        True
    )
def BookCover():
    BaseValidate.paramsExist(
        request.args.to_dict(),
        ['recordId', 'ip']
    )
    return HPULib.lib_book_cover(
        request.args['recordId'],
        False,
        request.args['ip']
    )