Skip to content

Commit

Permalink
replace chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq committed Aug 18, 2024
1 parent cbf544d commit 459144d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public ResponseEntity<PlatformVO> addAuthorizedPlatform(@RequestBody PlatformReq
public ResponseEntity<Integer> deleteAuthorizedPlatform(@PathVariable Long platformId) {
int code = chatService.deleteAuthorizedPlatform(platformId);
if (code != 0) {
return ResponseEntity.error(ResponseStatus.PARAMETER_ERROR, "权限不足");
return ResponseEntity.error(ResponseStatus.PARAMETER_ERROR, "Permission denied");
}
return ResponseEntity.success(0);
}
Expand All @@ -94,7 +94,7 @@ public ResponseEntity<ChatThreadVO> createChatThreads(@PathVariable Long platfor
public ResponseEntity<Integer> deleteChatThreads(@PathVariable Long platformId, @PathVariable Long threadId) {
int code = chatService.deleteChatThreads(platformId, threadId);
if (code != 0) {
return ResponseEntity.error(ResponseStatus.PARAMETER_ERROR, "无内容");
return ResponseEntity.error(ResponseStatus.PARAMETER_ERROR, "No Content");
}
return ResponseEntity.success(0);
}
Expand Down

0 comments on commit 459144d

Please sign in to comment.