|
|
|
@ -53,6 +53,18 @@ public class ReferenceController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private IReferenceBrandService referenceBrandService;
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
static class AddRParam {
|
|
|
|
|
@NotNull(message = "id不能为空")
|
|
|
|
|
@Min(value = 1, message = "id最小值为1")
|
|
|
|
|
@Schema(title = "素材id")
|
|
|
|
|
private String title;
|
|
|
|
|
@NotNull(message = "tagId不能为空")
|
|
|
|
|
@Min(value = 1, message = "tagId最小值为1")
|
|
|
|
|
@Schema(title = "标签id")
|
|
|
|
|
private Integer tagId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "添加素材")
|
|
|
|
|
@PostMapping("/add")
|
|
|
|
|
@adminTokenValid
|
|
|
|
|