a9d5e0844e6de6ce0f3a73550719f0b5b22879b0
"排课" = scheduled class instance, "课程" = course content/curriculum. All 21 instances of incorrect usage were in clazz/tongzhi/user-settings contexts where the underlying data is a clazz (clazz_id, clazz_name, is_repeat), not a course. Affected files: clazz/index.vue (10), tongzhi/index.vue (4), tongzhi/detail.vue (3), store/clazz.ts (3), user-settings.vue (1). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
慧课前端
Run in local
相关设置:
- 在hosts中添加
127.0.0.1 local.moicen.com - nginx路径配置添加:
location /mini/api/v1/ws/ {
proxy_pass http://127.0.0.1:3001/api/v1/ws/;
proxy_set_header Host "music-room.moicen.com";
}
location /mini/api/v1/uc/ {
proxy_pass http://127.0.0.1:3000/api/v1/uc/;
proxy_set_header Host "music-room.moicen.com";
}
location /mini/api/v1/ts/ {
proxy_pass http://127.0.0.1:8080/api/v1/ts/;
proxy_set_header Host "music-room.moicen.com";
}
启动命令:mode=local npm start,mode=test vite,mode=prod yarn vite。如不指定mode参数,默认为local
mode参数为:
local: 本地启动,指向本地的3000和30001端口test: 测试环境,指向test-music-room.moicen.comprod: 生产环境,指向music-room.alchemy-studio.cn
Description
Languages
Vue
56.1%
TypeScript
38.5%
JavaScript
3.9%
Shell
1.2%
Less
0.2%