删除信息
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user