Merge branch 'feature/new-sys' into 'master'

测试外网接口

See merge request workbench/y-code!37
This commit is contained in:
姚晓琼 2024-11-04 16:52:33 +08:00
commit eca25a34c4
4 changed files with 28 additions and 7 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
registry=http://sy-registry.shiyue.com

31
package-lock.json generated
View File

@ -9,6 +9,7 @@
"version": "0.0.0",
"dependencies": {
"@antv/g2plot": "^2.4.31",
"@sy/y-code-chart": "^1.2.1",
"@vueuse/core": "^10.11.0",
"ant-design-vue": "^4.1.2",
"axios": "^1.6.7",
@ -316,9 +317,9 @@
}
},
"node_modules/@antv/g2plot": {
"version": "2.4.31",
"resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.31.tgz",
"integrity": "sha512-SlWHYVsJgRN7E1Oe5Qk6yWBrSWmctmloknFmklaqe9vEeK+YB9ZLUffZvtAHT10mA2NZ+VjGUhlnMNgR9M1PQg==",
"version": "2.4.32",
"resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.32.tgz",
"integrity": "sha512-HTBuAMa+PJ6DqY1XCX1GBNTGz/IBmn9lx2xu18NQSHtgXAIHWSF+WYs7Aj8iaujcapM8g+IPgjS6ObO1u9CbFg==",
"dependencies": {
"@antv/color-util": "^2.0.6",
"@antv/event-emitter": "^0.1.2",
@ -1873,6 +1874,15 @@
"nanopop": "^2.1.0"
}
},
"node_modules/@sy/y-code-chart": {
"version": "1.2.1",
"resolved": "http://sy-registry.shiyue.com/@sy/y-code-chart/-/y-code-chart-1.2.1.tgz",
"integrity": "sha512-5YN5SLarCWfEhv2Nq3rdDP+/I5BRP/x3S+Ix1n91KuCvmI8+Y6e2k+lFbMKIxjQ21vDQGHQakvRxezlsvWppWw==",
"dependencies": {
"@antv/g2plot": "^2.4.32",
"@vueuse/core": "^10.11.0"
}
},
"node_modules/@tsconfig/node20": {
"version": "20.1.4",
"resolved": "https://registry.npmmirror.com/@tsconfig/node20/-/node20-20.1.4.tgz",
@ -7351,9 +7361,9 @@
}
},
"@antv/g2plot": {
"version": "2.4.31",
"resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.31.tgz",
"integrity": "sha512-SlWHYVsJgRN7E1Oe5Qk6yWBrSWmctmloknFmklaqe9vEeK+YB9ZLUffZvtAHT10mA2NZ+VjGUhlnMNgR9M1PQg==",
"version": "2.4.32",
"resolved": "http://sy-registry.shiyue.com/@antv/g2plot/-/g2plot-2.4.32.tgz",
"integrity": "sha512-HTBuAMa+PJ6DqY1XCX1GBNTGz/IBmn9lx2xu18NQSHtgXAIHWSF+WYs7Aj8iaujcapM8g+IPgjS6ObO1u9CbFg==",
"requires": {
"@antv/color-util": "^2.0.6",
"@antv/event-emitter": "^0.1.2",
@ -8367,6 +8377,15 @@
"nanopop": "^2.1.0"
}
},
"@sy/y-code-chart": {
"version": "1.2.1",
"resolved": "http://sy-registry.shiyue.com/@sy/y-code-chart/-/y-code-chart-1.2.1.tgz",
"integrity": "sha512-5YN5SLarCWfEhv2Nq3rdDP+/I5BRP/x3S+Ix1n91KuCvmI8+Y6e2k+lFbMKIxjQ21vDQGHQakvRxezlsvWppWw==",
"requires": {
"@antv/g2plot": "^2.4.32",
"@vueuse/core": "^10.11.0"
}
},
"@tsconfig/node20": {
"version": "20.1.4",
"resolved": "https://registry.npmmirror.com/@tsconfig/node20/-/node20-20.1.4.tgz",

View File

@ -13,6 +13,7 @@
},
"dependencies": {
"@antv/g2plot": "^2.4.31",
"@sy/y-code-chart": "^1.2.1",
"@vueuse/core": "^10.11.0",
"ant-design-vue": "^4.1.2",
"axios": "^1.6.7",

View File

@ -3,7 +3,7 @@ import { get, post } from "@/utils/request";
// 获取项目列表
export function getProjectList({ page, perPage, projectName }) {
return get({
url: `/api/v1/project/list`,
url: `https://custom-chart-api.shiyuegame.com:19998/api/v1/project/list`,
params: {
page,
per_page: perPage,