weli debff3a447 fix: use string_to_date in by_hty_id clazz queries
The by_hty_id variants incorrectly used string_to_datetime which expects
%Y-%m-%d %H:%M:%S format, but the API sends date-only %Y-%m-%d.
Switching to string_to_date fixes silent query failures.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 10:22:24 +08:00
2026-04-23 21:50:46 +08:00

慧课 后端

CI

🚧 本仓库不要提交大文件

🚧 本仓库请使用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=#
S
Description
huike backend
Readme 384 KiB
Languages
Rust 96.6%
Shell 2.6%
PLpgSQL 0.7%
Dockerfile 0.1%