|
|
|
@@ -46,6 +46,15 @@ public class WxOpinionController extends BaseController { |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("根据id查询接口") |
|
|
|
@GetMapping("/getById") |
|
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) |
|
|
|
@SystemControllerLog(description = "问券调查--查询") |
|
|
|
public ResultData getById(Long id) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxOpinionController::getById"); |
|
|
|
return new ResultData(wxOpinionService.getById(id)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("根据id更新接口") |
|
|
|
@PostMapping("update") |
|
|
|
|