|
|
@@ -27,4 +27,20 @@ public class ProdCommController {
|
|
|
public ResponseEntity<IPage<ProdComm>> backendCommList(PageParam<ProdComm> page, CommPo po) {
|
|
|
return ResponseEntity.ok(prodCommService.backendCommList(page,po));
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping("/backendCommAudit")
|
|
|
+ @ApiOperation(value = "后台管理-用户评价-(审核,1:通过,0:待审核, -1:不通过审核)")
|
|
|
+ public ResponseEntity<Void> backendCommAudit(Long prodCommId, Integer status) {
|
|
|
+ prodCommService.backendCommAudit(prodCommId,status);
|
|
|
+ return ResponseEntity.ok().build();
|
|
|
+ }
|
|
|
+
|
|
|
+ @GetMapping("/reply")
|
|
|
+ @ApiOperation(value = "后台-商家回复")
|
|
|
+ public ResponseEntity<Void> reply(Long prodCommId, String replyContent) {
|
|
|
+ prodCommService.reply(prodCommId,replyContent);
|
|
|
+ return ResponseEntity.ok().build();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|