删除信息

This commit is contained in:
zhangqinbin
2022-01-20 09:38:35 +08:00
parent 2ef3b290f0
commit 0b6f8f257d

View File

@ -1,5 +1,6 @@
package com.chinaunicom.mall.ebtp.extend.bizmessage.controller;
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
import com.chinaunicom.mall.ebtp.extend.bizmessage.dto.BizMessageRawDTO;
import com.chinaunicom.mall.ebtp.extend.bizmessage.service.BizMessageProducerService;
import com.chinaunicom.mall.ebtp.extend.bizmessage.vo.DescribeSiteMsgDetailVO;
@ -43,8 +44,8 @@ public class BizMessageProducerController {
@ApiOperation("删除信息.")
@DeleteMapping
@ResponseStatus(code = HttpStatus.OK)
public Map<String,Integer> deleteMessageByCode(@ApiParam(value = "消息内容", required = true)@RequestParam("code") String code) {
public BaseResponse<Map<String,Integer>> deleteMessageByCode(@ApiParam(value = "消息内容", required = true)@RequestParam("code") String code) {
return service.deleteMessageByCode(code);
return BaseResponse.success(service.deleteMessageByCode(code));
}
}