diff --git a/src/api/index.ts b/src/api/index.ts index 70b6482..3297742 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -627,6 +627,15 @@ export async function getcurrencys(){ return res.data } +/** + * 登录右侧 视频列表 + */ +export async function getwebvideolist() { + const res=await get("webvideos") + console.log(res) + return res.data +} + /** * 发送验证码 * @param phone 手机号 diff --git a/src/components/NavTop.vue b/src/components/NavTop.vue index b3015b9..24867a2 100644 --- a/src/components/NavTop.vue +++ b/src/components/NavTop.vue @@ -43,7 +43,7 @@
-
{{userinfo.currency}}
+
{{userinfo.currencyValue}}