Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么把视频换成自己的接口 #97

Closed
QQand77 opened this issue Jul 9, 2024 · 2 comments
Closed

怎么把视频换成自己的接口 #97

QQand77 opened this issue Jul 9, 2024 · 2 comments

Comments

@QQand77
Copy link

QQand77 commented Jul 9, 2024

怎么把视频换成自己的接口,需要改动哪个文件

@xubaobao19940428
Copy link

怎么把视频换成自己的接口,需要改动哪个文件

自己写接口放进去不就可以了,api文件夹里面

@zyronon
Copy link
Owner

zyronon commented Nov 11, 2024

image

如果你想直接换视频,那就把图上的json文件的数据换掉就行

如果你想以接口的方式展示后端的视频,那把startMock 方法注释掉,然后实现api文件下面对应的接口,返回格式和json文件一样就行了

@zyronon zyronon closed this as completed Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants