chore: 更新 edu-core 依赖至 v1.0.11,修改个人资产获取相册权限兼容性。

- 将 edu-core 依赖版本更新至 v1.0.11
- 修改开发环境 baseUrl 配置,确保使用线上正式环境
This commit is contained in:
2026-03-27 09:44:14 +08:00
parent e2a546218a
commit b0c63d3faa
3 changed files with 7 additions and 7 deletions

View File

@@ -2,8 +2,8 @@ let baseUrl = "";
let socketUrl = "";
if (process.env.NODE_ENV === 'development') {
// 开发环境
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
// baseUrl = "https://api.nuttyreading.com/"; //线上正式
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
baseUrl = "https://api.nuttyreading.com/"; //线上正式
} else if (process.env.NODE_ENV === 'production') {
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
baseUrl = "https://api.nuttyreading.com/"; //线上正式

8
package-lock.json generated
View File

@@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "MIT",
"dependencies": {
"edu-core": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.9",
"edu-core": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.11",
"jquery": "^3.7.1",
"tcplayer.js": "^5.1.0"
},
@@ -18,7 +18,7 @@
}
},
"../edu-core": {
"version": "1.0.8",
"version": "1.0.11",
"extraneous": true,
"license": "ISC",
"devDependencies": {}
@@ -74,8 +74,8 @@
"integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w=="
},
"node_modules/edu-core": {
"version": "1.0.8",
"resolved": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#f815e7660e0645ca4393205b30986c4bc7aa4d9f",
"version": "1.0.11",
"resolved": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#ab1ab588d292638fcf883bcc61ef370eb838c2d8",
"license": "ISC"
},
"node_modules/es5-shim": {

View File

@@ -14,7 +14,7 @@
},
"homepage": "https://github.com/dcloudio/hello-uniapp#readme",
"dependencies": {
"edu-core": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.9",
"edu-core": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.11",
"jquery": "^3.7.1",
"tcplayer.js": "^5.1.0"
},