f534230af7425600d0a3bea95ae119683608b803
Add `published_at IS NOT NULL` filter to the public-packages query. Unpublished packages (ACTIVE status but no published_at) should not appear in the student-facing store. Two new model methods added: - find_all_published_by_org_with_page - find_all_published_with_page Existing find_all_active_* methods unchanged for admin use. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
慧课 后端
☕️
🚧 本仓库不要提交大文件
🚧 本仓库请使用Pull Request的形式交代码
🚧 .env文件只对本地测试有效,部署时使用docker-compose.yml整体启动.
目录
htyws
web service,容器 ws,端口3000,对外不暴露
user-center
用户中心,容器 uc,端口3001,对外不暴露
htymusic
音乐教室小程序,容器名mr,端口8010:80
htycommons
run test:
$ print_debug=true cargo test -- --test-threads=1 --nocapture
postgres=# create user htyuc;
CREATE ROLE
postgres=# create user htyws;
CREATE ROLE
postgres=# create database htyuc_local owner htyuc encoding utf8;
CREATE DATABASE
postgres=# create database htyws_local owner htyws encoding utf8;
CREATE DATABASE
postgres=#
Description
Languages
Rust
96.6%
Shell
2.6%
PLpgSQL
0.7%
Dockerfile
0.1%