Authored by tanling

no message

... ... @@ -39,7 +39,12 @@ public class RedPacketConfigController {
@ResponseBody
public ApiResponse addUpPacket(@RequestBody RedpacketConfigReq req){
logger.info("enter addUpRewardsConfig, req={}", req);
try{
redpacketConfigService.insertUpRedpacket(req);
}catch (ServiceException e){
return new ApiResponse.ApiResponseBuilder().code(e.getCode()).message(e.getMessage()).build();
}
return new ApiResponse.ApiResponseBuilder().build();
}
... ...