|
|
@ -91,10 +91,11 @@ public class ActPhraseController { |
|
|
|
ExcelUtils.exportExcelToTarget(response, null, list, ActPhraseExcel.class); |
|
|
|
} |
|
|
|
|
|
|
|
/*@PostMapping("queryCategoryInfo") |
|
|
|
public Result<List<CategoryInfoResultDTO>> queryCategoryInfo(@RequestBody CategoryInfoFormDTO formDTO) { |
|
|
|
List<CategoryInfoResultDTO> data = categoryService.listCategoryInfo(formDTO); |
|
|
|
return new Result<List<CategoryInfoResultDTO>>().ok(data); |
|
|
|
}*/ |
|
|
|
@PostMapping("sagenumAddOne") |
|
|
|
public Result sagenumAddOne(String id) { |
|
|
|
|
|
|
|
actPhraseService.updateUsagenumAddOne(id); |
|
|
|
return new Result().ok("使用次数加一成功"); |
|
|
|
} |
|
|
|
|
|
|
|
} |