feat
parent
3c13cafd86
commit
ba0cc48174
|
@ -3,6 +3,8 @@ package com.mcwl.web.controller.communityCenter;
|
|||
|
||||
import com.mcwl.communityCenter.domain.Community;
|
||||
import com.mcwl.communityCenter.service.CommunityService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -11,6 +13,7 @@ import java.util.List;
|
|||
/**
|
||||
* 社区
|
||||
*/
|
||||
@Api(tags = "社区")
|
||||
@RestController
|
||||
@RequestMapping("community")
|
||||
@RequiredArgsConstructor
|
||||
|
@ -23,6 +26,7 @@ public class CommunityController {
|
|||
* 社区列表
|
||||
* @return 社区列表
|
||||
*/
|
||||
@ApiOperation(value = "社区列表")
|
||||
@GetMapping("list")
|
||||
public List<Community> getCommunityList(){
|
||||
return communityService.list();
|
||||
|
@ -34,6 +38,7 @@ public class CommunityController {
|
|||
* @param community 社区
|
||||
* @return 添加结果
|
||||
*/
|
||||
@ApiOperation(value = "添加社区")
|
||||
@PostMapping("add")
|
||||
public boolean addCommunity(@RequestBody Community community){
|
||||
return communityService.save(community);
|
||||
|
@ -44,6 +49,7 @@ public class CommunityController {
|
|||
* @param id 社区id
|
||||
* @return 删除结果
|
||||
*/
|
||||
@ApiOperation(value = "删除社区")
|
||||
@PostMapping("delete")
|
||||
public boolean deleteCommunity(Long id){
|
||||
return communityService.removeById(id);
|
||||
|
@ -54,6 +60,7 @@ public class CommunityController {
|
|||
* @param community 社区
|
||||
* @return 修改结果
|
||||
*/
|
||||
@ApiOperation(value = "修改社区")
|
||||
@PostMapping("update")
|
||||
public boolean updateCommunity(@RequestBody Community community){
|
||||
return communityService.updateById(community);
|
||||
|
|
|
@ -4,6 +4,8 @@ package com.mcwl.web.controller.communityCenter;
|
|||
import com.mcwl.common.core.domain.AjaxResult;
|
||||
import com.mcwl.common.utils.StringUtils;
|
||||
import com.mcwl.communityCenter.service.InviteService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
@ -15,6 +17,7 @@ import javax.validation.constraints.NotNull;
|
|||
/**
|
||||
* 邀请
|
||||
*/
|
||||
@Api(tags = "邀请")
|
||||
@RestController
|
||||
@RequestMapping("invite")
|
||||
@RequiredArgsConstructor
|
||||
|
@ -25,6 +28,7 @@ public class InviteController {
|
|||
/**
|
||||
* 邀请码链接
|
||||
*/
|
||||
@ApiOperation(value = "邀请码链接")
|
||||
@GetMapping("inviteCode")
|
||||
public AjaxResult inviteCode(Long communityId) {
|
||||
// 获取邀请码链接
|
||||
|
@ -38,6 +42,7 @@ public class InviteController {
|
|||
/**
|
||||
* 接受邀请
|
||||
*/
|
||||
@ApiOperation(value = "接受邀请")
|
||||
@GetMapping("acceptInvite")
|
||||
public AjaxResult acceptInvite(@NotNull(message = "communityId不能为空") Long communityId,
|
||||
@NotBlank(message = "inviteCode不能为空") String inviteCode) {
|
||||
|
|
|
@ -4,6 +4,8 @@ import com.mcwl.common.core.controller.BaseController;
|
|||
import com.mcwl.communityCenter.domain.PublicModelCommentVo;
|
||||
import com.mcwl.communityCenter.domain.PublishCommission;
|
||||
import com.mcwl.communityCenter.service.PublishCommissionService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
@ -18,6 +20,7 @@ import java.util.List;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/17 14:21
|
||||
*/
|
||||
@Api(tags = "社群评论")
|
||||
@RequestMapping("PublishCommission")
|
||||
@RestController
|
||||
public class PublishCommissionController extends BaseController {
|
||||
|
@ -31,6 +34,7 @@ public class PublishCommissionController extends BaseController {
|
|||
* @param publishCommission
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "获取评论")
|
||||
@GetMapping("/comment/{Id}")
|
||||
public List<PublicModelCommentVo> getComment(@RequestBody PublishCommission publishCommission) {
|
||||
|
||||
|
@ -42,6 +46,7 @@ public class PublishCommissionController extends BaseController {
|
|||
* @param publishCommission
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加评论")
|
||||
@PostMapping("/save")
|
||||
public ResponseEntity<String> save(@RequestBody PublishCommission publishCommission) {
|
||||
publishCommissionService.save(publishCommission);
|
||||
|
@ -55,6 +60,7 @@ public class PublishCommissionController extends BaseController {
|
|||
* @param commentId 评论ID
|
||||
* @return 更新后的点赞数
|
||||
*/
|
||||
@ApiOperation(value = "点赞或取消点赞评论")
|
||||
@PostMapping("/{commentId}/like")
|
||||
public ResponseEntity<Integer> toggleLike(@PathVariable Long commentId, @RequestParam Long userId) {
|
||||
int updatedLikes = publishCommissionService.toggleLike(userId, commentId);
|
||||
|
@ -63,6 +69,7 @@ public class PublishCommissionController extends BaseController {
|
|||
|
||||
|
||||
|
||||
@ApiOperation(value = "删除评论")
|
||||
@DeleteMapping("/{id}")
|
||||
public ResponseEntity<String> delete(@PathVariable Long id) {
|
||||
publishCommissionService.removeById(id);
|
||||
|
|
|
@ -2,6 +2,7 @@ package com.mcwl.web.controller.communityCenter;
|
|||
|
||||
import com.mcwl.common.core.controller.BaseController;
|
||||
import com.mcwl.communityCenter.service.PublishCommissionLikeService;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
@ -14,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/17 14:21
|
||||
*/
|
||||
@Api(tags = "社群评论区点赞")
|
||||
@RestController
|
||||
@RequestMapping("PublishCommissionLike")
|
||||
public class PublishCommissionLikeController extends BaseController {
|
||||
|
|
|
@ -14,6 +14,8 @@ import com.mcwl.communityCenter.domain.Publish;
|
|||
import com.mcwl.communityCenter.domain.dto.PublishRes;
|
||||
import com.mcwl.communityCenter.domain.vo.PublishVo;
|
||||
import com.mcwl.communityCenter.service.PublishService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -22,6 +24,7 @@ import java.util.Objects;
|
|||
/**
|
||||
* 发布
|
||||
*/
|
||||
@Api(tags = "发布")
|
||||
@RestController
|
||||
@RequestMapping("publish")
|
||||
@RequiredArgsConstructor
|
||||
|
@ -35,6 +38,7 @@ public class PublishController {
|
|||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "获取发布列表")
|
||||
@PostMapping("list")
|
||||
public TableDataInfo getCommunityList(@RequestBody PageDomain pageDomain) {
|
||||
return publishService.listByPage(pageDomain);
|
||||
|
@ -43,6 +47,7 @@ public class PublishController {
|
|||
/**
|
||||
* 获取发布详情
|
||||
*/
|
||||
@ApiOperation(value = "获取发布详情")
|
||||
@GetMapping("detail")
|
||||
public AjaxResult getPublishDetail(Long id) {
|
||||
|
||||
|
@ -56,6 +61,7 @@ public class PublishController {
|
|||
/**
|
||||
* 添加
|
||||
*/
|
||||
@ApiOperation(value = "添加")
|
||||
@PostMapping("add")
|
||||
public AjaxResult addPublish(@RequestBody PublishRes publishRes) {
|
||||
Publish publish = new Publish();
|
||||
|
@ -66,6 +72,7 @@ public class PublishController {
|
|||
/**
|
||||
* 删除
|
||||
*/
|
||||
@ApiOperation(value = "删除")
|
||||
@GetMapping("remove")
|
||||
public AjaxResult deletePublish(Long id) {
|
||||
return AjaxResult.success(publishService.removeById(id));
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package com.mcwl.web.controller.communityCenter;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
@ -8,6 +9,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||
/**
|
||||
* 提问
|
||||
*/
|
||||
@Api(tags = "提问")
|
||||
@RestController
|
||||
@RequestMapping("question")
|
||||
@RequiredArgsConstructor
|
||||
|
|
|
@ -14,6 +14,9 @@ import com.mcwl.resource.service.ModelImageService;
|
|||
import com.mcwl.resource.service.ModelService;
|
||||
import com.mcwl.resource.service.WorkFlowService;
|
||||
import com.mcwl.web.controller.common.OssUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
@ -28,7 +31,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|||
* @Description 商品
|
||||
* @Date:2024/12/31 10:48
|
||||
*/
|
||||
|
||||
@Api(tags = "模型")
|
||||
@RestController
|
||||
@RequestMapping("/model")
|
||||
public class MallProductController extends BaseController {
|
||||
|
@ -50,6 +53,7 @@ public class MallProductController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiModelProperty("图片")
|
||||
@Anonymous
|
||||
@PostMapping("/file")
|
||||
public AjaxResult Malifile(@RequestParam MultipartFile file) {
|
||||
|
@ -65,6 +69,7 @@ public class MallProductController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "zip")
|
||||
@PostMapping("/zipUrlFile")
|
||||
public AjaxResult zipUrlFile(@RequestParam MultipartFile file) {
|
||||
String s = OssUtil.uploadMultipartFile(file);
|
||||
|
@ -78,6 +83,7 @@ public class MallProductController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "zip")
|
||||
@PostMapping("/zipUrl")
|
||||
public AjaxResult zipUrl(@RequestParam MultipartFile file) {
|
||||
String s = OssUtil.uploadMultipartFile(file);
|
||||
|
@ -88,6 +94,7 @@ public class MallProductController extends BaseController {
|
|||
/**
|
||||
* 模型列表
|
||||
*/
|
||||
@ApiOperation(value = "模型列表")
|
||||
@PostMapping("/list")
|
||||
public TableDataInfo list(@RequestBody ModelImagePageRes imagePageRes) {
|
||||
|
||||
|
@ -95,6 +102,7 @@ public class MallProductController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "模型详情")
|
||||
@PostMapping("finbyid")
|
||||
public AjaxResult finbyid(@RequestBody ModelProduct modelVersion) {
|
||||
ModelProduct modelVersion1 = modelService.getById(modelVersion.getId());
|
||||
|
@ -102,6 +110,7 @@ public class MallProductController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "添加模型")
|
||||
@PostMapping("/insert")
|
||||
public AjaxResult addupdateModel(@RequestBody RequestModel requestModel) {
|
||||
ModelProduct modelProduct = requestModel.getModelProduct();
|
||||
|
@ -111,6 +120,7 @@ public class MallProductController extends BaseController {
|
|||
return modelService.addModel(requestModel);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "修改模型")
|
||||
@PostMapping("/update")
|
||||
public AjaxResult updateModel(@RequestBody RequestModel requestModel) {
|
||||
ModelProduct modelProduct = requestModel.getModelProduct();
|
||||
|
@ -124,6 +134,7 @@ public class MallProductController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "删除模型")
|
||||
@PostMapping("delete")
|
||||
public AjaxResult delete(@RequestBody ModelProduct modelVersion) {
|
||||
modelService.removeById(modelVersion.getId());
|
||||
|
@ -134,6 +145,7 @@ public class MallProductController extends BaseController {
|
|||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询模型详情")
|
||||
@GetMapping("/selectModelById")
|
||||
public AjaxResult selectModelById(@RequestParam Long id){
|
||||
|
||||
|
@ -143,6 +155,7 @@ public class MallProductController extends BaseController {
|
|||
/**
|
||||
* 我的发布-模型
|
||||
*/
|
||||
@ApiOperation(value = "我的发布-模型")
|
||||
@PostMapping("/selectByUserIdModel")
|
||||
public TableDataInfo selectByUserIdModel(@RequestBody ModelImagePageRes imagePageRes) {
|
||||
|
||||
|
@ -152,6 +165,7 @@ public class MallProductController extends BaseController {
|
|||
/**
|
||||
* 我的发布-工作流
|
||||
*/
|
||||
@ApiOperation(value = "我的发布-工作流")
|
||||
@PostMapping("/selectByUserIdWorkFlow")
|
||||
public TableDataInfo selectByUserIdWorkFlow(@RequestBody ModelImagePageRes imagePageRes) {
|
||||
|
||||
|
@ -161,6 +175,7 @@ public class MallProductController extends BaseController {
|
|||
/**
|
||||
* 我的发布-图片
|
||||
*/
|
||||
@ApiOperation(value = "我的发布-图片")
|
||||
@PostMapping("/selectByUserIdImage")
|
||||
public TableDataInfo selectByUserIdImage(@RequestBody ModelImagePageRes imagePageRes) {
|
||||
|
||||
|
@ -170,6 +185,7 @@ public class MallProductController extends BaseController {
|
|||
/**
|
||||
* 点赞-模型
|
||||
*/
|
||||
@ApiOperation(value = "点赞-模型")
|
||||
@PostMapping("/likeModel")
|
||||
public TableDataInfo likeModel(@RequestBody PageDomain pageDomain) {
|
||||
ModelImagePageRes imagePageRes = new ModelImagePageRes();
|
||||
|
@ -181,6 +197,7 @@ public class MallProductController extends BaseController {
|
|||
/**
|
||||
* 点赞-工作流
|
||||
*/
|
||||
@ApiOperation(value = "点赞-工作流")
|
||||
@PostMapping("/likeWorkFlow")
|
||||
public TableDataInfo likeWorkFlow(@RequestBody PageDomain pageDomain) {
|
||||
ModelImagePageRes imagePageRes = new ModelImagePageRes();
|
||||
|
@ -192,6 +209,7 @@ public class MallProductController extends BaseController {
|
|||
/**
|
||||
* 点赞-图片
|
||||
*/
|
||||
@ApiOperation(value = "点赞-图片")
|
||||
@PostMapping("/likeImage")
|
||||
public TableDataInfo likeImage(@RequestBody PageDomain pageDomain) {
|
||||
ModelImagePageRes imagePageRes = new ModelImagePageRes();
|
||||
|
|
|
@ -6,6 +6,8 @@ import com.mcwl.common.core.domain.AjaxResult;
|
|||
import com.mcwl.resource.domain.ModelProduct;
|
||||
import com.mcwl.resource.domain.vo.MallProductVo;
|
||||
import com.mcwl.resource.service.MallProductLikeService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -15,7 +17,7 @@ import org.springframework.web.bind.annotation.*;
|
|||
* @date 2025/1/2
|
||||
* @apiNote
|
||||
*/
|
||||
|
||||
@Api(tags = "点赞商品")
|
||||
@RequestMapping("/like")
|
||||
@RestController
|
||||
public class MallProductLikeController {
|
||||
|
@ -28,6 +30,7 @@ public class MallProductLikeController {
|
|||
* @param mallProductVo
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询用户点赞作品列表")
|
||||
@PostMapping("/selectByUserLike")
|
||||
public AjaxResult selectByUserLike(@RequestBody MallProductVo mallProductVo){
|
||||
|
||||
|
@ -40,6 +43,7 @@ public class MallProductLikeController {
|
|||
* @param productId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加/删除点赞商品")
|
||||
@RepeatSubmit
|
||||
@GetMapping("/addLike")
|
||||
public AjaxResult addLike(@RequestParam Long productId){
|
||||
|
@ -52,6 +56,7 @@ public class MallProductLikeController {
|
|||
* @param productId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查看作品是否点赞")
|
||||
@GetMapping("/selectLike")
|
||||
public AjaxResult selectLike(@RequestParam Long productId){
|
||||
Boolean aBoolean = mallProductLikeService.selectLike(productId);
|
||||
|
|
|
@ -7,6 +7,8 @@ import com.mcwl.resource.domain.vo.ModelCommentVo;
|
|||
import com.mcwl.resource.service.ModelCommentLikeService;
|
||||
import com.mcwl.resource.service.ModelCommentService;
|
||||
import com.mcwl.resource.service.ModelLikeService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -21,6 +23,7 @@ import java.util.List;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/12 11:36
|
||||
*/
|
||||
@Api(tags = "模型评论")
|
||||
@RequestMapping("/ModelComment")
|
||||
@RestController
|
||||
public class ModelCommentController {
|
||||
|
@ -37,6 +40,7 @@ public class ModelCommentController {
|
|||
/**
|
||||
* 模型点赞/取消
|
||||
*/
|
||||
@ApiOperation(value = "模型点赞/取消")
|
||||
@RepeatSubmit
|
||||
@GetMapping("/modelLike/{modelId}")
|
||||
public AjaxResult like(@PathVariable Long imageId) {
|
||||
|
@ -48,6 +52,7 @@ public class ModelCommentController {
|
|||
/**
|
||||
* 模型评论发布
|
||||
*/
|
||||
@ApiOperation(value = "模型评论发布")
|
||||
@PostMapping("/comment")
|
||||
public AjaxResult comment(@RequestBody ModelComment modelComment) {
|
||||
modelCommentService.comment(modelComment);
|
||||
|
@ -57,6 +62,7 @@ public class ModelCommentController {
|
|||
/**
|
||||
* 模型评论点赞/取消
|
||||
*/
|
||||
@ApiOperation(value = "模型评论点赞/取消")
|
||||
@RepeatSubmit
|
||||
@GetMapping("/commentLike/{commentId}")
|
||||
public AjaxResult commentLike(@PathVariable Long commentId) {
|
||||
|
@ -69,6 +75,7 @@ public class ModelCommentController {
|
|||
/**
|
||||
* 获取模型评论
|
||||
*/
|
||||
@ApiOperation(value = "获取模型评论")
|
||||
@GetMapping("/comment/{modelId}")
|
||||
public AjaxResult getComment(@PathVariable @NotNull(message = "模型id不能为空") Long modelId) {
|
||||
List<ModelCommentVo> modelCommentList = modelCommentService.getComment(modelId);
|
||||
|
@ -79,6 +86,7 @@ public class ModelCommentController {
|
|||
/**
|
||||
* 删除模型评论
|
||||
*/
|
||||
@ApiOperation(value = "删除模型评论")
|
||||
@GetMapping("/commentDelete/{commentId}")
|
||||
public AjaxResult commentDelete(@PathVariable @NotNull(message = "评论id不能为空") Long commentId) {
|
||||
modelCommentService.removeById(commentId);
|
||||
|
|
|
@ -7,6 +7,8 @@ import com.mcwl.resource.domain.vo.ModelImageCommentVo;
|
|||
import com.mcwl.resource.service.ModelImageCommentLikeService;
|
||||
import com.mcwl.resource.service.ModelImageCommentService;
|
||||
import com.mcwl.resource.service.ModelImageService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -16,6 +18,7 @@ import java.util.List;
|
|||
/**
|
||||
* 图片
|
||||
*/
|
||||
@Api(tags = "图片评论")
|
||||
@RestController
|
||||
@RequestMapping("/imageComment")
|
||||
@RequiredArgsConstructor
|
||||
|
@ -31,6 +34,7 @@ public class ModelImageCommentController {
|
|||
/**
|
||||
* 图片评论发布
|
||||
*/
|
||||
@ApiOperation(value = "图片评论发布")
|
||||
@PostMapping("/comment")
|
||||
public AjaxResult comment(@RequestBody ModelImageCommentRes modelImageCommentRes) {
|
||||
modelImageService.comment(modelImageCommentRes);
|
||||
|
@ -40,6 +44,7 @@ public class ModelImageCommentController {
|
|||
/**
|
||||
* 图片评论点赞/取消
|
||||
*/
|
||||
@ApiOperation(value = "图片评论点赞/取消")
|
||||
@RepeatSubmit
|
||||
@GetMapping("/commentLike/{commentId}")
|
||||
public AjaxResult commentLike(@PathVariable @NotNull(message = "评论id不能为空") Long commentId) {
|
||||
|
@ -50,6 +55,7 @@ public class ModelImageCommentController {
|
|||
/**
|
||||
* 删除图片评论
|
||||
*/
|
||||
@ApiOperation(value = "删除图片评论")
|
||||
@GetMapping("/commentDelete/{commentId}")
|
||||
public AjaxResult commentDelete(@PathVariable @NotNull(message = "评论id不能为空") Long commentId) {
|
||||
modelImageCommentService.removeById(commentId);
|
||||
|
@ -59,6 +65,7 @@ public class ModelImageCommentController {
|
|||
/**
|
||||
* 获取图片评论
|
||||
*/
|
||||
@ApiOperation(value = "获取图片评论")
|
||||
@GetMapping("/comment/{imageId}")
|
||||
public AjaxResult getComment(@PathVariable @NotNull(message = "图片id不能为空") Long imageId) {
|
||||
List<ModelImageCommentVo> modelImageCommentVoList = modelImageService.getComment(imageId);
|
||||
|
|
|
@ -14,6 +14,8 @@ import com.mcwl.resource.domain.vo.ModelImageVo;
|
|||
import com.mcwl.resource.service.ModelImageLikeService;
|
||||
import com.mcwl.resource.service.ModelImageService;
|
||||
import com.mcwl.system.service.ISysUserService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -23,6 +25,7 @@ import java.util.Objects;
|
|||
/**
|
||||
* 图片
|
||||
*/
|
||||
@Api(tags = "图片")
|
||||
@RestController
|
||||
@RequestMapping("/image")
|
||||
@RequiredArgsConstructor
|
||||
|
@ -38,6 +41,7 @@ public class ModelImageController {
|
|||
/**
|
||||
* 图片列表
|
||||
*/
|
||||
@ApiOperation(value = "图片列表")
|
||||
@PostMapping("/list")
|
||||
public TableDataInfo list(@RequestBody PageDomain pageDomain) {
|
||||
ModelImagePageRes imagePageRes = new ModelImagePageRes();
|
||||
|
@ -48,6 +52,7 @@ public class ModelImageController {
|
|||
/**
|
||||
* 图片详情
|
||||
*/
|
||||
@ApiOperation(value = "图片详情")
|
||||
@GetMapping("/detail/{imageId}")
|
||||
public AjaxResult detail(@PathVariable @NotNull(message = "图片id不能为空") Long imageId) {
|
||||
ModelImageVo modelImageVo = modelImageService.getDetail(imageId);
|
||||
|
@ -57,6 +62,7 @@ public class ModelImageController {
|
|||
/**
|
||||
* 图片删除
|
||||
*/
|
||||
@ApiOperation(value = "图片删除")
|
||||
@GetMapping("/delete/{imageId}")
|
||||
public AjaxResult delete(@PathVariable @NotNull(message = "图片id不能为空") Long imageId) {
|
||||
modelImageService.removeById(imageId);
|
||||
|
@ -66,6 +72,7 @@ public class ModelImageController {
|
|||
/**
|
||||
* 图片修改
|
||||
*/
|
||||
@ApiOperation(value = "图片修改")
|
||||
@PostMapping("/update")
|
||||
public AjaxResult update(@RequestBody ModelImageRes modelImageRes) {
|
||||
modelImageService.updateById(modelImageRes);
|
||||
|
@ -76,6 +83,7 @@ public class ModelImageController {
|
|||
/**
|
||||
* 图片发布
|
||||
*/
|
||||
@ApiOperation(value = "图片发布")
|
||||
@PostMapping("/publish")
|
||||
public AjaxResult publish(@RequestBody ModelImageRes modelImageRes) {
|
||||
modelImageService.publish(modelImageRes);
|
||||
|
@ -85,6 +93,7 @@ public class ModelImageController {
|
|||
/**
|
||||
* 图片点赞/取消
|
||||
*/
|
||||
@ApiOperation(value = "图片点赞/取消")
|
||||
@RepeatSubmit
|
||||
@GetMapping("/imageLike/{imageId}")
|
||||
public AjaxResult like(@PathVariable @NotNull(message = "图片id不能为空") Long imageId) {
|
||||
|
|
|
@ -10,6 +10,8 @@ import com.mcwl.resource.domain.ModelVersion;
|
|||
import com.mcwl.resource.service.ModelVersionService;
|
||||
import com.mcwl.system.init.DictInit;
|
||||
import com.mcwl.web.controller.common.OssUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
@ -26,6 +28,7 @@ import java.util.List;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/9 16:47
|
||||
*/
|
||||
@Api(tags = "模型版本")
|
||||
@RestController
|
||||
@RequestMapping("ModelVersion")
|
||||
public class ModelVersionController extends BaseController {
|
||||
|
@ -41,6 +44,7 @@ public class ModelVersionController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "图片")
|
||||
@PostMapping("/file")
|
||||
public AjaxResult Malifile(@RequestParam MultipartFile file){
|
||||
|
||||
|
@ -57,6 +61,7 @@ public class ModelVersionController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "zip")
|
||||
@PostMapping("/zipUrlFile")
|
||||
public AjaxResult zipUrlFile(@RequestParam MultipartFile file){
|
||||
String s = OssUtil.uploadMultipartFile(file);
|
||||
|
@ -72,6 +77,7 @@ public class ModelVersionController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "下载zip")
|
||||
@PostMapping("/zipUrl")
|
||||
public AjaxResult zipUrl(@RequestParam MultipartFile file){
|
||||
String s = OssUtil.uploadMultipartFile(file);
|
||||
|
@ -81,6 +87,7 @@ public class ModelVersionController extends BaseController {
|
|||
|
||||
|
||||
|
||||
@ApiOperation(value = "模型版本列表")
|
||||
@PostMapping("list")
|
||||
public TableDataInfo list(@RequestBody ModelVersion modelVersion)
|
||||
{
|
||||
|
@ -90,6 +97,7 @@ public class ModelVersionController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "模型版本详情")
|
||||
@PostMapping("finbyid")
|
||||
public AjaxResult finbyid(@RequestBody ModelVersion modelVersion)
|
||||
{
|
||||
|
@ -111,6 +119,7 @@ public class ModelVersionController extends BaseController {
|
|||
|
||||
|
||||
|
||||
@ApiOperation(value = "模型版本添加")
|
||||
@PostMapping("insert")
|
||||
public AjaxResult insert(@RequestBody ModelVersion modelVersion)
|
||||
{
|
||||
|
@ -120,6 +129,7 @@ public class ModelVersionController extends BaseController {
|
|||
|
||||
|
||||
|
||||
@ApiOperation(value = "模型版本修改")
|
||||
@PostMapping("update")
|
||||
public AjaxResult update(@RequestBody ModelVersion modelVersion)
|
||||
{
|
||||
|
@ -128,6 +138,7 @@ public class ModelVersionController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "模型版本删除")
|
||||
@PostMapping("delete")
|
||||
public AjaxResult delete(@RequestBody ModelVersion modelVersion)
|
||||
{
|
||||
|
|
|
@ -4,6 +4,8 @@ import com.mcwl.common.annotation.RepeatSubmit;
|
|||
import com.mcwl.common.core.domain.AjaxResult;
|
||||
import com.mcwl.resource.domain.SysUserInfo;
|
||||
import com.mcwl.resource.service.impl.SysUserAttentionServiceImpl;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
@ -16,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||
* @date 2025/1/3
|
||||
* @apiNote
|
||||
*/
|
||||
|
||||
@Api(tags = "关注")
|
||||
@RequestMapping("/attention")
|
||||
@RestController
|
||||
public class SysUserAttentionController {
|
||||
|
@ -29,6 +31,7 @@ public class SysUserAttentionController {
|
|||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加/取消关注")
|
||||
@RepeatSubmit
|
||||
@GetMapping("/addAttention")
|
||||
public AjaxResult addAttention(@RequestParam Long userId) {
|
||||
|
@ -42,6 +45,7 @@ public class SysUserAttentionController {
|
|||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询是否关注用户")
|
||||
@GetMapping("/selectAttention")
|
||||
public AjaxResult selectAttention(@RequestParam Long userId) {
|
||||
|
||||
|
@ -54,6 +58,7 @@ public class SysUserAttentionController {
|
|||
* 查询个人粉丝,关注,下载量,喜欢
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询个人粉丝,关注,下载量,喜欢")
|
||||
@GetMapping("/selectUserInfo")
|
||||
public AjaxResult selectUserInfo(){
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ import com.mcwl.common.core.domain.AjaxResult;
|
|||
import com.mcwl.common.core.page.TableDataInfo;
|
||||
import com.mcwl.resource.domain.ToActivity;
|
||||
import com.mcwl.resource.service.ToActivityService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
@ -21,6 +23,7 @@ import java.util.List;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/9 17:59
|
||||
*/
|
||||
@Api(tags = "活动")
|
||||
@RestController
|
||||
@RequestMapping("ToActivity")
|
||||
public class ToActivityController extends BaseController {
|
||||
|
@ -30,6 +33,7 @@ public class ToActivityController extends BaseController {
|
|||
/**
|
||||
* 查询活动列表
|
||||
*/
|
||||
@ApiOperation(value = "活动列表")
|
||||
@PostMapping("/list")
|
||||
public TableDataInfo list(@RequestBody ToActivity toActivity)
|
||||
{
|
||||
|
@ -40,6 +44,7 @@ public class ToActivityController extends BaseController {
|
|||
|
||||
|
||||
|
||||
@ApiOperation(value = "活动详情")
|
||||
@PostMapping("finById")
|
||||
public AjaxResult finById(@RequestBody ToActivity toActivity)
|
||||
{
|
||||
|
@ -47,6 +52,7 @@ public class ToActivityController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "活动添加")
|
||||
@PostMapping("add")
|
||||
public AjaxResult add(@RequestBody ToActivity toActivity)
|
||||
{
|
||||
|
@ -54,6 +60,7 @@ public class ToActivityController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "活动修改")
|
||||
@PostMapping("update")
|
||||
public AjaxResult update(@RequestBody ToActivity toActivity)
|
||||
{
|
||||
|
@ -61,6 +68,7 @@ public class ToActivityController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "活动删除")
|
||||
@PostMapping("delete")
|
||||
public AjaxResult delete(@RequestBody ToActivity toActivity)
|
||||
{
|
||||
|
@ -68,6 +76,7 @@ public class ToActivityController extends BaseController {
|
|||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "活动批量删除")
|
||||
@PostMapping("deleteByIds")
|
||||
public AjaxResult deleteByIds(@RequestBody List<ToActivity> toActivity)
|
||||
{
|
||||
|
|
|
@ -6,6 +6,8 @@ import com.mcwl.resource.domain.vo.WorkFlowCommentVo;
|
|||
import com.mcwl.resource.service.WorkFlowCommentLikeService;
|
||||
import com.mcwl.resource.service.WorkFlowCommentService;
|
||||
import com.mcwl.resource.service.WorkFlowLikeService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -21,6 +23,7 @@ import java.util.List;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/12 11:36
|
||||
*/
|
||||
@Api(tags = "工作流评论")
|
||||
@RequestMapping("/WorkFlowComment")
|
||||
@RestController
|
||||
public class WorkFlowCommentController {
|
||||
|
@ -37,6 +40,7 @@ public class WorkFlowCommentController {
|
|||
/**
|
||||
* 工作流点赞/取消
|
||||
*/
|
||||
@ApiOperation(value = "工作流点赞/取消")
|
||||
@GetMapping("/like/{workFlowId}")
|
||||
public AjaxResult like(@PathVariable Long workFlowId) {
|
||||
workFlowLikeService.like(workFlowId);
|
||||
|
@ -47,6 +51,7 @@ public class WorkFlowCommentController {
|
|||
/**
|
||||
* 工作流评论发布
|
||||
*/
|
||||
@ApiOperation(value = "工作流评论发布")
|
||||
@PostMapping("/comment")
|
||||
public AjaxResult comment(@RequestBody WorkFlowComment modelComment) {
|
||||
workFlowCommentService.comment(modelComment);
|
||||
|
@ -56,6 +61,7 @@ public class WorkFlowCommentController {
|
|||
/**
|
||||
* 工作流评论点赞/取消
|
||||
*/
|
||||
@ApiOperation(value = "工作流评论点赞/取消")
|
||||
@GetMapping("/commentLike/{commentId}")
|
||||
public AjaxResult commentLike(@PathVariable Long commentId) {
|
||||
workFlowCommentLikeService.like(commentId);
|
||||
|
@ -67,6 +73,7 @@ public class WorkFlowCommentController {
|
|||
/**
|
||||
* 获取工作流评论
|
||||
*/
|
||||
@ApiOperation(value = "获取工作流评论")
|
||||
@GetMapping("/comment/{modelId}")
|
||||
public AjaxResult getComment(@PathVariable @NotNull(message = "模型id不能为空") Long modelId) {
|
||||
List<WorkFlowCommentVo> modelCommentList = workFlowCommentService.getComment(modelId);
|
||||
|
@ -77,6 +84,7 @@ public class WorkFlowCommentController {
|
|||
/**
|
||||
* 删除工作流评论
|
||||
*/
|
||||
@ApiOperation(value = "删除工作流评论")
|
||||
@GetMapping("/commentDelete/{commentId}")
|
||||
public AjaxResult commentDelete(@PathVariable @NotNull(message = "评论id不能为空") Long commentId) {
|
||||
workFlowCommentService.removeById(commentId);
|
||||
|
|
|
@ -6,6 +6,8 @@ import com.mcwl.resource.domain.request.RequestWorkFlow;
|
|||
import com.mcwl.resource.domain.vo.PageVo;
|
||||
import com.mcwl.resource.service.impl.WorkFlowServiceImpl;
|
||||
import com.mcwl.web.controller.common.OssUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
@ -20,7 +22,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|||
* @Description 商品
|
||||
* @Date:2024/12/31 10:48
|
||||
*/
|
||||
|
||||
@Api(tags = "工作流")
|
||||
@RestController
|
||||
@RequestMapping("/WorkFlow")
|
||||
public class WorkFlowController extends BaseController {
|
||||
|
@ -34,6 +36,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "图片")
|
||||
@PostMapping("/file")
|
||||
public AjaxResult Malifile(@RequestParam MultipartFile file){
|
||||
|
||||
|
@ -47,6 +50,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "zip")
|
||||
@PostMapping("/zipUrlFile")
|
||||
public AjaxResult zipUrlFile(@RequestParam MultipartFile file){
|
||||
String s = OssUtil.uploadMultipartFile(file);
|
||||
|
@ -60,6 +64,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "下载zip")
|
||||
@PostMapping("/zipUrl")
|
||||
public AjaxResult zipUrl(@RequestParam MultipartFile file){
|
||||
String s = OssUtil.uploadMultipartFile(file);
|
||||
|
@ -72,6 +77,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param requestWorkFlow
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加工作流")
|
||||
@PostMapping("/addWorkFlow")
|
||||
public AjaxResult addWorkFlow(@RequestBody RequestWorkFlow requestWorkFlow){
|
||||
|
||||
|
@ -83,6 +89,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param requestWorkFlow
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "修改工作流")
|
||||
@PostMapping("/updateWorkFlow")
|
||||
public AjaxResult updateWorkFlow(@RequestBody RequestWorkFlow requestWorkFlow){
|
||||
|
||||
|
@ -96,6 +103,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "删除工作流")
|
||||
@GetMapping("/deleteWorkFlow")
|
||||
public AjaxResult deleteWorkFlow(@RequestParam Long id){
|
||||
|
||||
|
@ -108,6 +116,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param pageVo
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询工作流列表")
|
||||
@PostMapping("/selectWorkFlow")
|
||||
public AjaxResult selectWorkFlow(@RequestBody PageVo pageVo){
|
||||
|
||||
|
@ -120,6 +129,7 @@ public class WorkFlowController extends BaseController {
|
|||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询工作流详情")
|
||||
@GetMapping("/selectWorkFlowById")
|
||||
public AjaxResult selectWorkFlowById(@RequestParam Long id){
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@ package com.mcwl.web.controller.resource;
|
|||
|
||||
import com.mcwl.common.core.domain.AjaxResult;
|
||||
import com.mcwl.resource.service.impl.WorkFlowVersionServiceImpl;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
@ -15,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||
* @date 2025/1/14
|
||||
* @apiNote
|
||||
*/
|
||||
|
||||
@Api(tags = "工作流版本")
|
||||
@RequestMapping("/WorkFlowVersion")
|
||||
@RestController
|
||||
public class WorkFlowVersionController {
|
||||
|
@ -29,6 +31,7 @@ public class WorkFlowVersionController {
|
|||
* @param workId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询工作流下的所有版本信息")
|
||||
@GetMapping("/selectVersionByWorkId")
|
||||
public AjaxResult selectVersionByWorkId(@RequestParam Long workId) {
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package com.mcwl.communityCenter.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -19,46 +21,55 @@ import java.util.List;
|
|||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "评论区评论")
|
||||
public class PublicModelCommentVo {
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
private String userAvatar;
|
||||
|
||||
/**
|
||||
* 评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "评论id")
|
||||
private Long commentId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty(value = "评论内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 子评论
|
||||
*/
|
||||
@ApiModelProperty(value = "子评论")
|
||||
private List<PublicModelCommentVo> contentList = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 评论点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "评论点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
/**
|
||||
* 评论时间
|
||||
*/
|
||||
@ApiModelProperty(value = "评论时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.communityCenter.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -14,6 +16,7 @@ import lombok.EqualsAndHashCode;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/17 14:11
|
||||
*/
|
||||
@ApiModel(description = "评论区评论")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("cc_publish_commission")
|
||||
|
@ -22,30 +25,37 @@ public class PublishCommission extends BaseEntity {
|
|||
* id
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "id")
|
||||
private Long id;
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@ApiModelProperty(value = "租户id")
|
||||
private Long tenantId;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@ApiModelProperty(value = "内容")
|
||||
private String content;
|
||||
/**
|
||||
* 父评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "父评论id")
|
||||
private Long parentId;
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "点赞数")
|
||||
private Integer likeNum;
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
@ApiModelProperty(value = "删除标志(0代表存在 2代表删除)")
|
||||
private String delFlag;
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.communityCenter.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -14,6 +16,7 @@ import lombok.EqualsAndHashCode;
|
|||
* @Description TODO
|
||||
* @Date:2025/1/17 14:16
|
||||
*/
|
||||
@ApiModel(description = "评论点赞")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("cc_publish_commission_like")
|
||||
|
@ -23,17 +26,21 @@ public class PublishCommissionLike extends BaseEntity {
|
|||
* 评论点赞id
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "评论点赞id")
|
||||
private Long id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 社群id
|
||||
*/
|
||||
@ApiModelProperty(value = "社群id")
|
||||
private Long communityId;
|
||||
/**
|
||||
* 评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "评论id")
|
||||
private Long publishCommissionId;
|
||||
}
|
||||
|
|
|
@ -6,60 +6,72 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 提问
|
||||
*/
|
||||
@ApiModel(description = "提问")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("cc_question")
|
||||
public class Question extends BaseEntity {
|
||||
|
||||
@TableId
|
||||
@ApiModelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
|
||||
/**
|
||||
* 用户id - 租户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id - 租户id")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Long tenantId;
|
||||
|
||||
/**
|
||||
* 提问用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "提问用户id")
|
||||
private Long questionUserId;
|
||||
|
||||
/**
|
||||
* 提问内容
|
||||
*/
|
||||
@ApiModelProperty(value = "提问内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 答复用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "答复用户id")
|
||||
private Long replyUserId;
|
||||
|
||||
/**
|
||||
* 回复内容
|
||||
*/
|
||||
@ApiModelProperty(value = "答复内容")
|
||||
private String reply;
|
||||
|
||||
/**
|
||||
* 提问图片
|
||||
*/
|
||||
@ApiModelProperty(value = "提问图片")
|
||||
private String questionUrl;
|
||||
|
||||
/**
|
||||
* 是否匿名
|
||||
*/
|
||||
@ApiModelProperty(value = "是否匿名")
|
||||
private Integer isAnonymous;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Integer status;
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package com.mcwl.communityCenter.domain.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
@ -9,20 +11,24 @@ import java.util.Date;
|
|||
* 发布请求参数
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(description = "发布请求参数")
|
||||
public class PublishRes {
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@NotBlank(message = "内容不能为空")
|
||||
@ApiModelProperty(value = "内容", required = true)
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 发布时间 - 定时发布
|
||||
*/
|
||||
@ApiModelProperty(value = "发布时间 - 定时发布")
|
||||
private Date publishTime;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Integer status;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.mcwl.communityCenter.mapper.PublishCommissionLikeMapper;
|
|||
import com.mcwl.communityCenter.service.PublishCommissionLikeService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
/**评论区点赞业务层
|
||||
* @Author:ChenYan
|
||||
* @Project:mcwl-ai
|
||||
* @Package:com.mcwl.communityCenter.service.impl
|
||||
|
|
|
@ -19,7 +19,7 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
/**评论区业务层
|
||||
* @Author:ChenYan
|
||||
* @Project:mcwl-ai
|
||||
* @Package:com.mcwl.communityCenter.service.impl
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -29,17 +31,19 @@ import java.util.Date;
|
|||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "作品点赞表")
|
||||
public class MallProductLike extends BaseEntity {
|
||||
|
||||
@TableId
|
||||
@ApiModelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
@ApiModelProperty(value = "作品id")
|
||||
private Long productId;
|
||||
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private String createName;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
@ -14,35 +16,42 @@ import lombok.NoArgsConstructor;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "模型评论")
|
||||
@TableName("model_comment")
|
||||
public class ModelComment extends BaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "id")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 模型id
|
||||
*/
|
||||
@ApiModelProperty(value = "模型id")
|
||||
private Long modelId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty(value = "评论内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 父评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "父评论id")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
}
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
@ -15,19 +17,23 @@ import lombok.NoArgsConstructor;
|
|||
@NoArgsConstructor
|
||||
@Data
|
||||
@TableName("model_comment_like")
|
||||
@ApiModel(description = "模型评论点赞")
|
||||
public class ModelCommentLike extends BaseEntity {
|
||||
|
||||
@TableId
|
||||
@ApiModelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 模型评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "模型评论id")
|
||||
private Long modelCommentId;
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
@ -19,6 +21,7 @@ import lombok.NoArgsConstructor;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "图片表")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("model_image")
|
||||
public class ModelImage extends BaseEntity {
|
||||
|
@ -26,68 +29,84 @@ public class ModelImage extends BaseEntity {
|
|||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
/**
|
||||
* 图片地址(最多8张,切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片地址(最多8张,切割)")
|
||||
private String imagePaths;
|
||||
/**
|
||||
* 是否添加水印
|
||||
*/
|
||||
@ApiModelProperty(value = "是否添加水印")
|
||||
private Integer hasWatermark;
|
||||
/**
|
||||
* 是否会员下载
|
||||
*/
|
||||
@ApiModelProperty(value = "是否会员下载")
|
||||
private Integer isMemberDownload;
|
||||
/**
|
||||
* 是否不可下载
|
||||
*/
|
||||
@ApiModelProperty(value = "是否不可下载")
|
||||
private Integer isNotDownloadable;
|
||||
/**
|
||||
* 是否隐藏生成信息
|
||||
*/
|
||||
@ApiModelProperty(value = "是否隐藏生成信息")
|
||||
private Integer hideGenInfo;
|
||||
/**
|
||||
* 图片标题(最多30字)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片标题(最多30字)")
|
||||
private String title;
|
||||
/**
|
||||
* 图片标签(多个,切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片标签(多个,切割)")
|
||||
private String tags;
|
||||
/**
|
||||
* 描述信息(最多500)
|
||||
*/
|
||||
@ApiModelProperty(value = "描述信息(最多500)")
|
||||
private String description;
|
||||
/**
|
||||
* 在线生成数
|
||||
*/
|
||||
@ApiModelProperty(value = "在线生成数")
|
||||
private Integer onlineGenNum;
|
||||
/**
|
||||
* 下载数
|
||||
*/
|
||||
@ApiModelProperty(value = "下载数")
|
||||
private Integer downloadNum;
|
||||
/**
|
||||
* 返图数
|
||||
*/
|
||||
@ApiModelProperty(value = "返图数")
|
||||
private Integer returnNum;
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 是否置顶
|
||||
*/
|
||||
@ApiModelProperty(value = "是否置顶")
|
||||
private Integer isTop;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -12,34 +14,41 @@ import lombok.EqualsAndHashCode;
|
|||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("model_image_comment")
|
||||
@ApiModel(description = "图片评论")
|
||||
public class ModelImageComment extends BaseEntity {
|
||||
|
||||
@TableId
|
||||
@ApiModelProperty(value = "id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 图片id
|
||||
*/
|
||||
@ApiModelProperty(value = "图片id")
|
||||
private Long modelImageId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty(value = "评论内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 父评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "父评论id")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
}
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -12,21 +14,25 @@ import java.util.Date;
|
|||
* 图片评论点赞
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(description = "图片评论点赞")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("model_image_comment_like")
|
||||
public class ModelImageCommentLike extends BaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "id")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 图片评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "图片评论id")
|
||||
private Long modelImageCommentId;
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
|
@ -11,7 +13,7 @@ import java.util.Date;
|
|||
/**
|
||||
* 图片点赞表
|
||||
*/
|
||||
|
||||
@ApiModel(description = "图片点赞表")
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
@ -19,17 +21,20 @@ import java.util.Date;
|
|||
@Data
|
||||
public class ModelImageLike extends BaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "id")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 图片id
|
||||
*/
|
||||
@ApiModelProperty(value = "图片id")
|
||||
private Long modelImageId;
|
||||
|
||||
}
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
|
@ -12,20 +14,24 @@ import lombok.*;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "模型点赞表")
|
||||
@TableName("model_like")
|
||||
public class ModelLike extends BaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "id")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 模型id
|
||||
*/
|
||||
@ApiModelProperty(value = "模型id")
|
||||
private Long modelId;
|
||||
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -28,90 +30,112 @@ import java.util.List;
|
|||
@Data
|
||||
@Builder
|
||||
@TableName("model")
|
||||
@ApiModel(description = "模型表")
|
||||
public class ModelProduct extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String modelName;
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String versionDescription;
|
||||
/***
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 模型类型ID
|
||||
*/
|
||||
@ApiModelProperty(value = "模型类型ID")
|
||||
private Long modelTypeId;
|
||||
/**
|
||||
* 垂类
|
||||
*/
|
||||
@ApiModelProperty(value = "垂类")
|
||||
private String category;
|
||||
/**
|
||||
* 功能
|
||||
*/
|
||||
@ApiModelProperty(value = "功能")
|
||||
private String functions;
|
||||
/**
|
||||
* 标签(最多三个,切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "标签(最多三个,切割)")
|
||||
private String tags;
|
||||
/**
|
||||
* 参与活动
|
||||
*/
|
||||
@ApiModelProperty(value = "参与活动")
|
||||
private String activityId;
|
||||
/**
|
||||
* 是否原创
|
||||
*/
|
||||
@ApiModelProperty(value = "是否原创")
|
||||
private Integer isOriginal;
|
||||
/**
|
||||
* 原创作者姓名
|
||||
*/
|
||||
@ApiModelProperty(value = "原创作者姓名")
|
||||
private String originalAuthorName;
|
||||
/**
|
||||
* 生图次数
|
||||
*/
|
||||
@ApiModelProperty(value = "生成图次数")
|
||||
private Integer reals;
|
||||
/**
|
||||
* 封面图
|
||||
*/
|
||||
@ApiModelProperty(value = "封面图")
|
||||
private String surfaceUrl;
|
||||
/**
|
||||
* 下载次数
|
||||
*/
|
||||
@ApiModelProperty(value = "下载次数")
|
||||
private Integer numbers;
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "点赞数")
|
||||
private Integer likeNum;
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
@ApiModelProperty(value = "审核状态")
|
||||
private Integer auditSatus;
|
||||
/**
|
||||
* 审核失败原因
|
||||
*/
|
||||
@ApiModelProperty(value = "审核失败原因")
|
||||
private String auditText;
|
||||
/**
|
||||
* 是否推荐模型
|
||||
*/
|
||||
@ApiModelProperty(value = "是否推荐模型")
|
||||
private Integer isRecommend;
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
@ApiModelProperty(value = "删除标志(0代表存在 2代表删除)")
|
||||
private String delFlag;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 翻译后标签
|
||||
*/
|
||||
@ApiModelProperty(value = "翻译后标签")
|
||||
@TableField(exist = false)
|
||||
private List<String> styleList;
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -22,108 +24,134 @@ import java.util.ArrayList;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "模型版本表")
|
||||
@TableName("model_version")
|
||||
public class ModelVersion extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 版本名称
|
||||
*/
|
||||
@ApiModelProperty(value = "版本名称")
|
||||
private Long modelId;
|
||||
/**
|
||||
* 版本名称
|
||||
*/
|
||||
@ApiModelProperty(value = "版本名称")
|
||||
private String versionName;
|
||||
/**
|
||||
* 模型类型ID
|
||||
*/
|
||||
@ApiModelProperty(value = "模型类型ID")
|
||||
private Long modelType;
|
||||
/**
|
||||
* 文件地址
|
||||
*/
|
||||
@ApiModelProperty(value = "文件地址")
|
||||
private String filePath;
|
||||
/**
|
||||
* 版本介绍(富文本编辑)
|
||||
*/
|
||||
@ApiModelProperty(value = "版本介绍(富文本编辑)")
|
||||
private String versionDescription;
|
||||
/**
|
||||
* 触发词
|
||||
*/
|
||||
@ApiModelProperty(value = "触发词")
|
||||
private String triggerWords;
|
||||
/**
|
||||
* 采样方法
|
||||
*/
|
||||
@ApiModelProperty(value = "采样方法")
|
||||
private String sampling;
|
||||
/**
|
||||
* 高清修复
|
||||
*/
|
||||
@ApiModelProperty(value = "高清修复")
|
||||
private String high;
|
||||
/**
|
||||
* vae
|
||||
*/
|
||||
@ApiModelProperty(value = "vae")
|
||||
private Integer vae;
|
||||
/**
|
||||
* cfg
|
||||
*/
|
||||
@ApiModelProperty(value = "cfg")
|
||||
private Integer cfg;
|
||||
/**
|
||||
* 是否公开
|
||||
*/
|
||||
@ApiModelProperty(value = "是否公开")
|
||||
private Integer isPublic;
|
||||
/**
|
||||
* 是否在线使用
|
||||
*/
|
||||
@ApiModelProperty(value = "是否在线使用")
|
||||
private Integer isOnlineUse;
|
||||
/**
|
||||
* 允许下载生图
|
||||
*/
|
||||
@ApiModelProperty(value = "允许下载生图")
|
||||
private Integer allowDownloadImage;
|
||||
/**
|
||||
* 允许在软件旗下使用
|
||||
*/
|
||||
@ApiModelProperty(value = "允许在软件旗下使用")
|
||||
private Integer allowSoftwareUse;
|
||||
/**
|
||||
* 允许进行融合
|
||||
*/
|
||||
@ApiModelProperty(value = "允许进行融合")
|
||||
private Integer allowFusion;
|
||||
/**
|
||||
* 是否允许商用
|
||||
*/
|
||||
@ApiModelProperty(value = "是否允许商用")
|
||||
private Integer allowCommercialUse;
|
||||
/**
|
||||
* 是否允许使用
|
||||
*/
|
||||
@ApiModelProperty(value = "是否允许使用")
|
||||
private Integer allowUsage;
|
||||
/**
|
||||
* 是否为独家模型
|
||||
*/
|
||||
@ApiModelProperty(value = "是否为独家模型")
|
||||
private Integer isExclusiveModel;
|
||||
/**
|
||||
* 示例图片地址(多张使用切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "示例图片地址(多张使用切割)")
|
||||
private String sampleImagePaths;
|
||||
/**
|
||||
* 是否隐藏图片生成信息
|
||||
*/
|
||||
@ApiModelProperty(value = "是否隐藏图片生成信息")
|
||||
private Integer hideImageGenInfo;
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
@ApiModelProperty(value = "审核状态")
|
||||
private Integer auditSatus;
|
||||
/**
|
||||
* 审核失败原因
|
||||
*/
|
||||
@ApiModelProperty(value = "审核失败原因")
|
||||
private String auditText;
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
@ApiModelProperty(value = "删除标志(0代表存在 2代表删除)")
|
||||
private String delFlag;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "高清修复列表")
|
||||
@TableField(exist = false)
|
||||
private ArrayList<String> highList;
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@ package com.mcwl.resource.domain;
|
|||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -22,17 +24,19 @@ import java.util.Date;
|
|||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Data
|
||||
@ApiModel(description = "关注表")
|
||||
public class SysUserAttention {
|
||||
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
@ApiModelProperty(value = "被关注用户ID")
|
||||
private Long toUserId;
|
||||
|
||||
@ApiModelProperty(value = "关注时间")
|
||||
private String createName;
|
||||
|
||||
@ApiModelProperty(value = "关注时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package com.mcwl.resource.domain;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -16,37 +18,44 @@ import lombok.NoArgsConstructor;
|
|||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
@ApiModel
|
||||
public class SysUserInfo {
|
||||
|
||||
/**
|
||||
* 关注
|
||||
*/
|
||||
@ApiModelProperty(value = "关注")
|
||||
private Long attention = 0L;
|
||||
|
||||
/**
|
||||
* 粉丝
|
||||
*/
|
||||
@ApiModelProperty(value = "粉丝")
|
||||
private Long bean = 0L;
|
||||
|
||||
/**
|
||||
* 模型下载次数
|
||||
*/
|
||||
@ApiModelProperty(value = "模型下载次数")
|
||||
private Long modelDownloadNum = 0L;
|
||||
|
||||
/**
|
||||
* 模型运行次数
|
||||
*/
|
||||
@ApiModelProperty(value = "模型运行次数")
|
||||
private Long modelRunNum = 0L;
|
||||
|
||||
|
||||
/**
|
||||
* 模型点赞次数
|
||||
*/
|
||||
@ApiModelProperty(value = "模型点赞次数")
|
||||
private Long modelLikeNum = 0L;
|
||||
|
||||
/**
|
||||
* 图片点赞次数
|
||||
*/
|
||||
@ApiModelProperty(value = "图片点赞次数")
|
||||
private Long imageLikeNum = 0L;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
package com.mcwl.resource.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -17,14 +20,18 @@ import lombok.NoArgsConstructor;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "活动")
|
||||
@TableName("to_activity")
|
||||
public class ToActivity extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "主键")
|
||||
private Long id;
|
||||
/**
|
||||
* 活动名称
|
||||
*/
|
||||
@ApiModelProperty(value = "活动名称")
|
||||
private String activityName;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -28,99 +30,121 @@ import java.util.List;
|
|||
@NoArgsConstructor
|
||||
@Data
|
||||
@TableName("work_flow")
|
||||
@ApiModel(description = "工作流表")
|
||||
public class WorkFlow {
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 名称(最多30字)
|
||||
*/
|
||||
@ApiModelProperty(value = "名称(最多30字)")
|
||||
private String workflowName;
|
||||
/**
|
||||
* 垂类
|
||||
*/
|
||||
@ApiModelProperty(value = "垂类")
|
||||
private String category;
|
||||
/**
|
||||
* 主题
|
||||
*/
|
||||
@ApiModelProperty(value = "主题")
|
||||
private String theme;
|
||||
/**
|
||||
* 风格
|
||||
*/
|
||||
@ApiModelProperty(value = "风格")
|
||||
private String style;
|
||||
/**
|
||||
* 功能
|
||||
*/
|
||||
@ApiModelProperty(value = "功能")
|
||||
private String functions;
|
||||
/**
|
||||
* 参与活动
|
||||
*/
|
||||
@ApiModelProperty(value = "参与活动")
|
||||
private String activityParticipation;
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
@ApiModelProperty(value = "删除标志(0代表存在 2代表删除)")
|
||||
private Integer delFlag;
|
||||
|
||||
/**
|
||||
* 审核状态(0全部状态 1已发布-公开 2已发布-仅自己可见 3审核中 4审核未通过)
|
||||
*/
|
||||
@ApiModelProperty(value = "审核状态(0全部状态 1已发布-公开 2已发布-仅自己可见 3审核中 4审核未通过)")
|
||||
private Integer auditStatus = 0;
|
||||
|
||||
/**
|
||||
* 审核失败原因
|
||||
*/
|
||||
@ApiModelProperty(value = "审核失败原因")
|
||||
private String auditText;
|
||||
|
||||
/**
|
||||
* 是否原创
|
||||
*/
|
||||
@ApiModelProperty(value = "是否原创")
|
||||
private Integer original;
|
||||
|
||||
/**
|
||||
* 原文作者名字
|
||||
*/
|
||||
@ApiModelProperty(value = "原文作者名字")
|
||||
private String authorName;
|
||||
|
||||
/**
|
||||
* 使用数量
|
||||
*/
|
||||
@ApiModelProperty(value = "使用数量")
|
||||
private Long useNumber = 0L;
|
||||
|
||||
/**
|
||||
*下载数量
|
||||
*/
|
||||
@ApiModelProperty(value = "下载数量")
|
||||
private Long downloadNumber = 0L;
|
||||
|
||||
/**
|
||||
* 是否允许在线使用(0允许 1不允许)
|
||||
*/
|
||||
@ApiModelProperty(value = "是否允许在线使用(0允许 1不允许)")
|
||||
private Integer onlineUse;
|
||||
|
||||
/**
|
||||
* 是否允许下载工作流(0允许 1不允许)
|
||||
*/
|
||||
@ApiModelProperty(value = "是否允许下载工作流(0允许 1不允许)")
|
||||
private Integer download;
|
||||
|
||||
/**
|
||||
* 是否允许出售或商用(0允许 1不允许
|
||||
*/
|
||||
|
||||
@ApiModelProperty(value = "是否允许出售或商用(0允许 1不允许)")
|
||||
private Integer sell;
|
||||
|
||||
/**
|
||||
* 封面图地址
|
||||
*/
|
||||
@ApiModelProperty(value = "封面图地址")
|
||||
private String coverPath;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
@ -128,6 +152,7 @@ public class WorkFlow {
|
|||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date updateTime;
|
||||
|
@ -135,17 +160,20 @@ public class WorkFlow {
|
|||
/**
|
||||
* 作品点赞数量
|
||||
*/
|
||||
@ApiModelProperty(value = "作品点赞数量")
|
||||
private Long likeCount = 0L;
|
||||
|
||||
/**
|
||||
* 翻译后主体
|
||||
*/
|
||||
@ApiModelProperty(value = "翻译后主体")
|
||||
@TableField(exist = false)
|
||||
private List<String> themeList;
|
||||
|
||||
/**
|
||||
* 翻译后风格
|
||||
*/
|
||||
@ApiModelProperty(value = "翻译后风格")
|
||||
@TableField(exist = false)
|
||||
private List<String> styleList;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -10,6 +12,7 @@ import lombok.NoArgsConstructor;
|
|||
/**
|
||||
* 工作流评论
|
||||
*/
|
||||
@ApiModel(description = "工作流评论")
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
|
@ -17,31 +20,37 @@ import lombok.NoArgsConstructor;
|
|||
public class WorkFlowComment extends BaseEntity {
|
||||
|
||||
@TableId
|
||||
@ApiModelProperty ("主键ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty ("用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 工作流id
|
||||
*/
|
||||
@ApiModelProperty ("工作流id")
|
||||
private Long workFlowId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty ("评论内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 父评论id
|
||||
*/
|
||||
@ApiModelProperty ("父评论id")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@ApiModelProperty ("点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
}
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -13,20 +15,25 @@ import lombok.NoArgsConstructor;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "工作流评论点赞")
|
||||
@TableName("work_flow_comment_like")
|
||||
public class WorkFlowCommentLike extends BaseEntity {
|
||||
|
||||
|
||||
@TableId
|
||||
@ApiModelProperty ("主键ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty ("用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 工作流评论id
|
||||
*/
|
||||
@ApiModelProperty ("工作流评论id")
|
||||
private Long workFlowCommentId;
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.mcwl.resource.domain;
|
|||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.mcwl.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -14,20 +16,24 @@ import lombok.NoArgsConstructor;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel (description = "模型点赞表")
|
||||
@TableName("work_flow_like")
|
||||
public class WorkFlowLike extends BaseEntity {
|
||||
|
||||
@TableId
|
||||
@ApiModelProperty("主键ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty("用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 模型id
|
||||
*/
|
||||
@ApiModelProperty("模型id")
|
||||
private Long workFlowId;
|
||||
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@ package com.mcwl.resource.domain;
|
|||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -17,6 +19,7 @@ import lombok.NoArgsConstructor;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "工作流版本表")
|
||||
@TableName("work_flow_version")
|
||||
public class WorkFlowVersion {
|
||||
|
||||
|
@ -24,49 +27,60 @@ public class WorkFlowVersion {
|
|||
* 主键ID
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty("主键ID")
|
||||
private Long id;
|
||||
/**
|
||||
* 版本名称
|
||||
*/
|
||||
@ApiModelProperty("版本名称")
|
||||
private String versionName;
|
||||
/**
|
||||
* 版本介绍(富文本)
|
||||
*/
|
||||
@ApiModelProperty("版本介绍(富文本)")
|
||||
private String versionDescription;
|
||||
/**
|
||||
* 文件地址
|
||||
*/
|
||||
@ApiModelProperty("文件地址")
|
||||
private String filePath;
|
||||
/**
|
||||
* 图片地址(最多20张,切割)
|
||||
*/
|
||||
@ApiModelProperty("图片地址(最多20张,切割)")
|
||||
private String imagePaths;
|
||||
/**
|
||||
* 是否隐藏图片生成信息
|
||||
*/
|
||||
@ApiModelProperty("是否隐藏图片生成信息")
|
||||
private Integer hideGenInfo;
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标志(0代表存在 2代表删除)")
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 审核状态(0全部状态 1已发布-公开 2已发布-仅自己可见 3审核中 4审核未通过)
|
||||
*/
|
||||
@ApiModelProperty("审核状态(0全部状态 1已发布-公开 2已发布-仅自己可见 3审核中 4审核未通过)")
|
||||
private Integer auditStatus = 0;
|
||||
|
||||
/**
|
||||
* 审核失败原因
|
||||
*/
|
||||
@ApiModelProperty("审核失败原因")
|
||||
private String auditText;
|
||||
|
||||
/**
|
||||
* 模型ID
|
||||
*/
|
||||
@ApiModelProperty("模型ID")
|
||||
private Long workFlowId;
|
||||
|
||||
/**
|
||||
* 文件名字
|
||||
*/
|
||||
@ApiModelProperty("文件名字")
|
||||
private String fileName;
|
||||
}
|
||||
|
|
|
@ -1,27 +1,32 @@
|
|||
package com.mcwl.resource.domain.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@ApiModel(description = "图片评论请求参数")
|
||||
@Data
|
||||
public class ModelImageCommentRes {
|
||||
/**
|
||||
* 图片id
|
||||
*/
|
||||
@ApiModelProperty(value = "图片id", required = true)
|
||||
@NotNull(message = "图片id不能为空")
|
||||
private Long modelImageId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty(value = "评论内容", required = true)
|
||||
@NotBlank(message = "评论内容不能为空")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 父评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "父评论id")
|
||||
private Long parentId;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package com.mcwl.resource.domain.dto;
|
||||
|
||||
import com.mcwl.common.core.page.PageDomain;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -10,27 +12,32 @@ import java.util.Date;
|
|||
/**
|
||||
* 图片分页请求对象
|
||||
*/
|
||||
@ApiModel(description = "图片分页请求对象")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class ModelImagePageRes extends PageDomain {
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@ApiModelProperty(value = "结束时间")
|
||||
private Date endTime;
|
||||
|
||||
|
||||
|
|
|
@ -1,49 +1,60 @@
|
|||
package com.mcwl.resource.domain.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@ApiModel(description = "图片请求对象")
|
||||
@Data
|
||||
public class ModelImageRes {
|
||||
/**
|
||||
* 图片id
|
||||
*/
|
||||
@ApiModelProperty(value = "图片id", required = true)
|
||||
private Long id;
|
||||
/**
|
||||
* 图片地址(最多8张,切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片地址(最多8张,切割)", required = true)
|
||||
@NotBlank(message = "图片地址不能为空")
|
||||
private String imagePaths;
|
||||
/**
|
||||
* 是否添加水印
|
||||
*/
|
||||
@ApiModelProperty(value = "是否添加水印")
|
||||
private Integer hasWatermark;
|
||||
/**
|
||||
* 是否会员下载
|
||||
*/
|
||||
@ApiModelProperty(value = "是否会员下载")
|
||||
private Integer isMemberDownload;
|
||||
/**
|
||||
* 是否不可下载
|
||||
*/
|
||||
@ApiModelProperty(value = "是否不可下载")
|
||||
private Integer isNotDownloadable;
|
||||
/**
|
||||
* 是否隐藏生成信息
|
||||
*/
|
||||
@ApiModelProperty(value = "是否隐藏生成信息")
|
||||
private Integer hideGenInfo;
|
||||
/**
|
||||
* 图片标题(最多30字)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片标题(最多30字)", required = true)
|
||||
@NotBlank(message = "图片标题不能为空")
|
||||
private String title;
|
||||
/**
|
||||
* 图片标签(多个,切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片标签(多个,切割)")
|
||||
private String tags;
|
||||
/**
|
||||
* 描述信息(最多500)
|
||||
*/
|
||||
@ApiModelProperty(value = "描述信息(最多500)")
|
||||
private String description;
|
||||
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@ import com.mcwl.resource.domain.ModelProduct;
|
|||
import com.mcwl.resource.domain.ModelVersion;
|
||||
import com.mcwl.resource.domain.WorkFlow;
|
||||
import com.mcwl.resource.domain.WorkFlowVersion;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -17,15 +19,15 @@ import java.util.List;
|
|||
* @date 2025/1/9
|
||||
* @apiNote
|
||||
*/
|
||||
|
||||
@ApiModel(description = "模型入参 模型+版本")
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
public class RequestModel {
|
||||
|
||||
@ApiModelProperty(value = "模型信息")
|
||||
private ModelProduct modelProduct;
|
||||
|
||||
@ApiModelProperty(value = "模型版本信息")
|
||||
private List<ModelVersion> modelVersionList;
|
||||
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@ package com.mcwl.resource.domain.request;
|
|||
|
||||
import com.mcwl.resource.domain.WorkFlow;
|
||||
import com.mcwl.resource.domain.WorkFlowVersion;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -11,6 +13,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* 工作流入参 工作流+版本
|
||||
*
|
||||
* @author DaiZibo
|
||||
* @date 2025/1/9
|
||||
* @apiNote
|
||||
|
@ -20,10 +23,11 @@ import java.util.List;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "工作流入参 工作流+版本")
|
||||
public class RequestWorkFlow {
|
||||
|
||||
private WorkFlow workFlow;
|
||||
|
||||
private List<WorkFlowVersion> workFlowVersionList;
|
||||
@ApiModelProperty(value = "工作流信息")
|
||||
private WorkFlow workFlow;
|
||||
@ApiModelProperty(value = "工作流版本信息")
|
||||
private List<WorkFlowVersion> workFlowVersionList;
|
||||
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@ package com.mcwl.resource.domain.vo;
|
|||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.mcwl.common.core.page.PageDomain;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -22,21 +24,25 @@ import java.util.Date;
|
|||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "查看个人发布作品入参")
|
||||
public class MallProductVo {
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Long status;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Long order;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date startTime;
|
||||
|
@ -44,6 +50,7 @@ public class MallProductVo {
|
|||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@ApiModelProperty(value = "结束时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date endTime;
|
||||
|
@ -51,11 +58,13 @@ public class MallProductVo {
|
|||
/**
|
||||
* 页码
|
||||
*/
|
||||
@ApiModelProperty(value = "页码")
|
||||
private Integer pageNumber;
|
||||
|
||||
/**
|
||||
* 每页条数
|
||||
*/
|
||||
@ApiModelProperty(value = "每页条数")
|
||||
private Integer pageSize;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package com.mcwl.resource.domain.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -19,46 +21,55 @@ import java.util.List;
|
|||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "评论区评论")
|
||||
public class ModelCommentVo {
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
private String userAvatar;
|
||||
|
||||
/**
|
||||
* 评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "评论id")
|
||||
private Long commentId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty(value = "评论内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 子评论
|
||||
*/
|
||||
@ApiModelProperty(value = "子评论")
|
||||
private List<ModelCommentVo> contentList = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 评论点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "评论点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
/**
|
||||
* 评论时间
|
||||
*/
|
||||
@ApiModelProperty(value = "评论时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package com.mcwl.resource.domain.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -14,7 +16,7 @@ import java.util.List;
|
|||
/**
|
||||
* 评论区评论
|
||||
*/
|
||||
|
||||
@ApiModel(description = "评论区评论")
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
@ -24,41 +26,49 @@ public class ModelImageCommentVo {
|
|||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
private String userAvatar;
|
||||
|
||||
/**
|
||||
* 评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "评论id")
|
||||
private Long commentId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty(value = "评论内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 子评论
|
||||
*/
|
||||
@ApiModelProperty(value = "子评论")
|
||||
private List<ModelImageCommentVo> contentList = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 评论点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "评论点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
/**
|
||||
* 评论时间
|
||||
*/
|
||||
@ApiModelProperty(value = "评论时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
|
|
|
@ -1,75 +1,95 @@
|
|||
package com.mcwl.resource.domain.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel(description = "图片请求对象")
|
||||
public class ModelImageVo {
|
||||
/**
|
||||
* 图片ID
|
||||
*/
|
||||
@ApiModelProperty(value = "图片id", required = true)
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id", required = true)
|
||||
private Long userId;
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名称", required = true)
|
||||
private String userName;
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@ApiModelProperty(value = "用户头像", required = true)
|
||||
private String userAvatar;
|
||||
/**
|
||||
* 图片地址(最多8张,切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片地址(最多8张,切割)")
|
||||
private String imagePaths;
|
||||
/**
|
||||
* 是否添加水印
|
||||
*/
|
||||
@ApiModelProperty(value = "是否添加水印")
|
||||
private Integer hasWatermark;
|
||||
/**
|
||||
* 是否会员下载
|
||||
*/
|
||||
@ApiModelProperty(value = "是否会员下载")
|
||||
private Integer isMemberDownload;
|
||||
/**
|
||||
* 是否不可下载
|
||||
*/
|
||||
@ApiModelProperty(value = "是否不可下载")
|
||||
private Integer isNotDownloadable;
|
||||
/**
|
||||
* 是否隐藏生成信息
|
||||
*/
|
||||
@ApiModelProperty(value = "是否隐藏生成信息")
|
||||
private Integer hideGenInfo;
|
||||
|
||||
/**
|
||||
* 图片标题(最多30字)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片标题(最多30字)")
|
||||
private String title;
|
||||
/**
|
||||
* 图片标签(多个,切割)
|
||||
*/
|
||||
@ApiModelProperty(value = "图片标签(多个,切割)")
|
||||
private List<String> tags = new ArrayList<>();
|
||||
/**
|
||||
* 描述信息(最多500)
|
||||
*/
|
||||
@ApiModelProperty(value = "描述信息(最多500)")
|
||||
private String description;
|
||||
/**
|
||||
* 在线生成数
|
||||
*/
|
||||
@ApiModelProperty(value = "在线生成数")
|
||||
private Integer onlineGenNum;
|
||||
/**
|
||||
* 下载数
|
||||
*/
|
||||
@ApiModelProperty(value = "下载数")
|
||||
private Integer downloadNum;
|
||||
/**
|
||||
* 返图数
|
||||
*/
|
||||
@ApiModelProperty(value = "返图数")
|
||||
private Integer returnNum;
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
|
||||
|
|
|
@ -1,40 +1,51 @@
|
|||
package com.mcwl.resource.domain.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel(description = "模型请求对象")
|
||||
public class ModelVo {
|
||||
/**
|
||||
* 模型id
|
||||
*/
|
||||
@ApiModelProperty(value = "模型id", required = true)
|
||||
private Long id;
|
||||
/**
|
||||
* 模型名称
|
||||
*/
|
||||
@ApiModelProperty(value = "模型名称", required = true)
|
||||
private String modelName;
|
||||
/**
|
||||
* 封面图
|
||||
*/
|
||||
@ApiModelProperty(value = "封面图")
|
||||
private String surfaceUrl;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名称")
|
||||
private String userName;
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
private String userAvatar;
|
||||
/**
|
||||
* 在线生成数
|
||||
*/
|
||||
@ApiModelProperty(value = "在线生成数")
|
||||
private Integer reals;
|
||||
/**
|
||||
* 下载数
|
||||
*/
|
||||
@ApiModelProperty(value = "下载数")
|
||||
private Integer numbers;
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package com.mcwl.resource.domain.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -16,13 +18,15 @@ import lombok.NoArgsConstructor;
|
|||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "分页+条件")
|
||||
public class PageVo {
|
||||
|
||||
@ApiModelProperty(value = "页码")
|
||||
private Integer pageNumber;
|
||||
|
||||
@ApiModelProperty(value = "每页条数")
|
||||
private Integer pageSize;
|
||||
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer order;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package com.mcwl.resource.domain.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -19,46 +21,55 @@ import java.util.List;
|
|||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Data
|
||||
@ApiModel(description = "评论区评论")
|
||||
public class WorkFlowCommentVo {
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
private String userAvatar;
|
||||
|
||||
/**
|
||||
* 评论id
|
||||
*/
|
||||
@ApiModelProperty(value = "评论id")
|
||||
private Long commentId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
@ApiModelProperty(value = "评论内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 子评论
|
||||
*/
|
||||
@ApiModelProperty(value = "子评论")
|
||||
private List<WorkFlowCommentVo> contentList = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 评论点赞数
|
||||
*/
|
||||
@ApiModelProperty(value = "评论点赞数")
|
||||
private Integer likeNum;
|
||||
|
||||
/**
|
||||
* 评论时间
|
||||
*/
|
||||
@ApiModelProperty(value = "评论时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
|
|
|
@ -1,40 +1,51 @@
|
|||
package com.mcwl.resource.domain.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel(description = "工作流请求对象")
|
||||
public class WorkFlowVo {
|
||||
/**
|
||||
* 工作流id
|
||||
*/
|
||||
@ApiModelProperty(value = "工作流id", required = true)
|
||||
private Long id;
|
||||
/**
|
||||
* 工作流名称
|
||||
*/
|
||||
@ApiModelProperty(value = "工作流名称", required = true)
|
||||
private String workflowName;
|
||||
/**
|
||||
* 封面图
|
||||
*/
|
||||
@ApiModelProperty(value = "封面图")
|
||||
private String coverPath;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名称")
|
||||
private String userName;
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
private String userAvatar;
|
||||
/**
|
||||
* 在线生成数
|
||||
*/
|
||||
@ApiModelProperty(value = "在线生成数")
|
||||
private Integer useNumber;
|
||||
/**
|
||||
* 下载数
|
||||
*/
|
||||
@ApiModelProperty(value = "下载数")
|
||||
private Integer downloadNumber;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue