|
@@ -33,7 +33,7 @@ public class AppAiPromptManagementController {
|
|
public CommonResult<String> getAiPromptManagement(@RequestParam("title") String title) {
|
|
public CommonResult<String> getAiPromptManagement(@RequestParam("title") String title) {
|
|
AiPromptManagementDO aiPromptManagement = aiPromptManagementService.getAiPromptByTi(title);
|
|
AiPromptManagementDO aiPromptManagement = aiPromptManagementService.getAiPromptByTi(title);
|
|
if (aiPromptManagement == null) {
|
|
if (aiPromptManagement == null) {
|
|
- return success("null");
|
|
|
|
|
|
+ return success("");
|
|
} else if (aiPromptManagement.getDeleted()) {
|
|
} else if (aiPromptManagement.getDeleted()) {
|
|
return success(aiPromptManagement.getContent());
|
|
return success(aiPromptManagement.getContent());
|
|
}
|
|
}
|