Class MessageLeaveRestController
java.lang.Object
com.bytedesk.core.base.BaseRestController<MessageLeaveRequest,MessageLeaveRestService>
com.bytedesk.service.message_leave.MessageLeaveRestController
@RestController
@RequestMapping("/api/v1/message/leave")
public class MessageLeaveRestController
extends BaseRestController<MessageLeaveRequest,MessageLeaveRestService>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>close(MessageLeaveRequest request) org.springframework.http.ResponseEntity<?>create(MessageLeaveRequest request) 通用的create实现 减少子类重复代码org.springframework.http.ResponseEntity<?>delete(MessageLeaveRequest request) 通用的delete实现 减少子类重复代码export(MessageLeaveRequest request, jakarta.servlet.http.HttpServletResponse response) exportorg.springframework.http.ResponseEntity<?>markAsRead(MessageLeaveRequest request) org.springframework.http.ResponseEntity<?>markAsSpam(MessageLeaveRequest request) org.springframework.http.ResponseEntity<?>queryByOrg(MessageLeaveRequest request) 通用的queryByOrg实现 减少子类重复代码org.springframework.http.ResponseEntity<?>queryByUid(MessageLeaveRequest request) 通用的queryByUid实现 减少子类重复代码org.springframework.http.ResponseEntity<?>queryByUser(MessageLeaveRequest request) 通用的queryByUser实现 减少子类重复代码org.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>reply(MessageLeaveRequest request) org.springframework.http.ResponseEntity<?>transfer(MessageLeaveRequest request) org.springframework.http.ResponseEntity<?>update(MessageLeaveRequest request) 通用的update实现 减少子类重复代码org.springframework.http.ResponseEntity<?>updateStatus(MessageLeaveRequest request) Methods inherited from class com.bytedesk.core.base.BaseRestController
deleteByOrgUid, exportTemplate, getService
-
Field Details
-
messageLeaveRestService
-
-
Constructor Details
-
MessageLeaveRestController
public MessageLeaveRestController()
-
-
Method Details
-
queryByOrg
Description copied from class:BaseRestController通用的queryByOrg实现 减少子类重复代码- Overrides:
queryByOrgin classBaseRestController<MessageLeaveRequest,MessageLeaveRestService>
-
queryByUser
Description copied from class:BaseRestController通用的queryByUser实现 减少子类重复代码- Overrides:
queryByUserin classBaseRestController<MessageLeaveRequest,MessageLeaveRestService>
-
queryByUid
Description copied from class:BaseRestController通用的queryByUid实现 减少子类重复代码- Overrides:
queryByUidin classBaseRestController<MessageLeaveRequest,MessageLeaveRestService>
-
queryThreadsByLeaveMessage
@GetMapping("/query/threads") public org.springframework.http.ResponseEntity<?> queryThreadsByLeaveMessage(MessageLeaveRequest request) -
create
Description copied from class:BaseRestController通用的create实现 减少子类重复代码- Overrides:
createin classBaseRestController<MessageLeaveRequest,MessageLeaveRestService>
-
update
Description copied from class:BaseRestController通用的update实现 减少子类重复代码- Overrides:
updatein classBaseRestController<MessageLeaveRequest,MessageLeaveRestService>
-
reply
@PostMapping("/reply") public org.springframework.http.ResponseEntity<?> reply(@RequestBody MessageLeaveRequest request) -
updateStatus
@PostMapping("/status/update") public org.springframework.http.ResponseEntity<?> updateStatus(@RequestBody MessageLeaveRequest request) -
markAsRead
@PostMapping("/read") public org.springframework.http.ResponseEntity<?> markAsRead(@RequestBody MessageLeaveRequest request) -
transfer
@PostMapping("/transfer") public org.springframework.http.ResponseEntity<?> transfer(@RequestBody MessageLeaveRequest request) -
close
@PostMapping("/close") public org.springframework.http.ResponseEntity<?> close(@RequestBody MessageLeaveRequest request) -
markAsSpam
@PostMapping("/spam") public org.springframework.http.ResponseEntity<?> markAsSpam(@RequestBody MessageLeaveRequest request) -
delete
Description copied from class:BaseRestController通用的delete实现 减少子类重复代码- Overrides:
deletein classBaseRestController<MessageLeaveRequest,MessageLeaveRestService>
-
export
public Object export(MessageLeaveRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from class:BaseRestControllerexport- Overrides:
exportin classBaseRestController<MessageLeaveRequest,MessageLeaveRestService> - Parameters:
request- role- Returns:
- json
-