Files
kami_backend/hack/config.yaml
danial 15e2426e85 feat(camel_oil): 新增骆驼加油账号管理模块
- 实现账号增删改查接口和逻辑
- 支持账号状态更新及状态历史记录功能
- 提供账号列表、历史和统计信息查询API
- 实现账号轮询机制,支持按使用时间轮询获取账号
- 增加账号登录流程及批量登录功能,集成接码平台和平台API
- 管理账号订单容量,支持容量检查与账号登录触发
- 提供账号池状态统计接口
- 账号历史记录查询支持多种变更类型文本展示
- 密码等敏感信息采用脱敏展示
- 完善日志记录和错误处理机制,保证业务稳定运行
2025-11-21 00:49:50 +08:00

45 lines
2.2 KiB
Go

gfcli:
docker:
build: "-a amd64 -s linux -p temp -ew"
tagPrefixes:
- my.image.pub/my-app
gen:
enums:
src: "."
path: "internal/boot/boot_enums.go"
prefixes:
- github.com/gogf
- kami
dao:
# - link: mysql:root:123456@tcp(127.0.0.1:3306)/kami_v2
# descriptionTag: true
# noModelComment: true
# prefix: v2
# path: ./internal/systemV2
- link: mysql:root:mysql123@tcp(127.0.0.1:3306)/kami
# tables: "sys_user_deductions,sys_user_config_channel,recharge_t_mall_shop_history,recharge_t_mall_order_fake,restrict_ip_record,card_apple_hidden_settings_recharge_info,sys_config_dict,card_apple_hidden_settings,recharge_t_mall_order_history, recharge_t_mall_shop,recharge_t_mall_order,recharge_t_mall_account,order_info, merchant_info,merchant_deploy_info,account_info,road_info,road_pool_info,card_apple_account_info,card_apple_account_info_history,card_apple_history_info, card_apple_recharge_info,sys_user,sys_user_login_log,sys_role,sys_casbin_rule,sys_auth_rule,sys_user_payment,sys_user_payment_records,user_info, restrict_client_access_record,restrict_client_access_ip_relation,restrict_ip_order_access,restrict_ip_record,card_redeem_account_deduction,card_redeem_account_history, card_redeem_account_info,card_redeem_order_history,card_redeem_order_info,merchant_hidden_config,merchant_hidden_record,card_redeem_account_summary,card_redeem_account_group"
prefix: v1
descriptionTag: true
noModelComment: true
path: ./internal
typeMapping:
decimal:
type: decimal.Decimal
import: github.com/shopspring/decimal
numeric:
type: string
service:
# srcFolder: ./internal/systemV2/logic
# dstFolder: ./internal/systemV2/service
srcFolder: ./internal/logic
dstFolder: ./internal/service
# ctrl:
# srcFolder: api
# dstFolder: internal/systemV2/controller
# - srcFolder: internal/logic
# dstFolder: internal/systemV2/service
# - srcFolder: internal/logic
# dstFolder: internal/systemV2/service