urban f5be22f4f5 feat: 一键注册按钮面板、平台OAuth自动绑定、已注册用户隐藏注册按钮 il y a 1 semaine
..
apis 7dd01298bb feat: 红包系统多语言支持、过期自动结算、币种联动 il y a 3 semaines
cmds 7dd01298bb feat: 红包系统多语言支持、过期自动结算、币种联动 il y a 3 semaines
commons f5be22f4f5 feat: 一键注册按钮面板、平台OAuth自动绑定、已注册用户隐藏注册按钮 il y a 1 semaine
deployment 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
k8s_config 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
sql 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
tasks 7dd01298bb feat: 红包系统多语言支持、过期自动结算、币种联动 il y a 3 semaines
telegram f5be22f4f5 feat: 一键注册按钮面板、平台OAuth自动绑定、已注册用户隐藏注册按钮 il y a 1 semaine
.gitignore 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
.gitlab-ci.yml 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
Deployment.md 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
Dockerfile 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
PLAN.md 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
README.md 8d4dceef6d chore: 添加编译产物忽略规则及PM2部署命令 il y a 2 semaines
Taskfile.yaml 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
go.mod 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
go.sum 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
main.go 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines
migrate_only.go f0547f914e feat: 实现 Telegram 红包机器人核心功能 il y a 3 semaines
sign_test.go 969561b519 Initial commit: lucky_bot project setup il y a 3 semaines

README.md

使用模版的步骤
1、使用命令:go run main.go migrate  初始化数据库表结构
代码位置: juapp_template\app_server\cmds\migrate.go 

2、使用命令:go run main.go data  初始化数据
代码位置:juapp_template\app_server\commons\model\entity\dataInit.go

3、使用命令:go run main.go config  初始化配置文件
生成的配置文件路径:juapp_template\app_server\conf.d

pm2 start ./lucky_bot_server --name "lucky_bot_server" -- api pm2 logs lucky_bot_server --lines 100