Commit 7de8449a by 裴大威

feat add freeze method

parent ae099585
...@@ -86,4 +86,12 @@ public class BookFreezeFacadeImpl implements BookFreezeFacade { ...@@ -86,4 +86,12 @@ public class BookFreezeFacadeImpl implements BookFreezeFacade {
bookFreezeBiz.thaw(thawEarning, partyId); bookFreezeBiz.thaw(thawEarning, partyId);
return new ResponseDto<>(); return new ResponseDto<>();
} }
@RequestMapping(value = "isFreeze", method = RequestMethod.GET)
public ResponseDto<Boolean> isFreeze(@RequestParam(value = "bookId") Long bookId)
throws BizException {
final Boolean freeze = bookFreezeBiz.isFreeze(bookId);
return new ResponseDto<>(freeze);
}
} }
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