Skip to content

Commit

Permalink
update UDFRestfulApi.java (apache#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
binbinCheng authored Dec 13, 2022
1 parent 89bc42d commit 4d28a16
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,14 +304,14 @@ public Message deleteUDF(HttpServletRequest req, @PathVariable("id") Long id) {

@ApiOperation(value = "isLoad", notes = "is load", response = Message.class)
@ApiImplicitParams({
@ApiImplicitParam(name = "udfId", dataType = "Long", value = "udf id"),
@ApiImplicitParam(name = "isLoad", dataType = "Boolean", value = "is load")
@ApiImplicitParam(name = "udfId", required = true, dataType = "Long", value = "udf id"),
@ApiImplicitParam(name = "isLoad", required = true, dataType = "Boolean", value = "is load")
})
@RequestMapping(path = "isload", method = RequestMethod.GET)
public Message isLoad(
HttpServletRequest req,
@RequestParam(value = "udfId", required = false) Long udfId,
@RequestParam(value = "isLoad", required = false) Boolean isLoad) {
@RequestParam(value = "udfId") Long udfId,
@RequestParam(value = "isLoad") Boolean isLoad) {
String userName = ModuleUserUtils.getOperationUser(req, "isload ");
Message message = null;
try {
Expand Down

0 comments on commit 4d28a16

Please sign in to comment.