Merge branch 'main' of http://1.117.67.95:3000/team/qnc-server-v3
This commit is contained in:
@@ -36,7 +36,7 @@ $tables = @(
|
||||
# "admin_user_role",
|
||||
# "agent",
|
||||
# "agent_commission",
|
||||
# "agent_config"
|
||||
# # "agent_config"
|
||||
# "agent_freeze_task",
|
||||
# "agent_invite_code",
|
||||
# "agent_invite_code_usage",
|
||||
@@ -49,8 +49,8 @@ $tables = @(
|
||||
# "agent_short_link",
|
||||
# "agent_upgrade",
|
||||
# "agent_wallet",
|
||||
# "agent_withdrawal",
|
||||
# "agent_withdrawal_tax",
|
||||
"agent_withdrawal",
|
||||
"agent_withdrawal_tax"
|
||||
# "authorization_document",
|
||||
# "example",
|
||||
# "feature",
|
||||
@@ -70,8 +70,9 @@ $tables = @(
|
||||
# 为每个表生成模型
|
||||
foreach ($table in $tables) {
|
||||
Write-Host "正在生成表: $table" -ForegroundColor Green
|
||||
# goctl model mysql datasource -url="qnc:5vg67b3UNHu8@tcp(127.0.0.1:21201)/qnc" -table="$table" -dir="./model" --home="$HOME_DIR" -cache=true --style=goZero
|
||||
goctl model mysql datasource -url="qnc:5vg67b3UNHu8@tcp(127.0.0.1:21201)/qnc" -table="$table" -dir="./model" --home="$HOME_DIR" -cache=true --style=goZero
|
||||
|
||||
|
||||
# 移动生成的文件到目标目录
|
||||
if (Test-Path $OUTPUT_DIR) {
|
||||
$sourceFiles = Get-ChildItem -Path $OUTPUT_DIR -File
|
||||
|
||||
Reference in New Issue
Block a user