-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
238 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import request from '../utils/request' | ||
import { request } from '@/utils/request' | ||
|
||
export function userinfo(params, data) { | ||
export function userinfo(params?: any, data?: any) { | ||
return request({ url: '/user/userinfo', method: 'get', params, data }) | ||
} | ||
|
||
export function userVideoList(params, data) { | ||
export function userVideoList(params?: any, data?: any) { | ||
return request({ url: '/user/video_list', method: 'get', params, data }) | ||
} | ||
|
||
export function panel(params, data) { | ||
export function panel(params?: any, data?: any) { | ||
return request({ url: '/user/panel', method: 'get', params, data }) | ||
} | ||
|
||
export function friends(params, data) { | ||
export function friends(params?: any, data?: any) { | ||
return request({ url: '/user/friends', method: 'get', params, data }) | ||
} | ||
|
||
export function userCollect(params, data) { | ||
export function userCollect(params?: any, data?: any) { | ||
return request({ url: '/user/collect', method: 'get', params, data }) | ||
} | ||
|
||
export function recommendedPost(params, data) { | ||
export function recommendedPost(params?: any, data?: any) { | ||
return request({ url: '/post/recommended', method: 'get', params, data }) | ||
} | ||
|
||
export function recommendedShop(params, data) { | ||
export function recommendedShop(params?: any, data?: any) { | ||
return request({ url: '/shop/recommended', method: 'get', params, data }) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
import request from '../utils/request' | ||
import { request } from '@/utils/request' | ||
|
||
export function historyOther(params, data) { | ||
export function historyOther(params?: any, data?: any) { | ||
return request({ url: '/video/historyOther', method: 'get', params, data }) | ||
} | ||
|
||
export function historyVideo(params, data) { | ||
export function historyVideo(params?: any, data?: any) { | ||
return request({ url: '/video/history', method: 'get', params, data }) | ||
} | ||
|
||
export function recommendedVideo(params, data) { | ||
export function recommendedVideo(params?: any, data?: any) { | ||
return request({ url: '/video/recommended', method: 'get', params, data }) | ||
} | ||
|
||
export function myVideo(params, data) { | ||
export function myVideo(params?: any, data?: any) { | ||
return request({ url: '/video/my', method: 'get', params, data }) | ||
} | ||
|
||
export function privateVideo(params, data) { | ||
export function privateVideo(params?: any, data?: any) { | ||
return request({ url: '/video/private', method: 'get', params, data }) | ||
} | ||
|
||
export function likeVideo(params, data) { | ||
export function likeVideo(params?: any, data?: any) { | ||
return request({ url: '/video/like', method: 'get', params, data }) | ||
} | ||
export function videoComments(params, data) { | ||
|
||
export function videoComments(params?: any, data?: any) { | ||
return request({ url: '/video/comments', method: 'get', params, data }) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.