本地开发跨域配置,版本信息页面接口对接Mock数据
This commit is contained in:
10
src/api/jyh/index.ts
Normal file
10
src/api/jyh/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 详情-获取版本信息
|
||||
export function releaseInfo(params: { repoId: string,releaseId: string }): Promise<any> {
|
||||
const { repoId,releaseId } = params;
|
||||
return request({
|
||||
url: `/api/v1/repo/release/info?repo_id=${repoId}&releaseId=${releaseId}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user