|
@@ -13,10 +13,7 @@ import io.swagger.annotations.ApiResponses;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -43,7 +40,7 @@ public class KfMsgController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "客服接口通用api")
|
|
|
- @GetMapping(value = "/comm/api")
|
|
|
+ @PostMapping(value = "/comm/api")
|
|
|
@PreAuthorize(permissionKey = "manage:kf:commApi")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = CpVO.class)})
|
|
|
public ResultVO<String> list(@Validated @RequestBody KfApiParam param) {
|