修改查询limit

This commit is contained in:
yezian 2025-02-06 17:38:51 +08:00
parent 6dc10c5d0b
commit 6ec6d07892
2 changed files with 5 additions and 4 deletions

View File

@ -389,7 +389,7 @@ const ContactContent = (props) => {
},
body: JSON.stringify({
offset: 0,
limit: 1000,
limit: 100,
...base,
}),
}
@ -480,7 +480,7 @@ export default function Contact() {
key: "unread",
},
{
label: "全部消息",
label: "最近100条",
key: "all",
},
];

View File

@ -8,7 +8,7 @@ import {
useLocation,
} from "react-router-dom";
import baseRequest from "../../utils/baseRequest";
import VideoPlayer from '../../components/VideoPlayer';
import VideoPlayer from "../../components/VideoPlayer";
const FeedbackContent = (props) => {
const { TextArea } = Input;
const current = props.current;
@ -44,7 +44,7 @@ const FeedbackContent = (props) => {
/>
))}
{data.videos?.map((item, index) => (
<VideoPlayer key={index} url={item.urls[0]}/>
<VideoPlayer key={index} url={item.urls[0]} />
))}
</div>
),
@ -229,6 +229,7 @@ const FeedbackContent = (props) => {
},
body: JSON.stringify({
mids: userMids,
limit: 200,
...base,
}),
});