mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
开始接入前端
This commit is contained in:
parent
1a1e7f5113
commit
463fc2abdf
18
ruoyi-site/ruoyi-h5/doc/370802.json
Normal file
18
ruoyi-site/ruoyi-h5/doc/370802.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": 370802,
|
||||
"group_id": 0,
|
||||
"type": "web_page",
|
||||
"title": "H5翻页愚人节冷知识分享",
|
||||
"content": "",
|
||||
"content_updated_at": 1747223401,
|
||||
"description": "",
|
||||
"preview": {
|
||||
"url": "https://st-gdx.dancf.com/odyssey/uxms/37699959/58626/20200525-140642-4049.jpeg",
|
||||
"url_watermark": "https://gd-filems.dancf.com/saas/xi19e5/0/faded7db-02a0-4a6a-96bf-7287252541fb11458.jpeg",
|
||||
"width": 750,
|
||||
"height": 1468
|
||||
},
|
||||
"status": 1,
|
||||
"created_at": 1585202569,
|
||||
"updated_at": 1747223401
|
||||
}
|
||||
2
ruoyi-site/ruoyi-h5/doc/需求.md
Normal file
2
ruoyi-site/ruoyi-h5/doc/需求.md
Normal file
@ -0,0 +1,2 @@
|
||||
## 问ai时的需求
|
||||
我有个java应用,spring boot3,然后现在想要实现这个json的增删改查,数据库方面想用mysql和mongo结合,推荐吗?里面的 content 会有很长的文本
|
||||
@ -84,6 +84,11 @@
|
||||
<artifactId>dubbo-nacos-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--mongodb 支持-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@ -0,0 +1,43 @@
|
||||
package com.luban.api.controller;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@RestController
|
||||
@RequestMapping("font")
|
||||
@Tag(name = "字体")
|
||||
@Slf4j
|
||||
public class FontController {
|
||||
|
||||
|
||||
@Operation(summary = "批量上传字体")
|
||||
@PostMapping("create")
|
||||
public List<Object> create(@Validated List<Object> list) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
|
||||
@Operation(summary = "分页查询字体")
|
||||
@GetMapping("page")
|
||||
public List<Object> page(String type//中文、英文
|
||||
, @Validated String name) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
@Operation(summary = "查询字体")
|
||||
@GetMapping("list")
|
||||
public List<Object> list(@Validated List<String> nameLike) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user