From 1a23130514afb9c1dbe970b794d4b30f71e11b36 Mon Sep 17 00:00:00 2001 From: linquan <349589071@qq.com> Date: Mon, 28 Apr 2025 13:46:19 +0800 Subject: [PATCH] debug --- README.MD | 5 +- internal/dao/internal/advertisement.go | 4 +- internal/dao/internal/casbin_rule.go | 4 +- internal/dao/internal/game_black_list.go | 4 +- internal/dao/internal/game_bug.go | 4 +- internal/dao/internal/game_bug_client.go | 4 +- internal/dao/internal/game_ccd_url.go | 4 +- internal/dao/internal/game_ccd_url_copy_1.go | 4 +- internal/dao/internal/game_ccd_version.go | 4 +- internal/dao/internal/game_cd_key.go | 4 +- internal/dao/internal/game_cd_password.go | 4 +- internal/dao/internal/game_channel_list.go | 4 +- internal/dao/internal/game_gift_exchange.go | 4 +- internal/dao/internal/game_login_url.go | 4 +- internal/dao/internal/game_mail.go | 4 +- internal/dao/internal/game_notice.go | 4 +- internal/dao/internal/game_notice_log.go | 4 +- internal/dao/internal/game_notice_model.go | 4 +- internal/dao/internal/game_online.go | 4 +- internal/dao/internal/game_recharge.go | 4 +- .../dao/internal/game_recharge_control.go | 4 +- internal/dao/internal/game_recharge_copy_1.go | 4 +- internal/dao/internal/game_recharge_log.go | 4 +- internal/dao/internal/game_recharge_rebate.go | 4 +- internal/dao/internal/game_register.go | 4 +- internal/dao/internal/game_router.go | 4 +- .../dao/internal/game_server_json_general.go | 4 +- internal/dao/internal/game_shop_log.go | 4 +- internal/dao/internal/game_unit.go | 4 +- internal/dao/internal/game_unit_copy_1.go | 4 +- internal/dao/internal/game_version.go | 4 +- internal/dao/internal/game_white_list.go | 4 +- internal/dao/internal/gm_operate_log.go | 4 +- .../internal/item_income_expense_records.go | 4 +- internal/dao/internal/login_logout_info.go | 4 +- internal/dao/internal/login_out_log.go | 4 +- internal/dao/internal/sys_auth_rule.go | 4 +- internal/dao/internal/sys_config.go | 4 +- internal/dao/internal/sys_dept.go | 4 +- internal/dao/internal/sys_dict_data.go | 4 +- internal/dao/internal/sys_dict_type.go | 4 +- internal/dao/internal/sys_login_log.go | 4 +- internal/dao/internal/sys_oper_log.go | 4 +- internal/dao/internal/sys_post.go | 4 +- internal/dao/internal/sys_role.go | 4 +- internal/dao/internal/sys_role_dept.go | 4 +- internal/dao/internal/sys_user.go | 4 +- internal/dao/internal/sys_user_online.go | 4 +- internal/dao/internal/sys_user_post.go | 4 +- internal/dao/internal/web_operate_log.go | 4 +- internal/model/do/advertisement.go | 2 +- internal/model/do/casbin_rule.go | 2 +- internal/model/do/game_black_list.go | 2 +- internal/model/do/game_bug.go | 2 +- internal/model/do/game_bug_client.go | 2 +- internal/model/do/game_ccd_url.go | 2 +- internal/model/do/game_ccd_url_copy_1.go | 2 +- internal/model/do/game_ccd_version.go | 2 +- internal/model/do/game_cd_key.go | 2 +- internal/model/do/game_cd_password.go | 2 +- internal/model/do/game_channel_list.go | 2 +- internal/model/do/game_gift_exchange.go | 2 +- internal/model/do/game_login_url.go | 2 +- internal/model/do/game_mail.go | 2 +- internal/model/do/game_notice.go | 2 +- internal/model/do/game_notice_log.go | 2 +- internal/model/do/game_notice_model.go | 2 +- internal/model/do/game_online.go | 2 +- internal/model/do/game_recharge.go | 2 +- internal/model/do/game_recharge_control.go | 2 +- internal/model/do/game_recharge_copy_1.go | 2 +- internal/model/do/game_recharge_log.go | 2 +- internal/model/do/game_recharge_rebate.go | 2 +- internal/model/do/game_register.go | 2 +- internal/model/do/game_router.go | 2 +- internal/model/do/game_server_json_general.go | 2 +- internal/model/do/game_shop_log.go | 2 +- internal/model/do/game_unit.go | 2 +- internal/model/do/game_unit_copy_1.go | 2 +- internal/model/do/game_version.go | 2 +- internal/model/do/game_white_list.go | 2 +- internal/model/do/gm_operate_log.go | 2 +- .../model/do/item_income_expense_records.go | 2 +- internal/model/do/login_logout_info.go | 2 +- internal/model/do/login_out_log.go | 2 +- internal/model/do/sys_auth_rule.go | 2 +- internal/model/do/sys_config.go | 2 +- internal/model/do/sys_dept.go | 2 +- internal/model/do/sys_dict_data.go | 2 +- internal/model/do/sys_dict_type.go | 2 +- internal/model/do/sys_login_log.go | 2 +- internal/model/do/sys_oper_log.go | 2 +- internal/model/do/sys_post.go | 2 +- internal/model/do/sys_role.go | 2 +- internal/model/do/sys_role_dept.go | 2 +- internal/model/do/sys_user.go | 2 +- internal/model/do/sys_user_online.go | 2 +- internal/model/do/sys_user_post.go | 2 +- internal/model/do/web_operate_log.go | 2 +- internal/model/entity/advertisement.go | 2 +- internal/model/entity/casbin_rule.go | 2 +- internal/model/entity/game_black_list.go | 2 +- internal/model/entity/game_bug.go | 2 +- internal/model/entity/game_bug_client.go | 2 +- internal/model/entity/game_ccd_url.go | 2 +- internal/model/entity/game_ccd_url_copy_1.go | 2 +- internal/model/entity/game_ccd_version.go | 2 +- internal/model/entity/game_cd_key.go | 2 +- internal/model/entity/game_cd_password.go | 2 +- internal/model/entity/game_channel_list.go | 2 +- internal/model/entity/game_gift_exchange.go | 2 +- internal/model/entity/game_login_url.go | 2 +- internal/model/entity/game_mail.go | 2 +- internal/model/entity/game_notice.go | 2 +- internal/model/entity/game_notice_log.go | 2 +- internal/model/entity/game_notice_model.go | 2 +- internal/model/entity/game_online.go | 2 +- internal/model/entity/game_recharge.go | 2 +- .../model/entity/game_recharge_control.go | 2 +- internal/model/entity/game_recharge_copy_1.go | 2 +- internal/model/entity/game_recharge_log.go | 2 +- internal/model/entity/game_recharge_rebate.go | 2 +- internal/model/entity/game_register.go | 2 +- internal/model/entity/game_router.go | 2 +- .../model/entity/game_server_json_general.go | 2 +- internal/model/entity/game_shop_log.go | 2 +- internal/model/entity/game_unit.go | 2 +- internal/model/entity/game_unit_copy_1.go | 2 +- internal/model/entity/game_version.go | 2 +- internal/model/entity/game_white_list.go | 2 +- internal/model/entity/gm_operate_log.go | 2 +- .../entity/item_income_expense_records.go | 2 +- internal/model/entity/login_logout_info.go | 2 +- internal/model/entity/login_out_log.go | 2 +- internal/model/entity/sys_auth_rule.go | 2 +- internal/model/entity/sys_config.go | 2 +- internal/model/entity/sys_dept.go | 2 +- internal/model/entity/sys_dict_data.go | 2 +- internal/model/entity/sys_dict_type.go | 2 +- internal/model/entity/sys_login_log.go | 2 +- internal/model/entity/sys_oper_log.go | 2 +- internal/model/entity/sys_post.go | 2 +- internal/model/entity/sys_role.go | 2 +- internal/model/entity/sys_role_dept.go | 2 +- internal/model/entity/sys_user.go | 2 +- internal/model/entity/sys_user_online.go | 2 +- internal/model/entity/sys_user_post.go | 2 +- internal/model/entity/web_operate_log.go | 2 +- .../service/internal/dao/advertisement.go | 24 ++++ internal/service/internal/dao/casbin_rule.go | 24 ++++ .../service/internal/dao/game_black_list.go | 24 ++++ internal/service/internal/dao/game_bug.go | 24 ++++ .../service/internal/dao/game_bug_client.go | 24 ++++ internal/service/internal/dao/game_ccd_url.go | 24 ++++ .../internal/dao/game_ccd_url_copy_1.go | 24 ++++ .../service/internal/dao/game_ccd_version.go | 24 ++++ internal/service/internal/dao/game_cd_key.go | 24 ++++ .../service/internal/dao/game_cd_password.go | 24 ++++ .../service/internal/dao/game_channel_list.go | 24 ++++ .../internal/dao/game_gift_exchange.go | 24 ++++ .../service/internal/dao/game_login_url.go | 24 ++++ internal/service/internal/dao/game_mail.go | 24 ++++ internal/service/internal/dao/game_notice.go | 24 ++++ .../service/internal/dao/game_notice_log.go | 24 ++++ .../service/internal/dao/game_notice_model.go | 24 ++++ internal/service/internal/dao/game_online.go | 24 ++++ .../service/internal/dao/game_recharge.go | 24 ++++ .../internal/dao/game_recharge_control.go | 24 ++++ .../internal/dao/game_recharge_copy_1.go | 24 ++++ .../service/internal/dao/game_recharge_log.go | 24 ++++ .../internal/dao/game_recharge_rebate.go | 24 ++++ .../service/internal/dao/game_register.go | 24 ++++ internal/service/internal/dao/game_router.go | 24 ++++ .../internal/dao/game_server_json_general.go | 24 ++++ .../service/internal/dao/game_shop_log.go | 24 ++++ internal/service/internal/dao/game_unit.go | 24 ++++ .../service/internal/dao/game_unit_copy_1.go | 24 ++++ internal/service/internal/dao/game_version.go | 24 ++++ .../service/internal/dao/game_white_list.go | 24 ++++ .../service/internal/dao/gm_operate_log.go | 24 ++++ .../internal/dao/internal/advertisement.go | 120 ++++++++++++++++++ .../internal/dao/internal/casbin_rule.go | 84 ++++++++++++ .../internal/dao/internal/game_black_list.go | 74 +++++++++++ .../service/internal/dao/internal/game_bug.go | 88 +++++++++++++ .../internal/dao/internal/game_bug_client.go | 96 ++++++++++++++ .../internal/dao/internal/game_ccd_url.go | 90 +++++++++++++ .../dao/internal/game_ccd_url_copy_1.go | 90 +++++++++++++ .../internal/dao/internal/game_ccd_version.go | 74 +++++++++++ .../internal/dao/internal/game_cd_key.go | 84 ++++++++++++ .../internal/dao/internal/game_cd_password.go | 78 ++++++++++++ .../dao/internal/game_channel_list.go | 76 +++++++++++ .../dao/internal/game_gift_exchange.go | 94 ++++++++++++++ .../internal/dao/internal/game_login_url.go | 112 ++++++++++++++++ .../internal/dao/internal/game_mail.go | 98 ++++++++++++++ .../internal/dao/internal/game_notice.go | 82 ++++++++++++ .../internal/dao/internal/game_notice_log.go | 92 ++++++++++++++ .../dao/internal/game_notice_model.go | 80 ++++++++++++ .../internal/dao/internal/game_online.go | 80 ++++++++++++ .../internal/dao/internal/game_recharge.go | 106 ++++++++++++++++ .../dao/internal/game_recharge_control.go | 74 +++++++++++ .../dao/internal/game_recharge_copy_1.go | 102 +++++++++++++++ .../dao/internal/game_recharge_log.go | 90 +++++++++++++ .../dao/internal/game_recharge_rebate.go | 76 +++++++++++ .../internal/dao/internal/game_register.go | 84 ++++++++++++ .../internal/dao/internal/game_router.go | 88 +++++++++++++ .../dao/internal/game_server_json_general.go | 84 ++++++++++++ .../internal/dao/internal/game_shop_log.go | 84 ++++++++++++ .../internal/dao/internal/game_unit.go | 102 +++++++++++++++ .../internal/dao/internal/game_unit_copy_1.go | 100 +++++++++++++++ .../internal/dao/internal/game_version.go | 76 +++++++++++ .../internal/dao/internal/game_white_list.go | 74 +++++++++++ .../internal/dao/internal/gm_operate_log.go | 92 ++++++++++++++ .../internal/item_income_expense_records.go | 88 +++++++++++++ .../dao/internal/login_logout_info.go | 104 +++++++++++++++ .../internal/dao/internal/login_out_log.go | 80 ++++++++++++ .../internal/dao/internal/sys_auth_rule.go | 114 +++++++++++++++++ .../internal/dao/internal/sys_config.go | 90 +++++++++++++ .../service/internal/dao/internal/sys_dept.go | 98 ++++++++++++++ .../internal/dao/internal/sys_dict_data.go | 98 ++++++++++++++ .../internal/dao/internal/sys_dict_type.go | 88 +++++++++++++ .../internal/dao/internal/sys_login_log.go | 90 +++++++++++++ .../internal/dao/internal/sys_oper_log.go | 102 +++++++++++++++ .../service/internal/dao/internal/sys_post.go | 92 ++++++++++++++ .../service/internal/dao/internal/sys_role.go | 86 +++++++++++++ .../internal/dao/internal/sys_role_dept.go | 74 +++++++++++ .../service/internal/dao/internal/sys_user.go | 112 ++++++++++++++++ .../internal/dao/internal/sys_user_online.go | 86 +++++++++++++ .../internal/dao/internal/sys_user_post.go | 74 +++++++++++ .../internal/dao/internal/web_operate_log.go | 86 +++++++++++++ .../dao/item_income_expense_records.go | 24 ++++ .../service/internal/dao/login_logout_info.go | 24 ++++ .../service/internal/dao/login_out_log.go | 24 ++++ .../service/internal/dao/sys_auth_rule.go | 24 ++++ internal/service/internal/dao/sys_config.go | 24 ++++ internal/service/internal/dao/sys_dept.go | 24 ++++ .../service/internal/dao/sys_dict_data.go | 24 ++++ .../service/internal/dao/sys_dict_type.go | 24 ++++ .../service/internal/dao/sys_login_log.go | 24 ++++ internal/service/internal/dao/sys_oper_log.go | 24 ++++ internal/service/internal/dao/sys_post.go | 24 ++++ internal/service/internal/dao/sys_role.go | 24 ++++ .../service/internal/dao/sys_role_dept.go | 24 ++++ internal/service/internal/dao/sys_user.go | 24 ++++ .../service/internal/dao/sys_user_online.go | 24 ++++ .../service/internal/dao/sys_user_post.go | 24 ++++ .../service/internal/dao/web_operate_log.go | 24 ++++ internal/service/internal/do/advertisement.go | 39 ++++++ internal/service/internal/do/casbin_rule.go | 21 +++ .../service/internal/do/game_black_list.go | 16 +++ internal/service/internal/do/game_bug.go | 23 ++++ .../service/internal/do/game_bug_client.go | 28 ++++ internal/service/internal/do/game_ccd_url.go | 24 ++++ .../internal/do/game_ccd_url_copy_1.go | 24 ++++ .../service/internal/do/game_ccd_version.go | 16 +++ internal/service/internal/do/game_cd_key.go | 21 +++ .../service/internal/do/game_cd_password.go | 18 +++ .../service/internal/do/game_channel_list.go | 17 +++ .../service/internal/do/game_gift_exchange.go | 26 ++++ .../service/internal/do/game_login_url.go | 36 ++++++ internal/service/internal/do/game_mail.go | 28 ++++ internal/service/internal/do/game_notice.go | 20 +++ .../service/internal/do/game_notice_log.go | 26 ++++ .../service/internal/do/game_notice_model.go | 19 +++ internal/service/internal/do/game_online.go | 20 +++ internal/service/internal/do/game_recharge.go | 33 +++++ .../internal/do/game_recharge_control.go | 16 +++ .../internal/do/game_recharge_copy_1.go | 31 +++++ .../service/internal/do/game_recharge_log.go | 25 ++++ .../internal/do/game_recharge_rebate.go | 17 +++ internal/service/internal/do/game_register.go | 22 ++++ internal/service/internal/do/game_router.go | 23 ++++ .../internal/do/game_server_json_general.go | 21 +++ internal/service/internal/do/game_shop_log.go | 22 ++++ internal/service/internal/do/game_unit.go | 31 +++++ .../service/internal/do/game_unit_copy_1.go | 30 +++++ internal/service/internal/do/game_version.go | 17 +++ .../service/internal/do/game_white_list.go | 16 +++ .../service/internal/do/gm_operate_log.go | 26 ++++ .../do/item_income_expense_records.go | 24 ++++ .../service/internal/do/login_logout_info.go | 32 +++++ internal/service/internal/do/login_out_log.go | 19 +++ internal/service/internal/do/sys_auth_rule.go | 37 ++++++ internal/service/internal/do/sys_config.go | 25 ++++ internal/service/internal/do/sys_dept.go | 29 +++++ internal/service/internal/do/sys_dict_data.go | 29 +++++ internal/service/internal/do/sys_dict_type.go | 24 ++++ internal/service/internal/do/sys_login_log.go | 25 ++++ internal/service/internal/do/sys_oper_log.go | 31 +++++ internal/service/internal/do/sys_post.go | 26 ++++ internal/service/internal/do/sys_role.go | 23 ++++ internal/service/internal/do/sys_role_dept.go | 16 +++ internal/service/internal/do/sys_user.go | 36 ++++++ .../service/internal/do/sys_user_online.go | 23 ++++ internal/service/internal/do/sys_user_post.go | 16 +++ .../service/internal/do/web_operate_log.go | 23 ++++ 295 files changed, 6952 insertions(+), 197 deletions(-) create mode 100644 internal/service/internal/dao/advertisement.go create mode 100644 internal/service/internal/dao/casbin_rule.go create mode 100644 internal/service/internal/dao/game_black_list.go create mode 100644 internal/service/internal/dao/game_bug.go create mode 100644 internal/service/internal/dao/game_bug_client.go create mode 100644 internal/service/internal/dao/game_ccd_url.go create mode 100644 internal/service/internal/dao/game_ccd_url_copy_1.go create mode 100644 internal/service/internal/dao/game_ccd_version.go create mode 100644 internal/service/internal/dao/game_cd_key.go create mode 100644 internal/service/internal/dao/game_cd_password.go create mode 100644 internal/service/internal/dao/game_channel_list.go create mode 100644 internal/service/internal/dao/game_gift_exchange.go create mode 100644 internal/service/internal/dao/game_login_url.go create mode 100644 internal/service/internal/dao/game_mail.go create mode 100644 internal/service/internal/dao/game_notice.go create mode 100644 internal/service/internal/dao/game_notice_log.go create mode 100644 internal/service/internal/dao/game_notice_model.go create mode 100644 internal/service/internal/dao/game_online.go create mode 100644 internal/service/internal/dao/game_recharge.go create mode 100644 internal/service/internal/dao/game_recharge_control.go create mode 100644 internal/service/internal/dao/game_recharge_copy_1.go create mode 100644 internal/service/internal/dao/game_recharge_log.go create mode 100644 internal/service/internal/dao/game_recharge_rebate.go create mode 100644 internal/service/internal/dao/game_register.go create mode 100644 internal/service/internal/dao/game_router.go create mode 100644 internal/service/internal/dao/game_server_json_general.go create mode 100644 internal/service/internal/dao/game_shop_log.go create mode 100644 internal/service/internal/dao/game_unit.go create mode 100644 internal/service/internal/dao/game_unit_copy_1.go create mode 100644 internal/service/internal/dao/game_version.go create mode 100644 internal/service/internal/dao/game_white_list.go create mode 100644 internal/service/internal/dao/gm_operate_log.go create mode 100644 internal/service/internal/dao/internal/advertisement.go create mode 100644 internal/service/internal/dao/internal/casbin_rule.go create mode 100644 internal/service/internal/dao/internal/game_black_list.go create mode 100644 internal/service/internal/dao/internal/game_bug.go create mode 100644 internal/service/internal/dao/internal/game_bug_client.go create mode 100644 internal/service/internal/dao/internal/game_ccd_url.go create mode 100644 internal/service/internal/dao/internal/game_ccd_url_copy_1.go create mode 100644 internal/service/internal/dao/internal/game_ccd_version.go create mode 100644 internal/service/internal/dao/internal/game_cd_key.go create mode 100644 internal/service/internal/dao/internal/game_cd_password.go create mode 100644 internal/service/internal/dao/internal/game_channel_list.go create mode 100644 internal/service/internal/dao/internal/game_gift_exchange.go create mode 100644 internal/service/internal/dao/internal/game_login_url.go create mode 100644 internal/service/internal/dao/internal/game_mail.go create mode 100644 internal/service/internal/dao/internal/game_notice.go create mode 100644 internal/service/internal/dao/internal/game_notice_log.go create mode 100644 internal/service/internal/dao/internal/game_notice_model.go create mode 100644 internal/service/internal/dao/internal/game_online.go create mode 100644 internal/service/internal/dao/internal/game_recharge.go create mode 100644 internal/service/internal/dao/internal/game_recharge_control.go create mode 100644 internal/service/internal/dao/internal/game_recharge_copy_1.go create mode 100644 internal/service/internal/dao/internal/game_recharge_log.go create mode 100644 internal/service/internal/dao/internal/game_recharge_rebate.go create mode 100644 internal/service/internal/dao/internal/game_register.go create mode 100644 internal/service/internal/dao/internal/game_router.go create mode 100644 internal/service/internal/dao/internal/game_server_json_general.go create mode 100644 internal/service/internal/dao/internal/game_shop_log.go create mode 100644 internal/service/internal/dao/internal/game_unit.go create mode 100644 internal/service/internal/dao/internal/game_unit_copy_1.go create mode 100644 internal/service/internal/dao/internal/game_version.go create mode 100644 internal/service/internal/dao/internal/game_white_list.go create mode 100644 internal/service/internal/dao/internal/gm_operate_log.go create mode 100644 internal/service/internal/dao/internal/item_income_expense_records.go create mode 100644 internal/service/internal/dao/internal/login_logout_info.go create mode 100644 internal/service/internal/dao/internal/login_out_log.go create mode 100644 internal/service/internal/dao/internal/sys_auth_rule.go create mode 100644 internal/service/internal/dao/internal/sys_config.go create mode 100644 internal/service/internal/dao/internal/sys_dept.go create mode 100644 internal/service/internal/dao/internal/sys_dict_data.go create mode 100644 internal/service/internal/dao/internal/sys_dict_type.go create mode 100644 internal/service/internal/dao/internal/sys_login_log.go create mode 100644 internal/service/internal/dao/internal/sys_oper_log.go create mode 100644 internal/service/internal/dao/internal/sys_post.go create mode 100644 internal/service/internal/dao/internal/sys_role.go create mode 100644 internal/service/internal/dao/internal/sys_role_dept.go create mode 100644 internal/service/internal/dao/internal/sys_user.go create mode 100644 internal/service/internal/dao/internal/sys_user_online.go create mode 100644 internal/service/internal/dao/internal/sys_user_post.go create mode 100644 internal/service/internal/dao/internal/web_operate_log.go create mode 100644 internal/service/internal/dao/item_income_expense_records.go create mode 100644 internal/service/internal/dao/login_logout_info.go create mode 100644 internal/service/internal/dao/login_out_log.go create mode 100644 internal/service/internal/dao/sys_auth_rule.go create mode 100644 internal/service/internal/dao/sys_config.go create mode 100644 internal/service/internal/dao/sys_dept.go create mode 100644 internal/service/internal/dao/sys_dict_data.go create mode 100644 internal/service/internal/dao/sys_dict_type.go create mode 100644 internal/service/internal/dao/sys_login_log.go create mode 100644 internal/service/internal/dao/sys_oper_log.go create mode 100644 internal/service/internal/dao/sys_post.go create mode 100644 internal/service/internal/dao/sys_role.go create mode 100644 internal/service/internal/dao/sys_role_dept.go create mode 100644 internal/service/internal/dao/sys_user.go create mode 100644 internal/service/internal/dao/sys_user_online.go create mode 100644 internal/service/internal/dao/sys_user_post.go create mode 100644 internal/service/internal/dao/web_operate_log.go create mode 100644 internal/service/internal/do/advertisement.go create mode 100644 internal/service/internal/do/casbin_rule.go create mode 100644 internal/service/internal/do/game_black_list.go create mode 100644 internal/service/internal/do/game_bug.go create mode 100644 internal/service/internal/do/game_bug_client.go create mode 100644 internal/service/internal/do/game_ccd_url.go create mode 100644 internal/service/internal/do/game_ccd_url_copy_1.go create mode 100644 internal/service/internal/do/game_ccd_version.go create mode 100644 internal/service/internal/do/game_cd_key.go create mode 100644 internal/service/internal/do/game_cd_password.go create mode 100644 internal/service/internal/do/game_channel_list.go create mode 100644 internal/service/internal/do/game_gift_exchange.go create mode 100644 internal/service/internal/do/game_login_url.go create mode 100644 internal/service/internal/do/game_mail.go create mode 100644 internal/service/internal/do/game_notice.go create mode 100644 internal/service/internal/do/game_notice_log.go create mode 100644 internal/service/internal/do/game_notice_model.go create mode 100644 internal/service/internal/do/game_online.go create mode 100644 internal/service/internal/do/game_recharge.go create mode 100644 internal/service/internal/do/game_recharge_control.go create mode 100644 internal/service/internal/do/game_recharge_copy_1.go create mode 100644 internal/service/internal/do/game_recharge_log.go create mode 100644 internal/service/internal/do/game_recharge_rebate.go create mode 100644 internal/service/internal/do/game_register.go create mode 100644 internal/service/internal/do/game_router.go create mode 100644 internal/service/internal/do/game_server_json_general.go create mode 100644 internal/service/internal/do/game_shop_log.go create mode 100644 internal/service/internal/do/game_unit.go create mode 100644 internal/service/internal/do/game_unit_copy_1.go create mode 100644 internal/service/internal/do/game_version.go create mode 100644 internal/service/internal/do/game_white_list.go create mode 100644 internal/service/internal/do/gm_operate_log.go create mode 100644 internal/service/internal/do/item_income_expense_records.go create mode 100644 internal/service/internal/do/login_logout_info.go create mode 100644 internal/service/internal/do/login_out_log.go create mode 100644 internal/service/internal/do/sys_auth_rule.go create mode 100644 internal/service/internal/do/sys_config.go create mode 100644 internal/service/internal/do/sys_dept.go create mode 100644 internal/service/internal/do/sys_dict_data.go create mode 100644 internal/service/internal/do/sys_dict_type.go create mode 100644 internal/service/internal/do/sys_login_log.go create mode 100644 internal/service/internal/do/sys_oper_log.go create mode 100644 internal/service/internal/do/sys_post.go create mode 100644 internal/service/internal/do/sys_role.go create mode 100644 internal/service/internal/do/sys_role_dept.go create mode 100644 internal/service/internal/do/sys_user.go create mode 100644 internal/service/internal/do/sys_user_online.go create mode 100644 internal/service/internal/do/sys_user_post.go create mode 100644 internal/service/internal/do/web_operate_log.go diff --git a/README.MD b/README.MD index 3037cdf..3acaafd 100644 --- a/README.MD +++ b/README.MD @@ -51,7 +51,10 @@ nohup ./main-linux > tyjAdmin.log 2>&1 & ps aux | grep main-linux|grep -v grep|awk '{print $2}'|xargs kill -9 -go install github.com/gogf/gf/cmd/gf/v2@v2.2.4 +gf -v // 两个都是 2.2.4 +// go install github.com/gogf/gf/cmd/gf/v2@v2.2.4 +// 变成 last版本 *TX 之后的处理 +使用下载源文件 cmd/gf 目录下 编译 go build main.go 文件 main.exe 替换 window 用户目录下的 go/bin/gf.exe 文件 修改成功 mysql数据库自动处理 gf gen dao diff --git a/internal/dao/internal/advertisement.go b/internal/dao/internal/advertisement.go index 9a6c699..4b3ad94 100644 --- a/internal/dao/internal/advertisement.go +++ b/internal/dao/internal/advertisement.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -116,6 +116,6 @@ func (dao *AdvertisementDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *AdvertisementDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *AdvertisementDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/casbin_rule.go b/internal/dao/internal/casbin_rule.go index 86220b0..1de410f 100644 --- a/internal/dao/internal/casbin_rule.go +++ b/internal/dao/internal/casbin_rule.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -80,6 +80,6 @@ func (dao *CasbinRuleDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *CasbinRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *CasbinRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_black_list.go b/internal/dao/internal/game_black_list.go index e36b862..8541290 100644 --- a/internal/dao/internal/game_black_list.go +++ b/internal/dao/internal/game_black_list.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -70,6 +70,6 @@ func (dao *GameBlackListDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameBlackListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameBlackListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_bug.go b/internal/dao/internal/game_bug.go index 8d4b73a..edb28c3 100644 --- a/internal/dao/internal/game_bug.go +++ b/internal/dao/internal/game_bug.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -84,6 +84,6 @@ func (dao *GameBugDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameBugDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameBugDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_bug_client.go b/internal/dao/internal/game_bug_client.go index 6bf4763..6f27bda 100644 --- a/internal/dao/internal/game_bug_client.go +++ b/internal/dao/internal/game_bug_client.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -92,6 +92,6 @@ func (dao *GameBugClientDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameBugClientDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameBugClientDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_ccd_url.go b/internal/dao/internal/game_ccd_url.go index c000443..828e6d4 100644 --- a/internal/dao/internal/game_ccd_url.go +++ b/internal/dao/internal/game_ccd_url.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -86,6 +86,6 @@ func (dao *GameCcdUrlDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameCcdUrlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameCcdUrlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_ccd_url_copy_1.go b/internal/dao/internal/game_ccd_url_copy_1.go index 9fe1d78..1808d3d 100644 --- a/internal/dao/internal/game_ccd_url_copy_1.go +++ b/internal/dao/internal/game_ccd_url_copy_1.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -86,6 +86,6 @@ func (dao *GameCcdUrlCopy1Dao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameCcdUrlCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameCcdUrlCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_ccd_version.go b/internal/dao/internal/game_ccd_version.go index ab24483..a8f762e 100644 --- a/internal/dao/internal/game_ccd_version.go +++ b/internal/dao/internal/game_ccd_version.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -70,6 +70,6 @@ func (dao *GameCcdVersionDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameCcdVersionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameCcdVersionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_cd_key.go b/internal/dao/internal/game_cd_key.go index c2b3dce..244df02 100644 --- a/internal/dao/internal/game_cd_key.go +++ b/internal/dao/internal/game_cd_key.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -80,6 +80,6 @@ func (dao *GameCdKeyDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameCdKeyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameCdKeyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_cd_password.go b/internal/dao/internal/game_cd_password.go index 9369b70..e64255e 100644 --- a/internal/dao/internal/game_cd_password.go +++ b/internal/dao/internal/game_cd_password.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -74,6 +74,6 @@ func (dao *GameCdPasswordDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameCdPasswordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameCdPasswordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_channel_list.go b/internal/dao/internal/game_channel_list.go index af59908..ea3d96d 100644 --- a/internal/dao/internal/game_channel_list.go +++ b/internal/dao/internal/game_channel_list.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -72,6 +72,6 @@ func (dao *GameChannelListDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameChannelListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameChannelListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_gift_exchange.go b/internal/dao/internal/game_gift_exchange.go index a9eb8dd..35f1d22 100644 --- a/internal/dao/internal/game_gift_exchange.go +++ b/internal/dao/internal/game_gift_exchange.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -90,6 +90,6 @@ func (dao *GameGiftExchangeDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameGiftExchangeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameGiftExchangeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_login_url.go b/internal/dao/internal/game_login_url.go index 6c2a301..8f0a22c 100644 --- a/internal/dao/internal/game_login_url.go +++ b/internal/dao/internal/game_login_url.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -108,6 +108,6 @@ func (dao *GameLoginUrlDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameLoginUrlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameLoginUrlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_mail.go b/internal/dao/internal/game_mail.go index f115e7d..15d3193 100644 --- a/internal/dao/internal/game_mail.go +++ b/internal/dao/internal/game_mail.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -94,6 +94,6 @@ func (dao *GameMailDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameMailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameMailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_notice.go b/internal/dao/internal/game_notice.go index 5bc77eb..fa72849 100644 --- a/internal/dao/internal/game_notice.go +++ b/internal/dao/internal/game_notice.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -78,6 +78,6 @@ func (dao *GameNoticeDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameNoticeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameNoticeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_notice_log.go b/internal/dao/internal/game_notice_log.go index 7117646..7072b17 100644 --- a/internal/dao/internal/game_notice_log.go +++ b/internal/dao/internal/game_notice_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -88,6 +88,6 @@ func (dao *GameNoticeLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameNoticeLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameNoticeLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_notice_model.go b/internal/dao/internal/game_notice_model.go index 6f52670..56d043f 100644 --- a/internal/dao/internal/game_notice_model.go +++ b/internal/dao/internal/game_notice_model.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -76,6 +76,6 @@ func (dao *GameNoticeModelDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameNoticeModelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameNoticeModelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_online.go b/internal/dao/internal/game_online.go index 6c01550..910a5bf 100644 --- a/internal/dao/internal/game_online.go +++ b/internal/dao/internal/game_online.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -76,6 +76,6 @@ func (dao *GameOnlineDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameOnlineDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameOnlineDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_recharge.go b/internal/dao/internal/game_recharge.go index 2872d49..751f106 100644 --- a/internal/dao/internal/game_recharge.go +++ b/internal/dao/internal/game_recharge.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -102,6 +102,6 @@ func (dao *GameRechargeDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameRechargeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameRechargeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_recharge_control.go b/internal/dao/internal/game_recharge_control.go index a1153b2..fee760a 100644 --- a/internal/dao/internal/game_recharge_control.go +++ b/internal/dao/internal/game_recharge_control.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -70,6 +70,6 @@ func (dao *GameRechargeControlDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameRechargeControlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameRechargeControlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_recharge_copy_1.go b/internal/dao/internal/game_recharge_copy_1.go index 3a142b0..6fa31ce 100644 --- a/internal/dao/internal/game_recharge_copy_1.go +++ b/internal/dao/internal/game_recharge_copy_1.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -98,6 +98,6 @@ func (dao *GameRechargeCopy1Dao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameRechargeCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameRechargeCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_recharge_log.go b/internal/dao/internal/game_recharge_log.go index be787c6..625327d 100644 --- a/internal/dao/internal/game_recharge_log.go +++ b/internal/dao/internal/game_recharge_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -86,6 +86,6 @@ func (dao *GameRechargeLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameRechargeLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameRechargeLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_recharge_rebate.go b/internal/dao/internal/game_recharge_rebate.go index 2c44c5e..18fbb9c 100644 --- a/internal/dao/internal/game_recharge_rebate.go +++ b/internal/dao/internal/game_recharge_rebate.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -72,6 +72,6 @@ func (dao *GameRechargeRebateDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameRechargeRebateDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameRechargeRebateDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_register.go b/internal/dao/internal/game_register.go index 2aa356d..340866a 100644 --- a/internal/dao/internal/game_register.go +++ b/internal/dao/internal/game_register.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -80,6 +80,6 @@ func (dao *GameRegisterDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameRegisterDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameRegisterDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_router.go b/internal/dao/internal/game_router.go index 62f614a..8a5373a 100644 --- a/internal/dao/internal/game_router.go +++ b/internal/dao/internal/game_router.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -84,6 +84,6 @@ func (dao *GameRouterDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameRouterDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameRouterDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_server_json_general.go b/internal/dao/internal/game_server_json_general.go index 74f4079..b567446 100644 --- a/internal/dao/internal/game_server_json_general.go +++ b/internal/dao/internal/game_server_json_general.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -80,6 +80,6 @@ func (dao *GameServerJsonGeneralDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameServerJsonGeneralDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameServerJsonGeneralDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_shop_log.go b/internal/dao/internal/game_shop_log.go index 12c92b8..f33685d 100644 --- a/internal/dao/internal/game_shop_log.go +++ b/internal/dao/internal/game_shop_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -80,6 +80,6 @@ func (dao *GameShopLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameShopLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameShopLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_unit.go b/internal/dao/internal/game_unit.go index e984759..3f8e1f8 100644 --- a/internal/dao/internal/game_unit.go +++ b/internal/dao/internal/game_unit.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -98,6 +98,6 @@ func (dao *GameUnitDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameUnitDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameUnitDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_unit_copy_1.go b/internal/dao/internal/game_unit_copy_1.go index da847ee..e612678 100644 --- a/internal/dao/internal/game_unit_copy_1.go +++ b/internal/dao/internal/game_unit_copy_1.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -96,6 +96,6 @@ func (dao *GameUnitCopy1Dao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameUnitCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameUnitCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_version.go b/internal/dao/internal/game_version.go index 4ca16d4..9ea1040 100644 --- a/internal/dao/internal/game_version.go +++ b/internal/dao/internal/game_version.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -72,6 +72,6 @@ func (dao *GameVersionDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameVersionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameVersionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/game_white_list.go b/internal/dao/internal/game_white_list.go index 4ef9ffd..13f6431 100644 --- a/internal/dao/internal/game_white_list.go +++ b/internal/dao/internal/game_white_list.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -70,6 +70,6 @@ func (dao *GameWhiteListDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GameWhiteListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GameWhiteListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/gm_operate_log.go b/internal/dao/internal/gm_operate_log.go index 4dcc2ca..95ab71c 100644 --- a/internal/dao/internal/gm_operate_log.go +++ b/internal/dao/internal/gm_operate_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -88,6 +88,6 @@ func (dao *GmOperateLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *GmOperateLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *GmOperateLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/item_income_expense_records.go b/internal/dao/internal/item_income_expense_records.go index 32dea92..4928db1 100644 --- a/internal/dao/internal/item_income_expense_records.go +++ b/internal/dao/internal/item_income_expense_records.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -84,6 +84,6 @@ func (dao *ItemIncomeExpenseRecordsDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *ItemIncomeExpenseRecordsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *ItemIncomeExpenseRecordsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/login_logout_info.go b/internal/dao/internal/login_logout_info.go index 90dd30d..b1281e2 100644 --- a/internal/dao/internal/login_logout_info.go +++ b/internal/dao/internal/login_logout_info.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -100,6 +100,6 @@ func (dao *LoginLogoutInfoDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *LoginLogoutInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *LoginLogoutInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/login_out_log.go b/internal/dao/internal/login_out_log.go index 1d77281..1f7d327 100644 --- a/internal/dao/internal/login_out_log.go +++ b/internal/dao/internal/login_out_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -76,6 +76,6 @@ func (dao *LoginOutLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *LoginOutLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *LoginOutLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_auth_rule.go b/internal/dao/internal/sys_auth_rule.go index 6c2e7ba..ba9c811 100644 --- a/internal/dao/internal/sys_auth_rule.go +++ b/internal/dao/internal/sys_auth_rule.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -110,6 +110,6 @@ func (dao *SysAuthRuleDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysAuthRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysAuthRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_config.go b/internal/dao/internal/sys_config.go index d0555d0..4e64e31 100644 --- a/internal/dao/internal/sys_config.go +++ b/internal/dao/internal/sys_config.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -86,6 +86,6 @@ func (dao *SysConfigDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysConfigDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysConfigDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_dept.go b/internal/dao/internal/sys_dept.go index 3cdc760..5d43885 100644 --- a/internal/dao/internal/sys_dept.go +++ b/internal/dao/internal/sys_dept.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -94,6 +94,6 @@ func (dao *SysDeptDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysDeptDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysDeptDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_dict_data.go b/internal/dao/internal/sys_dict_data.go index e2f6185..a853755 100644 --- a/internal/dao/internal/sys_dict_data.go +++ b/internal/dao/internal/sys_dict_data.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -94,6 +94,6 @@ func (dao *SysDictDataDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysDictDataDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysDictDataDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_dict_type.go b/internal/dao/internal/sys_dict_type.go index 436c968..32a680f 100644 --- a/internal/dao/internal/sys_dict_type.go +++ b/internal/dao/internal/sys_dict_type.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -84,6 +84,6 @@ func (dao *SysDictTypeDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysDictTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysDictTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_login_log.go b/internal/dao/internal/sys_login_log.go index 2236e12..abc22b6 100644 --- a/internal/dao/internal/sys_login_log.go +++ b/internal/dao/internal/sys_login_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -86,6 +86,6 @@ func (dao *SysLoginLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysLoginLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysLoginLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_oper_log.go b/internal/dao/internal/sys_oper_log.go index 76f9d8d..7d790f3 100644 --- a/internal/dao/internal/sys_oper_log.go +++ b/internal/dao/internal/sys_oper_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -98,6 +98,6 @@ func (dao *SysOperLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysOperLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysOperLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_post.go b/internal/dao/internal/sys_post.go index 3ede10b..c7ec214 100644 --- a/internal/dao/internal/sys_post.go +++ b/internal/dao/internal/sys_post.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -88,6 +88,6 @@ func (dao *SysPostDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysPostDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysPostDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_role.go b/internal/dao/internal/sys_role.go index 758d1cd..e009ff7 100644 --- a/internal/dao/internal/sys_role.go +++ b/internal/dao/internal/sys_role.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -82,6 +82,6 @@ func (dao *SysRoleDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysRoleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysRoleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_role_dept.go b/internal/dao/internal/sys_role_dept.go index d209777..a2a7e5c 100644 --- a/internal/dao/internal/sys_role_dept.go +++ b/internal/dao/internal/sys_role_dept.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -70,6 +70,6 @@ func (dao *SysRoleDeptDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysRoleDeptDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysRoleDeptDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_user.go b/internal/dao/internal/sys_user.go index eb08526..e85461c 100644 --- a/internal/dao/internal/sys_user.go +++ b/internal/dao/internal/sys_user.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -108,6 +108,6 @@ func (dao *SysUserDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysUserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysUserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_user_online.go b/internal/dao/internal/sys_user_online.go index c611b61..290beb2 100644 --- a/internal/dao/internal/sys_user_online.go +++ b/internal/dao/internal/sys_user_online.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -82,6 +82,6 @@ func (dao *SysUserOnlineDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysUserOnlineDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysUserOnlineDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/sys_user_post.go b/internal/dao/internal/sys_user_post.go index c1390f2..40b57ac 100644 --- a/internal/dao/internal/sys_user_post.go +++ b/internal/dao/internal/sys_user_post.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -70,6 +70,6 @@ func (dao *SysUserPostDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *SysUserPostDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *SysUserPostDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/dao/internal/web_operate_log.go b/internal/dao/internal/web_operate_log.go index 68c9628..d9dbc20 100644 --- a/internal/dao/internal/web_operate_log.go +++ b/internal/dao/internal/web_operate_log.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ========================================================================== package internal @@ -82,6 +82,6 @@ func (dao *WebOperateLogDao) Ctx(ctx context.Context) *gdb.Model { // // Note that, you should not Commit or Rollback the transaction in function f // as it is automatically handled by this function. -func (dao *WebOperateLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { +func (dao *WebOperateLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { return dao.Ctx(ctx).Transaction(ctx, f) } diff --git a/internal/model/do/advertisement.go b/internal/model/do/advertisement.go index 691e943..26e1931 100644 --- a/internal/model/do/advertisement.go +++ b/internal/model/do/advertisement.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/casbin_rule.go b/internal/model/do/casbin_rule.go index 0cf6108..3e9ec42 100644 --- a/internal/model/do/casbin_rule.go +++ b/internal/model/do/casbin_rule.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_black_list.go b/internal/model/do/game_black_list.go index 2576ac8..74d08a7 100644 --- a/internal/model/do/game_black_list.go +++ b/internal/model/do/game_black_list.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_bug.go b/internal/model/do/game_bug.go index 8ffff3b..164ba8d 100644 --- a/internal/model/do/game_bug.go +++ b/internal/model/do/game_bug.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_bug_client.go b/internal/model/do/game_bug_client.go index d2a9616..be768bf 100644 --- a/internal/model/do/game_bug_client.go +++ b/internal/model/do/game_bug_client.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_ccd_url.go b/internal/model/do/game_ccd_url.go index ee60932..347a4f7 100644 --- a/internal/model/do/game_ccd_url.go +++ b/internal/model/do/game_ccd_url.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_ccd_url_copy_1.go b/internal/model/do/game_ccd_url_copy_1.go index 6a17014..988253c 100644 --- a/internal/model/do/game_ccd_url_copy_1.go +++ b/internal/model/do/game_ccd_url_copy_1.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_ccd_version.go b/internal/model/do/game_ccd_version.go index d0778d3..c32072a 100644 --- a/internal/model/do/game_ccd_version.go +++ b/internal/model/do/game_ccd_version.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_cd_key.go b/internal/model/do/game_cd_key.go index 36251a9..0e6d7ed 100644 --- a/internal/model/do/game_cd_key.go +++ b/internal/model/do/game_cd_key.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_cd_password.go b/internal/model/do/game_cd_password.go index a4e7797..8623db3 100644 --- a/internal/model/do/game_cd_password.go +++ b/internal/model/do/game_cd_password.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_channel_list.go b/internal/model/do/game_channel_list.go index 4de7005..1facc33 100644 --- a/internal/model/do/game_channel_list.go +++ b/internal/model/do/game_channel_list.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_gift_exchange.go b/internal/model/do/game_gift_exchange.go index 3459d16..b8b67bd 100644 --- a/internal/model/do/game_gift_exchange.go +++ b/internal/model/do/game_gift_exchange.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_login_url.go b/internal/model/do/game_login_url.go index 3527f7c..7e59e66 100644 --- a/internal/model/do/game_login_url.go +++ b/internal/model/do/game_login_url.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_mail.go b/internal/model/do/game_mail.go index e8a9f9c..d432111 100644 --- a/internal/model/do/game_mail.go +++ b/internal/model/do/game_mail.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_notice.go b/internal/model/do/game_notice.go index 3286c62..15a56c4 100644 --- a/internal/model/do/game_notice.go +++ b/internal/model/do/game_notice.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_notice_log.go b/internal/model/do/game_notice_log.go index cecfd3d..b2f7657 100644 --- a/internal/model/do/game_notice_log.go +++ b/internal/model/do/game_notice_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_notice_model.go b/internal/model/do/game_notice_model.go index 26caae6..6697a4f 100644 --- a/internal/model/do/game_notice_model.go +++ b/internal/model/do/game_notice_model.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_online.go b/internal/model/do/game_online.go index aa49835..508c9a5 100644 --- a/internal/model/do/game_online.go +++ b/internal/model/do/game_online.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_recharge.go b/internal/model/do/game_recharge.go index b5e811b..a538bfa 100644 --- a/internal/model/do/game_recharge.go +++ b/internal/model/do/game_recharge.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_recharge_control.go b/internal/model/do/game_recharge_control.go index 8071048..1a9936d 100644 --- a/internal/model/do/game_recharge_control.go +++ b/internal/model/do/game_recharge_control.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_recharge_copy_1.go b/internal/model/do/game_recharge_copy_1.go index 3c00435..fdfa5c0 100644 --- a/internal/model/do/game_recharge_copy_1.go +++ b/internal/model/do/game_recharge_copy_1.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_recharge_log.go b/internal/model/do/game_recharge_log.go index 30985d6..f919ba5 100644 --- a/internal/model/do/game_recharge_log.go +++ b/internal/model/do/game_recharge_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_recharge_rebate.go b/internal/model/do/game_recharge_rebate.go index 4163964..3004105 100644 --- a/internal/model/do/game_recharge_rebate.go +++ b/internal/model/do/game_recharge_rebate.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_register.go b/internal/model/do/game_register.go index 9698d22..38f1da4 100644 --- a/internal/model/do/game_register.go +++ b/internal/model/do/game_register.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_router.go b/internal/model/do/game_router.go index d2b5eb6..63e1d1f 100644 --- a/internal/model/do/game_router.go +++ b/internal/model/do/game_router.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_server_json_general.go b/internal/model/do/game_server_json_general.go index b520e9d..fcd301d 100644 --- a/internal/model/do/game_server_json_general.go +++ b/internal/model/do/game_server_json_general.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_shop_log.go b/internal/model/do/game_shop_log.go index bbe684a..4af391a 100644 --- a/internal/model/do/game_shop_log.go +++ b/internal/model/do/game_shop_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_unit.go b/internal/model/do/game_unit.go index 8bfac61..1cb0add 100644 --- a/internal/model/do/game_unit.go +++ b/internal/model/do/game_unit.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_unit_copy_1.go b/internal/model/do/game_unit_copy_1.go index 36d523d..b526e64 100644 --- a/internal/model/do/game_unit_copy_1.go +++ b/internal/model/do/game_unit_copy_1.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_version.go b/internal/model/do/game_version.go index 2c0d17a..ffdb54e 100644 --- a/internal/model/do/game_version.go +++ b/internal/model/do/game_version.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/game_white_list.go b/internal/model/do/game_white_list.go index d519b08..a2360bf 100644 --- a/internal/model/do/game_white_list.go +++ b/internal/model/do/game_white_list.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/gm_operate_log.go b/internal/model/do/gm_operate_log.go index 39b4e58..cb19a3d 100644 --- a/internal/model/do/gm_operate_log.go +++ b/internal/model/do/gm_operate_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/item_income_expense_records.go b/internal/model/do/item_income_expense_records.go index 87ca1aa..11f7676 100644 --- a/internal/model/do/item_income_expense_records.go +++ b/internal/model/do/item_income_expense_records.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/login_logout_info.go b/internal/model/do/login_logout_info.go index 7354924..a7041ab 100644 --- a/internal/model/do/login_logout_info.go +++ b/internal/model/do/login_logout_info.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/login_out_log.go b/internal/model/do/login_out_log.go index c430b76..308c8de 100644 --- a/internal/model/do/login_out_log.go +++ b/internal/model/do/login_out_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_auth_rule.go b/internal/model/do/sys_auth_rule.go index 67c9f7e..3efd7af 100644 --- a/internal/model/do/sys_auth_rule.go +++ b/internal/model/do/sys_auth_rule.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_config.go b/internal/model/do/sys_config.go index 0b5aae5..caa8e08 100644 --- a/internal/model/do/sys_config.go +++ b/internal/model/do/sys_config.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_dept.go b/internal/model/do/sys_dept.go index c4711c1..6139fbc 100644 --- a/internal/model/do/sys_dept.go +++ b/internal/model/do/sys_dept.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_dict_data.go b/internal/model/do/sys_dict_data.go index 1d90f4f..8f81b0b 100644 --- a/internal/model/do/sys_dict_data.go +++ b/internal/model/do/sys_dict_data.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_dict_type.go b/internal/model/do/sys_dict_type.go index b30a8df..7522b84 100644 --- a/internal/model/do/sys_dict_type.go +++ b/internal/model/do/sys_dict_type.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_login_log.go b/internal/model/do/sys_login_log.go index 908d73a..8fd6538 100644 --- a/internal/model/do/sys_login_log.go +++ b/internal/model/do/sys_login_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_oper_log.go b/internal/model/do/sys_oper_log.go index ae6e6e6..d8180e6 100644 --- a/internal/model/do/sys_oper_log.go +++ b/internal/model/do/sys_oper_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_post.go b/internal/model/do/sys_post.go index 7178126..a8e067d 100644 --- a/internal/model/do/sys_post.go +++ b/internal/model/do/sys_post.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_role.go b/internal/model/do/sys_role.go index 6ba12cd..47e9599 100644 --- a/internal/model/do/sys_role.go +++ b/internal/model/do/sys_role.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_role_dept.go b/internal/model/do/sys_role_dept.go index c3795b6..df1a1ad 100644 --- a/internal/model/do/sys_role_dept.go +++ b/internal/model/do/sys_role_dept.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_user.go b/internal/model/do/sys_user.go index 51a5e30..d4934ee 100644 --- a/internal/model/do/sys_user.go +++ b/internal/model/do/sys_user.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_user_online.go b/internal/model/do/sys_user_online.go index ed329ea..f47ec4b 100644 --- a/internal/model/do/sys_user_online.go +++ b/internal/model/do/sys_user_online.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/sys_user_post.go b/internal/model/do/sys_user_post.go index 5702e16..a06c02d 100644 --- a/internal/model/do/sys_user_post.go +++ b/internal/model/do/sys_user_post.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/do/web_operate_log.go b/internal/model/do/web_operate_log.go index 25edb9f..21d701e 100644 --- a/internal/model/do/web_operate_log.go +++ b/internal/model/do/web_operate_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do diff --git a/internal/model/entity/advertisement.go b/internal/model/entity/advertisement.go index 7da7e45..455247b 100644 --- a/internal/model/entity/advertisement.go +++ b/internal/model/entity/advertisement.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/casbin_rule.go b/internal/model/entity/casbin_rule.go index 7b215ac..99ad458 100644 --- a/internal/model/entity/casbin_rule.go +++ b/internal/model/entity/casbin_rule.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_black_list.go b/internal/model/entity/game_black_list.go index 6e0f1dd..e169ce1 100644 --- a/internal/model/entity/game_black_list.go +++ b/internal/model/entity/game_black_list.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_bug.go b/internal/model/entity/game_bug.go index 943611c..b46ad8d 100644 --- a/internal/model/entity/game_bug.go +++ b/internal/model/entity/game_bug.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_bug_client.go b/internal/model/entity/game_bug_client.go index 3f6f865..22de061 100644 --- a/internal/model/entity/game_bug_client.go +++ b/internal/model/entity/game_bug_client.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_ccd_url.go b/internal/model/entity/game_ccd_url.go index 4075bb3..a81728c 100644 --- a/internal/model/entity/game_ccd_url.go +++ b/internal/model/entity/game_ccd_url.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_ccd_url_copy_1.go b/internal/model/entity/game_ccd_url_copy_1.go index df65783..98a9029 100644 --- a/internal/model/entity/game_ccd_url_copy_1.go +++ b/internal/model/entity/game_ccd_url_copy_1.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_ccd_version.go b/internal/model/entity/game_ccd_version.go index e6f2aea..8011d9b 100644 --- a/internal/model/entity/game_ccd_version.go +++ b/internal/model/entity/game_ccd_version.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_cd_key.go b/internal/model/entity/game_cd_key.go index 9d300cb..2810256 100644 --- a/internal/model/entity/game_cd_key.go +++ b/internal/model/entity/game_cd_key.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_cd_password.go b/internal/model/entity/game_cd_password.go index ecfa14e..9c6addf 100644 --- a/internal/model/entity/game_cd_password.go +++ b/internal/model/entity/game_cd_password.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_channel_list.go b/internal/model/entity/game_channel_list.go index cdf8889..f24574a 100644 --- a/internal/model/entity/game_channel_list.go +++ b/internal/model/entity/game_channel_list.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_gift_exchange.go b/internal/model/entity/game_gift_exchange.go index 147ee30..583ca16 100644 --- a/internal/model/entity/game_gift_exchange.go +++ b/internal/model/entity/game_gift_exchange.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_login_url.go b/internal/model/entity/game_login_url.go index 2447893..2efb53a 100644 --- a/internal/model/entity/game_login_url.go +++ b/internal/model/entity/game_login_url.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_mail.go b/internal/model/entity/game_mail.go index 257d459..1974c48 100644 --- a/internal/model/entity/game_mail.go +++ b/internal/model/entity/game_mail.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_notice.go b/internal/model/entity/game_notice.go index b5f5caf..7dd37ba 100644 --- a/internal/model/entity/game_notice.go +++ b/internal/model/entity/game_notice.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_notice_log.go b/internal/model/entity/game_notice_log.go index 21e67ab..a946d37 100644 --- a/internal/model/entity/game_notice_log.go +++ b/internal/model/entity/game_notice_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_notice_model.go b/internal/model/entity/game_notice_model.go index aa990d0..87f9f5e 100644 --- a/internal/model/entity/game_notice_model.go +++ b/internal/model/entity/game_notice_model.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_online.go b/internal/model/entity/game_online.go index 4b11ab3..fd4688c 100644 --- a/internal/model/entity/game_online.go +++ b/internal/model/entity/game_online.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_recharge.go b/internal/model/entity/game_recharge.go index bfaf91a..28505c7 100644 --- a/internal/model/entity/game_recharge.go +++ b/internal/model/entity/game_recharge.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_recharge_control.go b/internal/model/entity/game_recharge_control.go index 60ca57f..01438a3 100644 --- a/internal/model/entity/game_recharge_control.go +++ b/internal/model/entity/game_recharge_control.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_recharge_copy_1.go b/internal/model/entity/game_recharge_copy_1.go index 8348983..143b70d 100644 --- a/internal/model/entity/game_recharge_copy_1.go +++ b/internal/model/entity/game_recharge_copy_1.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_recharge_log.go b/internal/model/entity/game_recharge_log.go index 7dcabf7..5c71ced 100644 --- a/internal/model/entity/game_recharge_log.go +++ b/internal/model/entity/game_recharge_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_recharge_rebate.go b/internal/model/entity/game_recharge_rebate.go index 6134ff8..394cafc 100644 --- a/internal/model/entity/game_recharge_rebate.go +++ b/internal/model/entity/game_recharge_rebate.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_register.go b/internal/model/entity/game_register.go index 568372d..0a1e86a 100644 --- a/internal/model/entity/game_register.go +++ b/internal/model/entity/game_register.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_router.go b/internal/model/entity/game_router.go index 3218ea0..85c5b15 100644 --- a/internal/model/entity/game_router.go +++ b/internal/model/entity/game_router.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_server_json_general.go b/internal/model/entity/game_server_json_general.go index 24e97aa..55bf105 100644 --- a/internal/model/entity/game_server_json_general.go +++ b/internal/model/entity/game_server_json_general.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_shop_log.go b/internal/model/entity/game_shop_log.go index 6255cb4..afff62c 100644 --- a/internal/model/entity/game_shop_log.go +++ b/internal/model/entity/game_shop_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_unit.go b/internal/model/entity/game_unit.go index 60a3b4c..c0fce88 100644 --- a/internal/model/entity/game_unit.go +++ b/internal/model/entity/game_unit.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_unit_copy_1.go b/internal/model/entity/game_unit_copy_1.go index 026fdd1..e90e887 100644 --- a/internal/model/entity/game_unit_copy_1.go +++ b/internal/model/entity/game_unit_copy_1.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_version.go b/internal/model/entity/game_version.go index 28f2ccb..40c5913 100644 --- a/internal/model/entity/game_version.go +++ b/internal/model/entity/game_version.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/game_white_list.go b/internal/model/entity/game_white_list.go index 233742d..d72b1b5 100644 --- a/internal/model/entity/game_white_list.go +++ b/internal/model/entity/game_white_list.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/gm_operate_log.go b/internal/model/entity/gm_operate_log.go index 6e443a4..fd9cd7e 100644 --- a/internal/model/entity/gm_operate_log.go +++ b/internal/model/entity/gm_operate_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/item_income_expense_records.go b/internal/model/entity/item_income_expense_records.go index c18eadd..4b082c6 100644 --- a/internal/model/entity/item_income_expense_records.go +++ b/internal/model/entity/item_income_expense_records.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/login_logout_info.go b/internal/model/entity/login_logout_info.go index 529319d..9baa446 100644 --- a/internal/model/entity/login_logout_info.go +++ b/internal/model/entity/login_logout_info.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/login_out_log.go b/internal/model/entity/login_out_log.go index 2ce0a13..a368a27 100644 --- a/internal/model/entity/login_out_log.go +++ b/internal/model/entity/login_out_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_auth_rule.go b/internal/model/entity/sys_auth_rule.go index cb3ab1c..b4d8197 100644 --- a/internal/model/entity/sys_auth_rule.go +++ b/internal/model/entity/sys_auth_rule.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_config.go b/internal/model/entity/sys_config.go index d1ad7c9..fd49bcb 100644 --- a/internal/model/entity/sys_config.go +++ b/internal/model/entity/sys_config.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_dept.go b/internal/model/entity/sys_dept.go index f42bfa7..acbc258 100644 --- a/internal/model/entity/sys_dept.go +++ b/internal/model/entity/sys_dept.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_dict_data.go b/internal/model/entity/sys_dict_data.go index b889445..e5363fc 100644 --- a/internal/model/entity/sys_dict_data.go +++ b/internal/model/entity/sys_dict_data.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_dict_type.go b/internal/model/entity/sys_dict_type.go index f238c3a..1556460 100644 --- a/internal/model/entity/sys_dict_type.go +++ b/internal/model/entity/sys_dict_type.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_login_log.go b/internal/model/entity/sys_login_log.go index f6b7b32..3a7b961 100644 --- a/internal/model/entity/sys_login_log.go +++ b/internal/model/entity/sys_login_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_oper_log.go b/internal/model/entity/sys_oper_log.go index d617d3a..c68385d 100644 --- a/internal/model/entity/sys_oper_log.go +++ b/internal/model/entity/sys_oper_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_post.go b/internal/model/entity/sys_post.go index aaf5ba7..8301eb8 100644 --- a/internal/model/entity/sys_post.go +++ b/internal/model/entity/sys_post.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_role.go b/internal/model/entity/sys_role.go index 94920f4..c98e802 100644 --- a/internal/model/entity/sys_role.go +++ b/internal/model/entity/sys_role.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_role_dept.go b/internal/model/entity/sys_role_dept.go index 2e5483d..c795ca0 100644 --- a/internal/model/entity/sys_role_dept.go +++ b/internal/model/entity/sys_role_dept.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_user.go b/internal/model/entity/sys_user.go index 06972d3..bd87afd 100644 --- a/internal/model/entity/sys_user.go +++ b/internal/model/entity/sys_user.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_user_online.go b/internal/model/entity/sys_user_online.go index 723efb0..a286995 100644 --- a/internal/model/entity/sys_user_online.go +++ b/internal/model/entity/sys_user_online.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/sys_user_post.go b/internal/model/entity/sys_user_post.go index 7b8f1bf..8de724c 100644 --- a/internal/model/entity/sys_user_post.go +++ b/internal/model/entity/sys_user_post.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/model/entity/web_operate_log.go b/internal/model/entity/web_operate_log.go index 427098a..45f0817 100644 --- a/internal/model/entity/web_operate_log.go +++ b/internal/model/entity/web_operate_log.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity diff --git a/internal/service/internal/dao/advertisement.go b/internal/service/internal/dao/advertisement.go new file mode 100644 index 0000000..029a6ef --- /dev/null +++ b/internal/service/internal/dao/advertisement.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// advertisementDao is the data access object for table advertisement. +// You can define custom methods on it to extend its functionality as you wish. +type advertisementDao struct { + *internal.AdvertisementDao +} + +var ( + // Advertisement is globally public accessible object for table advertisement operations. + Advertisement = advertisementDao{ + internal.NewAdvertisementDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/casbin_rule.go b/internal/service/internal/dao/casbin_rule.go new file mode 100644 index 0000000..1016ece --- /dev/null +++ b/internal/service/internal/dao/casbin_rule.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// casbinRuleDao is the data access object for table casbin_rule. +// You can define custom methods on it to extend its functionality as you wish. +type casbinRuleDao struct { + *internal.CasbinRuleDao +} + +var ( + // CasbinRule is globally public accessible object for table casbin_rule operations. + CasbinRule = casbinRuleDao{ + internal.NewCasbinRuleDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_black_list.go b/internal/service/internal/dao/game_black_list.go new file mode 100644 index 0000000..668b6d3 --- /dev/null +++ b/internal/service/internal/dao/game_black_list.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameBlackListDao is the data access object for table game_black_list. +// You can define custom methods on it to extend its functionality as you wish. +type gameBlackListDao struct { + *internal.GameBlackListDao +} + +var ( + // GameBlackList is globally public accessible object for table game_black_list operations. + GameBlackList = gameBlackListDao{ + internal.NewGameBlackListDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_bug.go b/internal/service/internal/dao/game_bug.go new file mode 100644 index 0000000..e8032f8 --- /dev/null +++ b/internal/service/internal/dao/game_bug.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameBugDao is the data access object for table game_bug. +// You can define custom methods on it to extend its functionality as you wish. +type gameBugDao struct { + *internal.GameBugDao +} + +var ( + // GameBug is globally public accessible object for table game_bug operations. + GameBug = gameBugDao{ + internal.NewGameBugDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_bug_client.go b/internal/service/internal/dao/game_bug_client.go new file mode 100644 index 0000000..3b62d06 --- /dev/null +++ b/internal/service/internal/dao/game_bug_client.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameBugClientDao is the data access object for table game_bug_client. +// You can define custom methods on it to extend its functionality as you wish. +type gameBugClientDao struct { + *internal.GameBugClientDao +} + +var ( + // GameBugClient is globally public accessible object for table game_bug_client operations. + GameBugClient = gameBugClientDao{ + internal.NewGameBugClientDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_ccd_url.go b/internal/service/internal/dao/game_ccd_url.go new file mode 100644 index 0000000..c4d0e73 --- /dev/null +++ b/internal/service/internal/dao/game_ccd_url.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameCcdUrlDao is the data access object for table game_ccd_url. +// You can define custom methods on it to extend its functionality as you wish. +type gameCcdUrlDao struct { + *internal.GameCcdUrlDao +} + +var ( + // GameCcdUrl is globally public accessible object for table game_ccd_url operations. + GameCcdUrl = gameCcdUrlDao{ + internal.NewGameCcdUrlDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_ccd_url_copy_1.go b/internal/service/internal/dao/game_ccd_url_copy_1.go new file mode 100644 index 0000000..7f5c5c8 --- /dev/null +++ b/internal/service/internal/dao/game_ccd_url_copy_1.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameCcdUrlCopy1Dao is the data access object for table game_ccd_url_copy1. +// You can define custom methods on it to extend its functionality as you wish. +type gameCcdUrlCopy1Dao struct { + *internal.GameCcdUrlCopy1Dao +} + +var ( + // GameCcdUrlCopy1 is globally public accessible object for table game_ccd_url_copy1 operations. + GameCcdUrlCopy1 = gameCcdUrlCopy1Dao{ + internal.NewGameCcdUrlCopy1Dao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_ccd_version.go b/internal/service/internal/dao/game_ccd_version.go new file mode 100644 index 0000000..e5039ab --- /dev/null +++ b/internal/service/internal/dao/game_ccd_version.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameCcdVersionDao is the data access object for table game_ccd_version. +// You can define custom methods on it to extend its functionality as you wish. +type gameCcdVersionDao struct { + *internal.GameCcdVersionDao +} + +var ( + // GameCcdVersion is globally public accessible object for table game_ccd_version operations. + GameCcdVersion = gameCcdVersionDao{ + internal.NewGameCcdVersionDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_cd_key.go b/internal/service/internal/dao/game_cd_key.go new file mode 100644 index 0000000..485d5a8 --- /dev/null +++ b/internal/service/internal/dao/game_cd_key.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameCdKeyDao is the data access object for table game_cd_key. +// You can define custom methods on it to extend its functionality as you wish. +type gameCdKeyDao struct { + *internal.GameCdKeyDao +} + +var ( + // GameCdKey is globally public accessible object for table game_cd_key operations. + GameCdKey = gameCdKeyDao{ + internal.NewGameCdKeyDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_cd_password.go b/internal/service/internal/dao/game_cd_password.go new file mode 100644 index 0000000..9b2d4dc --- /dev/null +++ b/internal/service/internal/dao/game_cd_password.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameCdPasswordDao is the data access object for table game_cd_password. +// You can define custom methods on it to extend its functionality as you wish. +type gameCdPasswordDao struct { + *internal.GameCdPasswordDao +} + +var ( + // GameCdPassword is globally public accessible object for table game_cd_password operations. + GameCdPassword = gameCdPasswordDao{ + internal.NewGameCdPasswordDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_channel_list.go b/internal/service/internal/dao/game_channel_list.go new file mode 100644 index 0000000..7986e21 --- /dev/null +++ b/internal/service/internal/dao/game_channel_list.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameChannelListDao is the data access object for table game_channel_list. +// You can define custom methods on it to extend its functionality as you wish. +type gameChannelListDao struct { + *internal.GameChannelListDao +} + +var ( + // GameChannelList is globally public accessible object for table game_channel_list operations. + GameChannelList = gameChannelListDao{ + internal.NewGameChannelListDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_gift_exchange.go b/internal/service/internal/dao/game_gift_exchange.go new file mode 100644 index 0000000..a8f5c05 --- /dev/null +++ b/internal/service/internal/dao/game_gift_exchange.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameGiftExchangeDao is the data access object for table game_gift_exchange. +// You can define custom methods on it to extend its functionality as you wish. +type gameGiftExchangeDao struct { + *internal.GameGiftExchangeDao +} + +var ( + // GameGiftExchange is globally public accessible object for table game_gift_exchange operations. + GameGiftExchange = gameGiftExchangeDao{ + internal.NewGameGiftExchangeDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_login_url.go b/internal/service/internal/dao/game_login_url.go new file mode 100644 index 0000000..b45f7aa --- /dev/null +++ b/internal/service/internal/dao/game_login_url.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameLoginUrlDao is the data access object for table game_login_url. +// You can define custom methods on it to extend its functionality as you wish. +type gameLoginUrlDao struct { + *internal.GameLoginUrlDao +} + +var ( + // GameLoginUrl is globally public accessible object for table game_login_url operations. + GameLoginUrl = gameLoginUrlDao{ + internal.NewGameLoginUrlDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_mail.go b/internal/service/internal/dao/game_mail.go new file mode 100644 index 0000000..b296b53 --- /dev/null +++ b/internal/service/internal/dao/game_mail.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameMailDao is the data access object for table game_mail. +// You can define custom methods on it to extend its functionality as you wish. +type gameMailDao struct { + *internal.GameMailDao +} + +var ( + // GameMail is globally public accessible object for table game_mail operations. + GameMail = gameMailDao{ + internal.NewGameMailDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_notice.go b/internal/service/internal/dao/game_notice.go new file mode 100644 index 0000000..b8f2940 --- /dev/null +++ b/internal/service/internal/dao/game_notice.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameNoticeDao is the data access object for table game_notice. +// You can define custom methods on it to extend its functionality as you wish. +type gameNoticeDao struct { + *internal.GameNoticeDao +} + +var ( + // GameNotice is globally public accessible object for table game_notice operations. + GameNotice = gameNoticeDao{ + internal.NewGameNoticeDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_notice_log.go b/internal/service/internal/dao/game_notice_log.go new file mode 100644 index 0000000..e1bd2e9 --- /dev/null +++ b/internal/service/internal/dao/game_notice_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameNoticeLogDao is the data access object for table game_notice_log. +// You can define custom methods on it to extend its functionality as you wish. +type gameNoticeLogDao struct { + *internal.GameNoticeLogDao +} + +var ( + // GameNoticeLog is globally public accessible object for table game_notice_log operations. + GameNoticeLog = gameNoticeLogDao{ + internal.NewGameNoticeLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_notice_model.go b/internal/service/internal/dao/game_notice_model.go new file mode 100644 index 0000000..f0e8e2c --- /dev/null +++ b/internal/service/internal/dao/game_notice_model.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameNoticeModelDao is the data access object for table game_notice_model. +// You can define custom methods on it to extend its functionality as you wish. +type gameNoticeModelDao struct { + *internal.GameNoticeModelDao +} + +var ( + // GameNoticeModel is globally public accessible object for table game_notice_model operations. + GameNoticeModel = gameNoticeModelDao{ + internal.NewGameNoticeModelDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_online.go b/internal/service/internal/dao/game_online.go new file mode 100644 index 0000000..9505d07 --- /dev/null +++ b/internal/service/internal/dao/game_online.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameOnlineDao is the data access object for table game_online. +// You can define custom methods on it to extend its functionality as you wish. +type gameOnlineDao struct { + *internal.GameOnlineDao +} + +var ( + // GameOnline is globally public accessible object for table game_online operations. + GameOnline = gameOnlineDao{ + internal.NewGameOnlineDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_recharge.go b/internal/service/internal/dao/game_recharge.go new file mode 100644 index 0000000..50de789 --- /dev/null +++ b/internal/service/internal/dao/game_recharge.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameRechargeDao is the data access object for table game_recharge. +// You can define custom methods on it to extend its functionality as you wish. +type gameRechargeDao struct { + *internal.GameRechargeDao +} + +var ( + // GameRecharge is globally public accessible object for table game_recharge operations. + GameRecharge = gameRechargeDao{ + internal.NewGameRechargeDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_recharge_control.go b/internal/service/internal/dao/game_recharge_control.go new file mode 100644 index 0000000..8fc818a --- /dev/null +++ b/internal/service/internal/dao/game_recharge_control.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameRechargeControlDao is the data access object for table game_recharge_control. +// You can define custom methods on it to extend its functionality as you wish. +type gameRechargeControlDao struct { + *internal.GameRechargeControlDao +} + +var ( + // GameRechargeControl is globally public accessible object for table game_recharge_control operations. + GameRechargeControl = gameRechargeControlDao{ + internal.NewGameRechargeControlDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_recharge_copy_1.go b/internal/service/internal/dao/game_recharge_copy_1.go new file mode 100644 index 0000000..159bd1d --- /dev/null +++ b/internal/service/internal/dao/game_recharge_copy_1.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameRechargeCopy1Dao is the data access object for table game_recharge_copy1. +// You can define custom methods on it to extend its functionality as you wish. +type gameRechargeCopy1Dao struct { + *internal.GameRechargeCopy1Dao +} + +var ( + // GameRechargeCopy1 is globally public accessible object for table game_recharge_copy1 operations. + GameRechargeCopy1 = gameRechargeCopy1Dao{ + internal.NewGameRechargeCopy1Dao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_recharge_log.go b/internal/service/internal/dao/game_recharge_log.go new file mode 100644 index 0000000..a78670e --- /dev/null +++ b/internal/service/internal/dao/game_recharge_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameRechargeLogDao is the data access object for table game_recharge_log. +// You can define custom methods on it to extend its functionality as you wish. +type gameRechargeLogDao struct { + *internal.GameRechargeLogDao +} + +var ( + // GameRechargeLog is globally public accessible object for table game_recharge_log operations. + GameRechargeLog = gameRechargeLogDao{ + internal.NewGameRechargeLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_recharge_rebate.go b/internal/service/internal/dao/game_recharge_rebate.go new file mode 100644 index 0000000..9a84da1 --- /dev/null +++ b/internal/service/internal/dao/game_recharge_rebate.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameRechargeRebateDao is the data access object for table game_recharge_rebate. +// You can define custom methods on it to extend its functionality as you wish. +type gameRechargeRebateDao struct { + *internal.GameRechargeRebateDao +} + +var ( + // GameRechargeRebate is globally public accessible object for table game_recharge_rebate operations. + GameRechargeRebate = gameRechargeRebateDao{ + internal.NewGameRechargeRebateDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_register.go b/internal/service/internal/dao/game_register.go new file mode 100644 index 0000000..82dd5d4 --- /dev/null +++ b/internal/service/internal/dao/game_register.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameRegisterDao is the data access object for table game_register. +// You can define custom methods on it to extend its functionality as you wish. +type gameRegisterDao struct { + *internal.GameRegisterDao +} + +var ( + // GameRegister is globally public accessible object for table game_register operations. + GameRegister = gameRegisterDao{ + internal.NewGameRegisterDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_router.go b/internal/service/internal/dao/game_router.go new file mode 100644 index 0000000..4d56e93 --- /dev/null +++ b/internal/service/internal/dao/game_router.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameRouterDao is the data access object for table game_router. +// You can define custom methods on it to extend its functionality as you wish. +type gameRouterDao struct { + *internal.GameRouterDao +} + +var ( + // GameRouter is globally public accessible object for table game_router operations. + GameRouter = gameRouterDao{ + internal.NewGameRouterDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_server_json_general.go b/internal/service/internal/dao/game_server_json_general.go new file mode 100644 index 0000000..3b383f3 --- /dev/null +++ b/internal/service/internal/dao/game_server_json_general.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameServerJsonGeneralDao is the data access object for table game_server_json_general. +// You can define custom methods on it to extend its functionality as you wish. +type gameServerJsonGeneralDao struct { + *internal.GameServerJsonGeneralDao +} + +var ( + // GameServerJsonGeneral is globally public accessible object for table game_server_json_general operations. + GameServerJsonGeneral = gameServerJsonGeneralDao{ + internal.NewGameServerJsonGeneralDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_shop_log.go b/internal/service/internal/dao/game_shop_log.go new file mode 100644 index 0000000..a4c51fa --- /dev/null +++ b/internal/service/internal/dao/game_shop_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameShopLogDao is the data access object for table game_shop_log. +// You can define custom methods on it to extend its functionality as you wish. +type gameShopLogDao struct { + *internal.GameShopLogDao +} + +var ( + // GameShopLog is globally public accessible object for table game_shop_log operations. + GameShopLog = gameShopLogDao{ + internal.NewGameShopLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_unit.go b/internal/service/internal/dao/game_unit.go new file mode 100644 index 0000000..376ee51 --- /dev/null +++ b/internal/service/internal/dao/game_unit.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameUnitDao is the data access object for table game_unit. +// You can define custom methods on it to extend its functionality as you wish. +type gameUnitDao struct { + *internal.GameUnitDao +} + +var ( + // GameUnit is globally public accessible object for table game_unit operations. + GameUnit = gameUnitDao{ + internal.NewGameUnitDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_unit_copy_1.go b/internal/service/internal/dao/game_unit_copy_1.go new file mode 100644 index 0000000..173efe6 --- /dev/null +++ b/internal/service/internal/dao/game_unit_copy_1.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameUnitCopy1Dao is the data access object for table game_unit_copy1. +// You can define custom methods on it to extend its functionality as you wish. +type gameUnitCopy1Dao struct { + *internal.GameUnitCopy1Dao +} + +var ( + // GameUnitCopy1 is globally public accessible object for table game_unit_copy1 operations. + GameUnitCopy1 = gameUnitCopy1Dao{ + internal.NewGameUnitCopy1Dao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_version.go b/internal/service/internal/dao/game_version.go new file mode 100644 index 0000000..1bbda9b --- /dev/null +++ b/internal/service/internal/dao/game_version.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameVersionDao is the data access object for table game_version. +// You can define custom methods on it to extend its functionality as you wish. +type gameVersionDao struct { + *internal.GameVersionDao +} + +var ( + // GameVersion is globally public accessible object for table game_version operations. + GameVersion = gameVersionDao{ + internal.NewGameVersionDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/game_white_list.go b/internal/service/internal/dao/game_white_list.go new file mode 100644 index 0000000..0bb0827 --- /dev/null +++ b/internal/service/internal/dao/game_white_list.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gameWhiteListDao is the data access object for table game_white_list. +// You can define custom methods on it to extend its functionality as you wish. +type gameWhiteListDao struct { + *internal.GameWhiteListDao +} + +var ( + // GameWhiteList is globally public accessible object for table game_white_list operations. + GameWhiteList = gameWhiteListDao{ + internal.NewGameWhiteListDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/gm_operate_log.go b/internal/service/internal/dao/gm_operate_log.go new file mode 100644 index 0000000..894a7c8 --- /dev/null +++ b/internal/service/internal/dao/gm_operate_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// gmOperateLogDao is the data access object for table gm_operate_log. +// You can define custom methods on it to extend its functionality as you wish. +type gmOperateLogDao struct { + *internal.GmOperateLogDao +} + +var ( + // GmOperateLog is globally public accessible object for table gm_operate_log operations. + GmOperateLog = gmOperateLogDao{ + internal.NewGmOperateLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/internal/advertisement.go b/internal/service/internal/dao/internal/advertisement.go new file mode 100644 index 0000000..0babd9f --- /dev/null +++ b/internal/service/internal/dao/internal/advertisement.go @@ -0,0 +1,120 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// AdvertisementDao is the data access object for table advertisement. +type AdvertisementDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns AdvertisementColumns // columns contains all the column names of Table for convenient usage. +} + +// AdvertisementColumns defines and stores column names for table advertisement. +type AdvertisementColumns struct { + Id string // + Idfa string // + Time string // + Ip string // + OrgId string // + OrgName string // + GameId string // + GameName string // + AdsetId string // + AdsetNet string // + DeviceBrand string // + DeviceModel string // + CreativeId string // + ConversionType string // + Device string // + OAID string // + Callback string // + TapTrackId string // + TapProjectId string // + ANID string // + IMEI string // + Once string // + Register string // + Recharge string // + Two string // +} + +// advertisementColumns holds the columns for table advertisement. +var advertisementColumns = AdvertisementColumns{ + Id: "id", + Idfa: "idfa", + Time: "time", + Ip: "ip", + OrgId: "org_id", + OrgName: "org_name", + GameId: "game_id", + GameName: "game_name", + AdsetId: "adset_id", + AdsetNet: "adset_net", + DeviceBrand: "device_brand", + DeviceModel: "device_model", + CreativeId: "creative_id", + ConversionType: "conversion_type", + Device: "device", + OAID: "OAID", + Callback: "callback", + TapTrackId: "tap_track_id", + TapProjectId: "tap_project_id", + ANID: "ANID", + IMEI: "IMEI", + Once: "once", + Register: "register", + Recharge: "recharge", + Two: "two", +} + +// NewAdvertisementDao creates and returns a new DAO object for table data access. +func NewAdvertisementDao() *AdvertisementDao { + return &AdvertisementDao{ + group: "default", + table: "advertisement", + columns: advertisementColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *AdvertisementDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *AdvertisementDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *AdvertisementDao) Columns() AdvertisementColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *AdvertisementDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *AdvertisementDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *AdvertisementDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/casbin_rule.go b/internal/service/internal/dao/internal/casbin_rule.go new file mode 100644 index 0000000..70f2c02 --- /dev/null +++ b/internal/service/internal/dao/internal/casbin_rule.go @@ -0,0 +1,84 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// CasbinRuleDao is the data access object for table casbin_rule. +type CasbinRuleDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns CasbinRuleColumns // columns contains all the column names of Table for convenient usage. +} + +// CasbinRuleColumns defines and stores column names for table casbin_rule. +type CasbinRuleColumns struct { + Ptype string // + V0 string // + V1 string // + V2 string // + V3 string // + V4 string // + V5 string // +} + +// casbinRuleColumns holds the columns for table casbin_rule. +var casbinRuleColumns = CasbinRuleColumns{ + Ptype: "ptype", + V0: "v0", + V1: "v1", + V2: "v2", + V3: "v3", + V4: "v4", + V5: "v5", +} + +// NewCasbinRuleDao creates and returns a new DAO object for table data access. +func NewCasbinRuleDao() *CasbinRuleDao { + return &CasbinRuleDao{ + group: "default", + table: "casbin_rule", + columns: casbinRuleColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *CasbinRuleDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *CasbinRuleDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *CasbinRuleDao) Columns() CasbinRuleColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *CasbinRuleDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *CasbinRuleDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *CasbinRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_black_list.go b/internal/service/internal/dao/internal/game_black_list.go new file mode 100644 index 0000000..9696ef9 --- /dev/null +++ b/internal/service/internal/dao/internal/game_black_list.go @@ -0,0 +1,74 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameBlackListDao is the data access object for table game_black_list. +type GameBlackListDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameBlackListColumns // columns contains all the column names of Table for convenient usage. +} + +// GameBlackListColumns defines and stores column names for table game_black_list. +type GameBlackListColumns struct { + Id string // + Ip string // +} + +// gameBlackListColumns holds the columns for table game_black_list. +var gameBlackListColumns = GameBlackListColumns{ + Id: "id", + Ip: "ip", +} + +// NewGameBlackListDao creates and returns a new DAO object for table data access. +func NewGameBlackListDao() *GameBlackListDao { + return &GameBlackListDao{ + group: "default", + table: "game_black_list", + columns: gameBlackListColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameBlackListDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameBlackListDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameBlackListDao) Columns() GameBlackListColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameBlackListDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameBlackListDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameBlackListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_bug.go b/internal/service/internal/dao/internal/game_bug.go new file mode 100644 index 0000000..14a7a84 --- /dev/null +++ b/internal/service/internal/dao/internal/game_bug.go @@ -0,0 +1,88 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameBugDao is the data access object for table game_bug. +type GameBugDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameBugColumns // columns contains all the column names of Table for convenient usage. +} + +// GameBugColumns defines and stores column names for table game_bug. +type GameBugColumns struct { + Id string // 索引ID + Uid string // 桃谷id + Server string // 区服 + Qq string // qq号 + Tel string // 手机号 + Bug string // bug详情 + OccurrenceTime string // 发生时间 + CreateTime string // 创建时间 + State string // 0表示没处理,1表示已处理 +} + +// gameBugColumns holds the columns for table game_bug. +var gameBugColumns = GameBugColumns{ + Id: "id", + Uid: "uid", + Server: "server", + Qq: "qq", + Tel: "tel", + Bug: "bug", + OccurrenceTime: "occurrenceTime", + CreateTime: "createTime", + State: "state", +} + +// NewGameBugDao creates and returns a new DAO object for table data access. +func NewGameBugDao() *GameBugDao { + return &GameBugDao{ + group: "default", + table: "game_bug", + columns: gameBugColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameBugDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameBugDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameBugDao) Columns() GameBugColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameBugDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameBugDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameBugDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_bug_client.go b/internal/service/internal/dao/internal/game_bug_client.go new file mode 100644 index 0000000..d15c08e --- /dev/null +++ b/internal/service/internal/dao/internal/game_bug_client.go @@ -0,0 +1,96 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameBugClientDao is the data access object for table game_bug_client. +type GameBugClientDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameBugClientColumns // columns contains all the column names of Table for convenient usage. +} + +// GameBugClientColumns defines and stores column names for table game_bug_client. +type GameBugClientColumns struct { + Id string // 索引ID + State string // 0表示没处理,1表示已处理 + Uid string // 桃谷id + CreateTime string // 创建时间 + Bug string // bug详情 + LogType string // 日志类型 + StackTrace string // 堆栈信息 + Channel string // 渠道 + SubChannel string // 子渠道 + DeviceModel string // 设备型号 + DeviceType string // 设备类型 + OperationSystem string // 操作系统 + SystemMemorySize string // 系统内存大小 +} + +// gameBugClientColumns holds the columns for table game_bug_client. +var gameBugClientColumns = GameBugClientColumns{ + Id: "id", + State: "state", + Uid: "uid", + CreateTime: "create_time", + Bug: "bug", + LogType: "log_type", + StackTrace: "stack_trace", + Channel: "channel", + SubChannel: "sub_channel", + DeviceModel: "device_model", + DeviceType: "device_type", + OperationSystem: "operation_system", + SystemMemorySize: "system_memory_size", +} + +// NewGameBugClientDao creates and returns a new DAO object for table data access. +func NewGameBugClientDao() *GameBugClientDao { + return &GameBugClientDao{ + group: "default", + table: "game_bug_client", + columns: gameBugClientColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameBugClientDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameBugClientDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameBugClientDao) Columns() GameBugClientColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameBugClientDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameBugClientDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameBugClientDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_ccd_url.go b/internal/service/internal/dao/internal/game_ccd_url.go new file mode 100644 index 0000000..80a2c9b --- /dev/null +++ b/internal/service/internal/dao/internal/game_ccd_url.go @@ -0,0 +1,90 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameCcdUrlDao is the data access object for table game_ccd_url. +type GameCcdUrlDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameCcdUrlColumns // columns contains all the column names of Table for convenient usage. +} + +// GameCcdUrlColumns defines and stores column names for table game_ccd_url. +type GameCcdUrlColumns struct { + Id string // + Platform string // + ChannelType string // + VersionName string // + VersionCode string // + Ip string // + HotfixVersion string // + VersionCompare string // + State string // + Url string // +} + +// gameCcdUrlColumns holds the columns for table game_ccd_url. +var gameCcdUrlColumns = GameCcdUrlColumns{ + Id: "id", + Platform: "platform", + ChannelType: "channelType", + VersionName: "versionName", + VersionCode: "versionCode", + Ip: "ip", + HotfixVersion: "hotfixVersion", + VersionCompare: "versionCompare", + State: "state", + Url: "url", +} + +// NewGameCcdUrlDao creates and returns a new DAO object for table data access. +func NewGameCcdUrlDao() *GameCcdUrlDao { + return &GameCcdUrlDao{ + group: "default", + table: "game_ccd_url", + columns: gameCcdUrlColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameCcdUrlDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameCcdUrlDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameCcdUrlDao) Columns() GameCcdUrlColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameCcdUrlDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameCcdUrlDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameCcdUrlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_ccd_url_copy_1.go b/internal/service/internal/dao/internal/game_ccd_url_copy_1.go new file mode 100644 index 0000000..58b642c --- /dev/null +++ b/internal/service/internal/dao/internal/game_ccd_url_copy_1.go @@ -0,0 +1,90 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameCcdUrlCopy1Dao is the data access object for table game_ccd_url_copy1. +type GameCcdUrlCopy1Dao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameCcdUrlCopy1Columns // columns contains all the column names of Table for convenient usage. +} + +// GameCcdUrlCopy1Columns defines and stores column names for table game_ccd_url_copy1. +type GameCcdUrlCopy1Columns struct { + Id string // + Platform string // + ChannelType string // + VersionName string // + VersionCode string // + Ip string // + HotfixVersion string // + VersionCompare string // + State string // + Url string // +} + +// gameCcdUrlCopy1Columns holds the columns for table game_ccd_url_copy1. +var gameCcdUrlCopy1Columns = GameCcdUrlCopy1Columns{ + Id: "id", + Platform: "platform", + ChannelType: "channelType", + VersionName: "versionName", + VersionCode: "versionCode", + Ip: "ip", + HotfixVersion: "hotfixVersion", + VersionCompare: "versionCompare", + State: "state", + Url: "url", +} + +// NewGameCcdUrlCopy1Dao creates and returns a new DAO object for table data access. +func NewGameCcdUrlCopy1Dao() *GameCcdUrlCopy1Dao { + return &GameCcdUrlCopy1Dao{ + group: "default", + table: "game_ccd_url_copy1", + columns: gameCcdUrlCopy1Columns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameCcdUrlCopy1Dao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameCcdUrlCopy1Dao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameCcdUrlCopy1Dao) Columns() GameCcdUrlCopy1Columns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameCcdUrlCopy1Dao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameCcdUrlCopy1Dao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameCcdUrlCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_ccd_version.go b/internal/service/internal/dao/internal/game_ccd_version.go new file mode 100644 index 0000000..f4d8aa3 --- /dev/null +++ b/internal/service/internal/dao/internal/game_ccd_version.go @@ -0,0 +1,74 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameCcdVersionDao is the data access object for table game_ccd_version. +type GameCcdVersionDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameCcdVersionColumns // columns contains all the column names of Table for convenient usage. +} + +// GameCcdVersionColumns defines and stores column names for table game_ccd_version. +type GameCcdVersionColumns struct { + Id string // + Data string // +} + +// gameCcdVersionColumns holds the columns for table game_ccd_version. +var gameCcdVersionColumns = GameCcdVersionColumns{ + Id: "id", + Data: "data", +} + +// NewGameCcdVersionDao creates and returns a new DAO object for table data access. +func NewGameCcdVersionDao() *GameCcdVersionDao { + return &GameCcdVersionDao{ + group: "default", + table: "game_ccd_version", + columns: gameCcdVersionColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameCcdVersionDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameCcdVersionDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameCcdVersionDao) Columns() GameCcdVersionColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameCcdVersionDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameCcdVersionDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameCcdVersionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_cd_key.go b/internal/service/internal/dao/internal/game_cd_key.go new file mode 100644 index 0000000..c7dd3c8 --- /dev/null +++ b/internal/service/internal/dao/internal/game_cd_key.go @@ -0,0 +1,84 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameCdKeyDao is the data access object for table game_cd_key. +type GameCdKeyDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameCdKeyColumns // columns contains all the column names of Table for convenient usage. +} + +// GameCdKeyColumns defines and stores column names for table game_cd_key. +type GameCdKeyColumns struct { + Id string // + Code string // 兑换码 + ConfigId string // + Used string // 账号id + SeizeASeat string // + Time string // + Server string // 区服 +} + +// gameCdKeyColumns holds the columns for table game_cd_key. +var gameCdKeyColumns = GameCdKeyColumns{ + Id: "id", + Code: "code", + ConfigId: "configId", + Used: "used", + SeizeASeat: "seizeASeat", + Time: "time", + Server: "server", +} + +// NewGameCdKeyDao creates and returns a new DAO object for table data access. +func NewGameCdKeyDao() *GameCdKeyDao { + return &GameCdKeyDao{ + group: "default", + table: "game_cd_key", + columns: gameCdKeyColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameCdKeyDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameCdKeyDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameCdKeyDao) Columns() GameCdKeyColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameCdKeyDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameCdKeyDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameCdKeyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_cd_password.go b/internal/service/internal/dao/internal/game_cd_password.go new file mode 100644 index 0000000..70c4c78 --- /dev/null +++ b/internal/service/internal/dao/internal/game_cd_password.go @@ -0,0 +1,78 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameCdPasswordDao is the data access object for table game_cd_password. +type GameCdPasswordDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameCdPasswordColumns // columns contains all the column names of Table for convenient usage. +} + +// GameCdPasswordColumns defines and stores column names for table game_cd_password. +type GameCdPasswordColumns struct { + Id string // + Account string // 用户名 + ConfigId string // 配置id + Server string // 区服 +} + +// gameCdPasswordColumns holds the columns for table game_cd_password. +var gameCdPasswordColumns = GameCdPasswordColumns{ + Id: "id", + Account: "account", + ConfigId: "config_id", + Server: "server", +} + +// NewGameCdPasswordDao creates and returns a new DAO object for table data access. +func NewGameCdPasswordDao() *GameCdPasswordDao { + return &GameCdPasswordDao{ + group: "default", + table: "game_cd_password", + columns: gameCdPasswordColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameCdPasswordDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameCdPasswordDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameCdPasswordDao) Columns() GameCdPasswordColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameCdPasswordDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameCdPasswordDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameCdPasswordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_channel_list.go b/internal/service/internal/dao/internal/game_channel_list.go new file mode 100644 index 0000000..414d40c --- /dev/null +++ b/internal/service/internal/dao/internal/game_channel_list.go @@ -0,0 +1,76 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameChannelListDao is the data access object for table game_channel_list. +type GameChannelListDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameChannelListColumns // columns contains all the column names of Table for convenient usage. +} + +// GameChannelListColumns defines and stores column names for table game_channel_list. +type GameChannelListColumns struct { + Id string // + Value string // 渠道号 + Label string // 渠道名称 +} + +// gameChannelListColumns holds the columns for table game_channel_list. +var gameChannelListColumns = GameChannelListColumns{ + Id: "id", + Value: "value", + Label: "label", +} + +// NewGameChannelListDao creates and returns a new DAO object for table data access. +func NewGameChannelListDao() *GameChannelListDao { + return &GameChannelListDao{ + group: "default", + table: "game_channel_list", + columns: gameChannelListColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameChannelListDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameChannelListDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameChannelListDao) Columns() GameChannelListColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameChannelListDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameChannelListDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameChannelListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_gift_exchange.go b/internal/service/internal/dao/internal/game_gift_exchange.go new file mode 100644 index 0000000..773e8a3 --- /dev/null +++ b/internal/service/internal/dao/internal/game_gift_exchange.go @@ -0,0 +1,94 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameGiftExchangeDao is the data access object for table game_gift_exchange. +type GameGiftExchangeDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameGiftExchangeColumns // columns contains all the column names of Table for convenient usage. +} + +// GameGiftExchangeColumns defines and stores column names for table game_gift_exchange. +type GameGiftExchangeColumns struct { + Id string // + StartTime string // + StopTime string // + Name string // + Channel string // + Password string // + Times string // + Type string // + Num string // + Filename string // + FileState string // + Rewards string // +} + +// gameGiftExchangeColumns holds the columns for table game_gift_exchange. +var gameGiftExchangeColumns = GameGiftExchangeColumns{ + Id: "id", + StartTime: "start_time", + StopTime: "stop_time", + Name: "name", + Channel: "channel", + Password: "password", + Times: "times", + Type: "type", + Num: "num", + Filename: "filename", + FileState: "file_state", + Rewards: "rewards", +} + +// NewGameGiftExchangeDao creates and returns a new DAO object for table data access. +func NewGameGiftExchangeDao() *GameGiftExchangeDao { + return &GameGiftExchangeDao{ + group: "default", + table: "game_gift_exchange", + columns: gameGiftExchangeColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameGiftExchangeDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameGiftExchangeDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameGiftExchangeDao) Columns() GameGiftExchangeColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameGiftExchangeDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameGiftExchangeDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameGiftExchangeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_login_url.go b/internal/service/internal/dao/internal/game_login_url.go new file mode 100644 index 0000000..082f030 --- /dev/null +++ b/internal/service/internal/dao/internal/game_login_url.go @@ -0,0 +1,112 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameLoginUrlDao is the data access object for table game_login_url. +type GameLoginUrlDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameLoginUrlColumns // columns contains all the column names of Table for convenient usage. +} + +// GameLoginUrlColumns defines and stores column names for table game_login_url. +type GameLoginUrlColumns struct { + Id string // 1000+为外网id + Host string // + Port string // + State string // 服务器状态,1-正常,2-维护,3-白名单ip优先加渠道,4-黑名单渠道优先 + Recommend string // 推荐,1-推荐,0-不推荐 + Name string // 名称 + Difficulty string // 难度,1-简单,2-困难 + RechargeHost string // + RechargePort string // + Area string // 区服 + IsShow string // 1-可见,0-不可见 + Channel string // 固定渠道 + CDate string // 创建时间-用于排序 + GameDbUrl string // 数据库地址 + GameDbName string // 数据库名称 + Platform string // 平台-充值 + InnerIp string // 内外地址 + CreateTime string // 开服时间-用于服务器时间 + Remark string // 备注名称 + IsNew string // + Sort string // 后台排序 +} + +// gameLoginUrlColumns holds the columns for table game_login_url. +var gameLoginUrlColumns = GameLoginUrlColumns{ + Id: "id", + Host: "host", + Port: "port", + State: "state", + Recommend: "recommend", + Name: "name", + Difficulty: "difficulty", + RechargeHost: "rechargeHost", + RechargePort: "rechargePort", + Area: "area", + IsShow: "isShow", + Channel: "channel", + CDate: "c_date", + GameDbUrl: "game_db_url", + GameDbName: "game_db_name", + Platform: "platform", + InnerIp: "inner_ip", + CreateTime: "create_time", + Remark: "remark", + IsNew: "is_new", + Sort: "sort", +} + +// NewGameLoginUrlDao creates and returns a new DAO object for table data access. +func NewGameLoginUrlDao() *GameLoginUrlDao { + return &GameLoginUrlDao{ + group: "default", + table: "game_login_url", + columns: gameLoginUrlColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameLoginUrlDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameLoginUrlDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameLoginUrlDao) Columns() GameLoginUrlColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameLoginUrlDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameLoginUrlDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameLoginUrlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_mail.go b/internal/service/internal/dao/internal/game_mail.go new file mode 100644 index 0000000..2e4d5d5 --- /dev/null +++ b/internal/service/internal/dao/internal/game_mail.go @@ -0,0 +1,98 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameMailDao is the data access object for table game_mail. +type GameMailDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameMailColumns // columns contains all the column names of Table for convenient usage. +} + +// GameMailColumns defines and stores column names for table game_mail. +type GameMailColumns struct { + Id string // + ServerId string // + CDate string // + Form string // + Type string // + Expired string // + Validday string // + Time string // + NewGet string // + Title string // + Content string // + Drop string // + OwnerId string // + Send string // +} + +// gameMailColumns holds the columns for table game_mail. +var gameMailColumns = GameMailColumns{ + Id: "id", + ServerId: "serverId", + CDate: "c_date", + Form: "form", + Type: "type", + Expired: "expired", + Validday: "validday", + Time: "time", + NewGet: "newGet", + Title: "title", + Content: "content", + Drop: "drop", + OwnerId: "ownerId", + Send: "send", +} + +// NewGameMailDao creates and returns a new DAO object for table data access. +func NewGameMailDao() *GameMailDao { + return &GameMailDao{ + group: "default", + table: "game_mail", + columns: gameMailColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameMailDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameMailDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameMailDao) Columns() GameMailColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameMailDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameMailDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameMailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_notice.go b/internal/service/internal/dao/internal/game_notice.go new file mode 100644 index 0000000..7dcb07e --- /dev/null +++ b/internal/service/internal/dao/internal/game_notice.go @@ -0,0 +1,82 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameNoticeDao is the data access object for table game_notice. +type GameNoticeDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameNoticeColumns // columns contains all the column names of Table for convenient usage. +} + +// GameNoticeColumns defines and stores column names for table game_notice. +type GameNoticeColumns struct { + Id string // 索引ID + NoticeType string // 公告类型:1表示弹窗公告,2表示登录公告,3表示维护公告 + Channel string // 渠道号:第三方的登录渠道 + Content string // + Status string // 1.正常,2.白名单,3.维护 + CDate string // 公告创建时间 +} + +// gameNoticeColumns holds the columns for table game_notice. +var gameNoticeColumns = GameNoticeColumns{ + Id: "id", + NoticeType: "notice_type", + Channel: "channel", + Content: "content", + Status: "status", + CDate: "c_date", +} + +// NewGameNoticeDao creates and returns a new DAO object for table data access. +func NewGameNoticeDao() *GameNoticeDao { + return &GameNoticeDao{ + group: "default", + table: "game_notice", + columns: gameNoticeColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameNoticeDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameNoticeDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameNoticeDao) Columns() GameNoticeColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameNoticeDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameNoticeDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameNoticeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_notice_log.go b/internal/service/internal/dao/internal/game_notice_log.go new file mode 100644 index 0000000..9d6ac80 --- /dev/null +++ b/internal/service/internal/dao/internal/game_notice_log.go @@ -0,0 +1,92 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameNoticeLogDao is the data access object for table game_notice_log. +type GameNoticeLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameNoticeLogColumns // columns contains all the column names of Table for convenient usage. +} + +// GameNoticeLogColumns defines and stores column names for table game_notice_log. +type GameNoticeLogColumns struct { + Id string // 索引ID + NoticeId string // notice表id + NoticeType string // 公告类型:1表示弹窗公告,2表示登录公告,3表示维护公告 + Channel string // 渠道号:第三方的登录渠道 + Content string // + Status string // 1.正常,2.白名单,3.维护 + SendTime string // 延时发送 + CDate string // 公告创建时间 + ServerId string // + Uids string // + PopType string // 1.强制退出,2.普通弹窗 +} + +// gameNoticeLogColumns holds the columns for table game_notice_log. +var gameNoticeLogColumns = GameNoticeLogColumns{ + Id: "id", + NoticeId: "notice_id", + NoticeType: "notice_type", + Channel: "channel", + Content: "content", + Status: "status", + SendTime: "send_time", + CDate: "c_date", + ServerId: "server_id", + Uids: "uids", + PopType: "pop_type", +} + +// NewGameNoticeLogDao creates and returns a new DAO object for table data access. +func NewGameNoticeLogDao() *GameNoticeLogDao { + return &GameNoticeLogDao{ + group: "default", + table: "game_notice_log", + columns: gameNoticeLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameNoticeLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameNoticeLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameNoticeLogDao) Columns() GameNoticeLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameNoticeLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameNoticeLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameNoticeLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_notice_model.go b/internal/service/internal/dao/internal/game_notice_model.go new file mode 100644 index 0000000..37f5eb2 --- /dev/null +++ b/internal/service/internal/dao/internal/game_notice_model.go @@ -0,0 +1,80 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameNoticeModelDao is the data access object for table game_notice_model. +type GameNoticeModelDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameNoticeModelColumns // columns contains all the column names of Table for convenient usage. +} + +// GameNoticeModelColumns defines and stores column names for table game_notice_model. +type GameNoticeModelColumns struct { + Id string // + Title string // + Content string // + NoticeType string // 1-弹窗公告,2-登录公告,3-维护公告; + ModelType string // 1-公告头,2-维护补偿 +} + +// gameNoticeModelColumns holds the columns for table game_notice_model. +var gameNoticeModelColumns = GameNoticeModelColumns{ + Id: "id", + Title: "title", + Content: "content", + NoticeType: "notice_type", + ModelType: "model_type", +} + +// NewGameNoticeModelDao creates and returns a new DAO object for table data access. +func NewGameNoticeModelDao() *GameNoticeModelDao { + return &GameNoticeModelDao{ + group: "default", + table: "game_notice_model", + columns: gameNoticeModelColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameNoticeModelDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameNoticeModelDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameNoticeModelDao) Columns() GameNoticeModelColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameNoticeModelDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameNoticeModelDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameNoticeModelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_online.go b/internal/service/internal/dao/internal/game_online.go new file mode 100644 index 0000000..abb48e2 --- /dev/null +++ b/internal/service/internal/dao/internal/game_online.go @@ -0,0 +1,80 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameOnlineDao is the data access object for table game_online. +type GameOnlineDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameOnlineColumns // columns contains all the column names of Table for convenient usage. +} + +// GameOnlineColumns defines and stores column names for table game_online. +type GameOnlineColumns struct { + Id string // + Channel string // 渠道 + Server string // 区服 + Num string // 在线数量 + Date string // +} + +// gameOnlineColumns holds the columns for table game_online. +var gameOnlineColumns = GameOnlineColumns{ + Id: "id", + Channel: "channel", + Server: "server", + Num: "num", + Date: "date", +} + +// NewGameOnlineDao creates and returns a new DAO object for table data access. +func NewGameOnlineDao() *GameOnlineDao { + return &GameOnlineDao{ + group: "default", + table: "game_online", + columns: gameOnlineColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameOnlineDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameOnlineDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameOnlineDao) Columns() GameOnlineColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameOnlineDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameOnlineDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameOnlineDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_recharge.go b/internal/service/internal/dao/internal/game_recharge.go new file mode 100644 index 0000000..082f05d --- /dev/null +++ b/internal/service/internal/dao/internal/game_recharge.go @@ -0,0 +1,106 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameRechargeDao is the data access object for table game_recharge. +type GameRechargeDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameRechargeColumns // columns contains all the column names of Table for convenient usage. +} + +// GameRechargeColumns defines and stores column names for table game_recharge. +type GameRechargeColumns struct { + Id string // + UnitId string // 账号 + Channel string // 渠道 + Server string // 区服 + Amount string // 充值金额 + CreateTime string // 记录创建时间 + ExternalCreateTime string // 订单创建时间 + PayTime string // 订单支付时间 + Status string // 订单状态:1-成功,2-失败,3-创建, + Config string // 配置Id + TradeNo string // 游戏方订单号 + ExternalTradeNo string // 第三方订单号 + TradeStatus string // 第三方订单状态 + BuyerId string // + Platform string // 充值平台 + Remark string // 手动修改成功理由 + Receipt string // + Account string // +} + +// gameRechargeColumns holds the columns for table game_recharge. +var gameRechargeColumns = GameRechargeColumns{ + Id: "id", + UnitId: "unitId", + Channel: "channel", + Server: "server", + Amount: "amount", + CreateTime: "createTime", + ExternalCreateTime: "externalCreateTime", + PayTime: "payTime", + Status: "status", + Config: "config", + TradeNo: "tradeNo", + ExternalTradeNo: "externalTradeNo", + TradeStatus: "tradeStatus", + BuyerId: "buyerId", + Platform: "platform", + Remark: "remark", + Receipt: "receipt", + Account: "account", +} + +// NewGameRechargeDao creates and returns a new DAO object for table data access. +func NewGameRechargeDao() *GameRechargeDao { + return &GameRechargeDao{ + group: "default", + table: "game_recharge", + columns: gameRechargeColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameRechargeDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameRechargeDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameRechargeDao) Columns() GameRechargeColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameRechargeDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameRechargeDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameRechargeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_recharge_control.go b/internal/service/internal/dao/internal/game_recharge_control.go new file mode 100644 index 0000000..43bf579 --- /dev/null +++ b/internal/service/internal/dao/internal/game_recharge_control.go @@ -0,0 +1,74 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameRechargeControlDao is the data access object for table game_recharge_control. +type GameRechargeControlDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameRechargeControlColumns // columns contains all the column names of Table for convenient usage. +} + +// GameRechargeControlColumns defines and stores column names for table game_recharge_control. +type GameRechargeControlColumns struct { + Id string // + Channel string // +} + +// gameRechargeControlColumns holds the columns for table game_recharge_control. +var gameRechargeControlColumns = GameRechargeControlColumns{ + Id: "id", + Channel: "channel", +} + +// NewGameRechargeControlDao creates and returns a new DAO object for table data access. +func NewGameRechargeControlDao() *GameRechargeControlDao { + return &GameRechargeControlDao{ + group: "default", + table: "game_recharge_control", + columns: gameRechargeControlColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameRechargeControlDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameRechargeControlDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameRechargeControlDao) Columns() GameRechargeControlColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameRechargeControlDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameRechargeControlDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameRechargeControlDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_recharge_copy_1.go b/internal/service/internal/dao/internal/game_recharge_copy_1.go new file mode 100644 index 0000000..7fe4bca --- /dev/null +++ b/internal/service/internal/dao/internal/game_recharge_copy_1.go @@ -0,0 +1,102 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameRechargeCopy1Dao is the data access object for table game_recharge_copy1. +type GameRechargeCopy1Dao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameRechargeCopy1Columns // columns contains all the column names of Table for convenient usage. +} + +// GameRechargeCopy1Columns defines and stores column names for table game_recharge_copy1. +type GameRechargeCopy1Columns struct { + Id string // + UnitId string // 账号 + Channel string // 渠道 + Server string // 区服 + Amount string // 充值金额 + CreateTime string // 记录创建时间 + ExternalCreateTime string // 订单创建时间 + PayTime string // 订单支付时间 + Status string // 订单状态:1-创建, 2-成功, 3-失效, 100-失败, + Config string // 配置Id + TradeNo string // 游戏方订单号 + ExternalTradeNo string // 第三方订单号 + TradeStatus string // 第三方订单状态 + BuyerId string // + Platform string // 充值平台 + Remark string // 手动修改成功理由 +} + +// gameRechargeCopy1Columns holds the columns for table game_recharge_copy1. +var gameRechargeCopy1Columns = GameRechargeCopy1Columns{ + Id: "id", + UnitId: "unitId", + Channel: "channel", + Server: "server", + Amount: "amount", + CreateTime: "createTime", + ExternalCreateTime: "externalCreateTime", + PayTime: "payTime", + Status: "status", + Config: "config", + TradeNo: "tradeNo", + ExternalTradeNo: "externalTradeNo", + TradeStatus: "tradeStatus", + BuyerId: "buyerId", + Platform: "platform", + Remark: "remark", +} + +// NewGameRechargeCopy1Dao creates and returns a new DAO object for table data access. +func NewGameRechargeCopy1Dao() *GameRechargeCopy1Dao { + return &GameRechargeCopy1Dao{ + group: "default", + table: "game_recharge_copy1", + columns: gameRechargeCopy1Columns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameRechargeCopy1Dao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameRechargeCopy1Dao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameRechargeCopy1Dao) Columns() GameRechargeCopy1Columns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameRechargeCopy1Dao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameRechargeCopy1Dao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameRechargeCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_recharge_log.go b/internal/service/internal/dao/internal/game_recharge_log.go new file mode 100644 index 0000000..c752575 --- /dev/null +++ b/internal/service/internal/dao/internal/game_recharge_log.go @@ -0,0 +1,90 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameRechargeLogDao is the data access object for table game_recharge_log. +type GameRechargeLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameRechargeLogColumns // columns contains all the column names of Table for convenient usage. +} + +// GameRechargeLogColumns defines and stores column names for table game_recharge_log. +type GameRechargeLogColumns struct { + Id string // + UnitId string // 账号 + Channel string // 渠道 + Server string // 区服 + Amount string // 充值金额 + Config string // 配置Id + CreateTime string // 记录创建时间 + TradeNo string // 游戏方订单号 + Remark string // 手动修改成功理由 + User string // 操作员 +} + +// gameRechargeLogColumns holds the columns for table game_recharge_log. +var gameRechargeLogColumns = GameRechargeLogColumns{ + Id: "id", + UnitId: "unitId", + Channel: "channel", + Server: "server", + Amount: "amount", + Config: "config", + CreateTime: "createTime", + TradeNo: "tradeNo", + Remark: "remark", + User: "user", +} + +// NewGameRechargeLogDao creates and returns a new DAO object for table data access. +func NewGameRechargeLogDao() *GameRechargeLogDao { + return &GameRechargeLogDao{ + group: "default", + table: "game_recharge_log", + columns: gameRechargeLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameRechargeLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameRechargeLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameRechargeLogDao) Columns() GameRechargeLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameRechargeLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameRechargeLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameRechargeLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_recharge_rebate.go b/internal/service/internal/dao/internal/game_recharge_rebate.go new file mode 100644 index 0000000..f6eecd6 --- /dev/null +++ b/internal/service/internal/dao/internal/game_recharge_rebate.go @@ -0,0 +1,76 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameRechargeRebateDao is the data access object for table game_recharge_rebate. +type GameRechargeRebateDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameRechargeRebateColumns // columns contains all the column names of Table for convenient usage. +} + +// GameRechargeRebateColumns defines and stores column names for table game_recharge_rebate. +type GameRechargeRebateColumns struct { + Id string // + Account string // + Channel string // +} + +// gameRechargeRebateColumns holds the columns for table game_recharge_rebate. +var gameRechargeRebateColumns = GameRechargeRebateColumns{ + Id: "_id", + Account: "account", + Channel: "channel", +} + +// NewGameRechargeRebateDao creates and returns a new DAO object for table data access. +func NewGameRechargeRebateDao() *GameRechargeRebateDao { + return &GameRechargeRebateDao{ + group: "default", + table: "game_recharge_rebate", + columns: gameRechargeRebateColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameRechargeRebateDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameRechargeRebateDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameRechargeRebateDao) Columns() GameRechargeRebateColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameRechargeRebateDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameRechargeRebateDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameRechargeRebateDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_register.go b/internal/service/internal/dao/internal/game_register.go new file mode 100644 index 0000000..bd88c01 --- /dev/null +++ b/internal/service/internal/dao/internal/game_register.go @@ -0,0 +1,84 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameRegisterDao is the data access object for table game_register. +type GameRegisterDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameRegisterColumns // columns contains all the column names of Table for convenient usage. +} + +// GameRegisterColumns defines and stores column names for table game_register. +type GameRegisterColumns struct { + Id string // + Account string // + Channel string // 渠道:0-无, + CreateTime string // 账号创建时间 + CreateType string // 创建:1-账密,2-qq,3-微信,4-gm, + Platform string // 类型:1-android,2-ios,3-gm, + Server string // +} + +// gameRegisterColumns holds the columns for table game_register. +var gameRegisterColumns = GameRegisterColumns{ + Id: "id", + Account: "account", + Channel: "channel", + CreateTime: "create_time", + CreateType: "create_type", + Platform: "platform", + Server: "server", +} + +// NewGameRegisterDao creates and returns a new DAO object for table data access. +func NewGameRegisterDao() *GameRegisterDao { + return &GameRegisterDao{ + group: "default", + table: "game_register", + columns: gameRegisterColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameRegisterDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameRegisterDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameRegisterDao) Columns() GameRegisterColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameRegisterDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameRegisterDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameRegisterDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_router.go b/internal/service/internal/dao/internal/game_router.go new file mode 100644 index 0000000..dcbe05e --- /dev/null +++ b/internal/service/internal/dao/internal/game_router.go @@ -0,0 +1,88 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameRouterDao is the data access object for table game_router. +type GameRouterDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameRouterColumns // columns contains all the column names of Table for convenient usage. +} + +// GameRouterColumns defines and stores column names for table game_router. +type GameRouterColumns struct { + Id string // + RealmIp string // + RealmPort string // + RealmStep string // + RealmNum string // + RouterIp string // + RouterPort string // + RouterNum string // + RouterStep string // +} + +// gameRouterColumns holds the columns for table game_router. +var gameRouterColumns = GameRouterColumns{ + Id: "id", + RealmIp: "realm_ip", + RealmPort: "realm_port", + RealmStep: "realm_step", + RealmNum: "realm_num", + RouterIp: "router_ip", + RouterPort: "router_port", + RouterNum: "router_num", + RouterStep: "router_step", +} + +// NewGameRouterDao creates and returns a new DAO object for table data access. +func NewGameRouterDao() *GameRouterDao { + return &GameRouterDao{ + group: "default", + table: "game_router", + columns: gameRouterColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameRouterDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameRouterDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameRouterDao) Columns() GameRouterColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameRouterDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameRouterDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameRouterDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_server_json_general.go b/internal/service/internal/dao/internal/game_server_json_general.go new file mode 100644 index 0000000..8df0ace --- /dev/null +++ b/internal/service/internal/dao/internal/game_server_json_general.go @@ -0,0 +1,84 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameServerJsonGeneralDao is the data access object for table game_server_json_general. +type GameServerJsonGeneralDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameServerJsonGeneralColumns // columns contains all the column names of Table for convenient usage. +} + +// GameServerJsonGeneralColumns defines and stores column names for table game_server_json_general. +type GameServerJsonGeneralColumns struct { + Id string // + SdkAddress string // + UniqueAddress string // + IdentityCheckAddress string // + RechargeWhiteListIps string // + GmWhiteListUrl string // + BackstageRechargeUrl string // +} + +// gameServerJsonGeneralColumns holds the columns for table game_server_json_general. +var gameServerJsonGeneralColumns = GameServerJsonGeneralColumns{ + Id: "id", + SdkAddress: "sdk_address", + UniqueAddress: "unique_address", + IdentityCheckAddress: "identity_check_address", + RechargeWhiteListIps: "recharge_white_list_ips", + GmWhiteListUrl: "gm_white_list_url", + BackstageRechargeUrl: "backstage_recharge_url", +} + +// NewGameServerJsonGeneralDao creates and returns a new DAO object for table data access. +func NewGameServerJsonGeneralDao() *GameServerJsonGeneralDao { + return &GameServerJsonGeneralDao{ + group: "default", + table: "game_server_json_general", + columns: gameServerJsonGeneralColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameServerJsonGeneralDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameServerJsonGeneralDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameServerJsonGeneralDao) Columns() GameServerJsonGeneralColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameServerJsonGeneralDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameServerJsonGeneralDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameServerJsonGeneralDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_shop_log.go b/internal/service/internal/dao/internal/game_shop_log.go new file mode 100644 index 0000000..75c17b4 --- /dev/null +++ b/internal/service/internal/dao/internal/game_shop_log.go @@ -0,0 +1,84 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameShopLogDao is the data access object for table game_shop_log. +type GameShopLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameShopLogColumns // columns contains all the column names of Table for convenient usage. +} + +// GameShopLogColumns defines and stores column names for table game_shop_log. +type GameShopLogColumns struct { + Id string // + Uid string // + ItemId string // + Num string // + Price string // 价格 + CDate string // + ServerId string // +} + +// gameShopLogColumns holds the columns for table game_shop_log. +var gameShopLogColumns = GameShopLogColumns{ + Id: "id", + Uid: "uid", + ItemId: "itemId", + Num: "num", + Price: "price", + CDate: "c_date", + ServerId: "serverId", +} + +// NewGameShopLogDao creates and returns a new DAO object for table data access. +func NewGameShopLogDao() *GameShopLogDao { + return &GameShopLogDao{ + group: "default", + table: "game_shop_log", + columns: gameShopLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameShopLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameShopLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameShopLogDao) Columns() GameShopLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameShopLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameShopLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameShopLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_unit.go b/internal/service/internal/dao/internal/game_unit.go new file mode 100644 index 0000000..3cb6729 --- /dev/null +++ b/internal/service/internal/dao/internal/game_unit.go @@ -0,0 +1,102 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameUnitDao is the data access object for table game_unit. +type GameUnitDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameUnitColumns // columns contains all the column names of Table for convenient usage. +} + +// GameUnitColumns defines and stores column names for table game_unit. +type GameUnitColumns struct { + Id string // + Account string // 账号 + Channel string // 渠道 + Uid string // 账号Id + Server string // 区服 + Scale string // 规模 + Name string // 桃谷名称 + LogTime string // + CreateTime string // 账号创建时间 + VillagerNum string // 村民数量 + Prosperity string // 繁荣值 + GoldIngot string // 桃花石 + BaseFood string // 基础食物 + Day string // 游戏天数 + Recharge string // 充值 + OAID string // +} + +// gameUnitColumns holds the columns for table game_unit. +var gameUnitColumns = GameUnitColumns{ + Id: "id", + Account: "account", + Channel: "channel", + Uid: "uid", + Server: "server", + Scale: "scale", + Name: "name", + LogTime: "logTime", + CreateTime: "create_time", + VillagerNum: "villager_num", + Prosperity: "prosperity", + GoldIngot: "goldIngot", + BaseFood: "base_food", + Day: "day", + Recharge: "recharge", + OAID: "OAID", +} + +// NewGameUnitDao creates and returns a new DAO object for table data access. +func NewGameUnitDao() *GameUnitDao { + return &GameUnitDao{ + group: "default", + table: "game_unit", + columns: gameUnitColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameUnitDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameUnitDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameUnitDao) Columns() GameUnitColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameUnitDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameUnitDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameUnitDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_unit_copy_1.go b/internal/service/internal/dao/internal/game_unit_copy_1.go new file mode 100644 index 0000000..68b5836 --- /dev/null +++ b/internal/service/internal/dao/internal/game_unit_copy_1.go @@ -0,0 +1,100 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameUnitCopy1Dao is the data access object for table game_unit_copy1. +type GameUnitCopy1Dao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameUnitCopy1Columns // columns contains all the column names of Table for convenient usage. +} + +// GameUnitCopy1Columns defines and stores column names for table game_unit_copy1. +type GameUnitCopy1Columns struct { + Id string // + Account string // + Channel string // + Uid string // + Server string // + Scale string // + Name string // + LogTime string // + CreateTime string // 账号创建时间 + VillagerNum string // 村民数量 + Prosperity string // 繁荣值 + GoldIngot string // 桃花石 + BaseFood string // 基础食物 + Day string // 游戏天数 + Recharge string // 充值 +} + +// gameUnitCopy1Columns holds the columns for table game_unit_copy1. +var gameUnitCopy1Columns = GameUnitCopy1Columns{ + Id: "id", + Account: "account", + Channel: "channel", + Uid: "uid", + Server: "server", + Scale: "scale", + Name: "name", + LogTime: "logTime", + CreateTime: "create_time", + VillagerNum: "villager_num", + Prosperity: "prosperity", + GoldIngot: "goldIngot", + BaseFood: "base_food", + Day: "day", + Recharge: "recharge", +} + +// NewGameUnitCopy1Dao creates and returns a new DAO object for table data access. +func NewGameUnitCopy1Dao() *GameUnitCopy1Dao { + return &GameUnitCopy1Dao{ + group: "default", + table: "game_unit_copy1", + columns: gameUnitCopy1Columns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameUnitCopy1Dao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameUnitCopy1Dao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameUnitCopy1Dao) Columns() GameUnitCopy1Columns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameUnitCopy1Dao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameUnitCopy1Dao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameUnitCopy1Dao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_version.go b/internal/service/internal/dao/internal/game_version.go new file mode 100644 index 0000000..d07b2d2 --- /dev/null +++ b/internal/service/internal/dao/internal/game_version.go @@ -0,0 +1,76 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameVersionDao is the data access object for table game_version. +type GameVersionDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameVersionColumns // columns contains all the column names of Table for convenient usage. +} + +// GameVersionColumns defines and stores column names for table game_version. +type GameVersionColumns struct { + Id string // + Channel string // + Version string // +} + +// gameVersionColumns holds the columns for table game_version. +var gameVersionColumns = GameVersionColumns{ + Id: "id", + Channel: "channel", + Version: "version", +} + +// NewGameVersionDao creates and returns a new DAO object for table data access. +func NewGameVersionDao() *GameVersionDao { + return &GameVersionDao{ + group: "default", + table: "game_version", + columns: gameVersionColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameVersionDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameVersionDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameVersionDao) Columns() GameVersionColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameVersionDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameVersionDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameVersionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/game_white_list.go b/internal/service/internal/dao/internal/game_white_list.go new file mode 100644 index 0000000..429ccbb --- /dev/null +++ b/internal/service/internal/dao/internal/game_white_list.go @@ -0,0 +1,74 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GameWhiteListDao is the data access object for table game_white_list. +type GameWhiteListDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GameWhiteListColumns // columns contains all the column names of Table for convenient usage. +} + +// GameWhiteListColumns defines and stores column names for table game_white_list. +type GameWhiteListColumns struct { + Id string // + Ip string // +} + +// gameWhiteListColumns holds the columns for table game_white_list. +var gameWhiteListColumns = GameWhiteListColumns{ + Id: "id", + Ip: "ip", +} + +// NewGameWhiteListDao creates and returns a new DAO object for table data access. +func NewGameWhiteListDao() *GameWhiteListDao { + return &GameWhiteListDao{ + group: "default", + table: "game_white_list", + columns: gameWhiteListColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GameWhiteListDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GameWhiteListDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GameWhiteListDao) Columns() GameWhiteListColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GameWhiteListDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GameWhiteListDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GameWhiteListDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/gm_operate_log.go b/internal/service/internal/dao/internal/gm_operate_log.go new file mode 100644 index 0000000..caeedbc --- /dev/null +++ b/internal/service/internal/dao/internal/gm_operate_log.go @@ -0,0 +1,92 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// GmOperateLogDao is the data access object for table gm_operate_log. +type GmOperateLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns GmOperateLogColumns // columns contains all the column names of Table for convenient usage. +} + +// GmOperateLogColumns defines and stores column names for table gm_operate_log. +type GmOperateLogColumns struct { + Id string // ID + OperateType string // 操作类型,1修改名称,2发送邮件 + CreateName string // GM用户名 + MailId string // 邮件id + ChannelId string // 区服ID + Uid string // 角色ID + Remark string // 备注 + CreatedBy string // 创建人 + CreatedAt string // 创建时间 + UpdatedAt string // 修改时间 + DeletedAt string // 删除时间 +} + +// gmOperateLogColumns holds the columns for table gm_operate_log. +var gmOperateLogColumns = GmOperateLogColumns{ + Id: "id", + OperateType: "operate_type", + CreateName: "create_name", + MailId: "mail_id", + ChannelId: "channel_id", + Uid: "uid", + Remark: "remark", + CreatedBy: "created_by", + CreatedAt: "created_at", + UpdatedAt: "updated_at", + DeletedAt: "deleted_at", +} + +// NewGmOperateLogDao creates and returns a new DAO object for table data access. +func NewGmOperateLogDao() *GmOperateLogDao { + return &GmOperateLogDao{ + group: "default", + table: "gm_operate_log", + columns: gmOperateLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *GmOperateLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *GmOperateLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *GmOperateLogDao) Columns() GmOperateLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *GmOperateLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *GmOperateLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *GmOperateLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/item_income_expense_records.go b/internal/service/internal/dao/internal/item_income_expense_records.go new file mode 100644 index 0000000..4b53b28 --- /dev/null +++ b/internal/service/internal/dao/internal/item_income_expense_records.go @@ -0,0 +1,88 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// ItemIncomeExpenseRecordsDao is the data access object for table item_income_expense_records. +type ItemIncomeExpenseRecordsDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns ItemIncomeExpenseRecordsColumns // columns contains all the column names of Table for convenient usage. +} + +// ItemIncomeExpenseRecordsColumns defines and stores column names for table item_income_expense_records. +type ItemIncomeExpenseRecordsColumns struct { + Id string // 唯一 + Uid string // 账号 + ItemId string // 物品Id + Num string // 数量 + Way string // 消耗途径 + State string // 1:消耗,2:增加 + AddTime string // 添加时间 + CTime string // 创建记录时间 + Server string // 区服 +} + +// itemIncomeExpenseRecordsColumns holds the columns for table item_income_expense_records. +var itemIncomeExpenseRecordsColumns = ItemIncomeExpenseRecordsColumns{ + Id: "id", + Uid: "uid", + ItemId: "item_id", + Num: "num", + Way: "way", + State: "state", + AddTime: "add_time", + CTime: "c_time", + Server: "server", +} + +// NewItemIncomeExpenseRecordsDao creates and returns a new DAO object for table data access. +func NewItemIncomeExpenseRecordsDao() *ItemIncomeExpenseRecordsDao { + return &ItemIncomeExpenseRecordsDao{ + group: "default", + table: "item_income_expense_records", + columns: itemIncomeExpenseRecordsColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *ItemIncomeExpenseRecordsDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *ItemIncomeExpenseRecordsDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *ItemIncomeExpenseRecordsDao) Columns() ItemIncomeExpenseRecordsColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *ItemIncomeExpenseRecordsDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *ItemIncomeExpenseRecordsDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *ItemIncomeExpenseRecordsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/login_logout_info.go b/internal/service/internal/dao/internal/login_logout_info.go new file mode 100644 index 0000000..80c8fbf --- /dev/null +++ b/internal/service/internal/dao/internal/login_logout_info.go @@ -0,0 +1,104 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// LoginLogoutInfoDao is the data access object for table login_logout_info. +type LoginLogoutInfoDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns LoginLogoutInfoColumns // columns contains all the column names of Table for convenient usage. +} + +// LoginLogoutInfoColumns defines and stores column names for table login_logout_info. +type LoginLogoutInfoColumns struct { + Id string // + Uid string // + State string // 1: 登录,2: 登出 + CDate string // + GameTime string // 游戏时间 + Scale string // 规模 + VillagerNum string // 村民数量 + Prosperity string // 繁荣值 + Copper string // 铜币 + GoldIngot string // 桃花石 + BaseFood string // 基础食物 + Day string // 游戏天数 + Server string // 区服 + VouchersNum string // + RechargeTotal string // + StoreSum string // + StoneAmount string // +} + +// loginLogoutInfoColumns holds the columns for table login_logout_info. +var loginLogoutInfoColumns = LoginLogoutInfoColumns{ + Id: "id", + Uid: "uid", + State: "state", + CDate: "c_date", + GameTime: "game_time", + Scale: "scale", + VillagerNum: "villager_num", + Prosperity: "prosperity", + Copper: "copper", + GoldIngot: "goldIngot", + BaseFood: "base_food", + Day: "day", + Server: "server", + VouchersNum: "vouchersNum", + RechargeTotal: "rechargeTotal", + StoreSum: "storeSum", + StoneAmount: "stoneAmount", +} + +// NewLoginLogoutInfoDao creates and returns a new DAO object for table data access. +func NewLoginLogoutInfoDao() *LoginLogoutInfoDao { + return &LoginLogoutInfoDao{ + group: "default", + table: "login_logout_info", + columns: loginLogoutInfoColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *LoginLogoutInfoDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *LoginLogoutInfoDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *LoginLogoutInfoDao) Columns() LoginLogoutInfoColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *LoginLogoutInfoDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *LoginLogoutInfoDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *LoginLogoutInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/login_out_log.go b/internal/service/internal/dao/internal/login_out_log.go new file mode 100644 index 0000000..2e53b22 --- /dev/null +++ b/internal/service/internal/dao/internal/login_out_log.go @@ -0,0 +1,80 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// LoginOutLogDao is the data access object for table login_out_log. +type LoginOutLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns LoginOutLogColumns // columns contains all the column names of Table for convenient usage. +} + +// LoginOutLogColumns defines and stores column names for table login_out_log. +type LoginOutLogColumns struct { + Id string // + Uid string // + CDate string // + EDate string // + Server string // +} + +// loginOutLogColumns holds the columns for table login_out_log. +var loginOutLogColumns = LoginOutLogColumns{ + Id: "id", + Uid: "uid", + CDate: "c_date", + EDate: "e_date", + Server: "server", +} + +// NewLoginOutLogDao creates and returns a new DAO object for table data access. +func NewLoginOutLogDao() *LoginOutLogDao { + return &LoginOutLogDao{ + group: "default", + table: "login_out_log", + columns: loginOutLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *LoginOutLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *LoginOutLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *LoginOutLogDao) Columns() LoginOutLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *LoginOutLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *LoginOutLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *LoginOutLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_auth_rule.go b/internal/service/internal/dao/internal/sys_auth_rule.go new file mode 100644 index 0000000..2f8f941 --- /dev/null +++ b/internal/service/internal/dao/internal/sys_auth_rule.go @@ -0,0 +1,114 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysAuthRuleDao is the data access object for table sys_auth_rule. +type SysAuthRuleDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysAuthRuleColumns // columns contains all the column names of Table for convenient usage. +} + +// SysAuthRuleColumns defines and stores column names for table sys_auth_rule. +type SysAuthRuleColumns struct { + Id string // + Pid string // 父ID + Name string // 规则名称 + Title string // 规则名称 + Icon string // 图标 + Condition string // 条件 + Remark string // 备注 + MenuType string // 类型 0目录 1菜单 2按钮 + Weigh string // 权重 + IsHide string // 显示状态 + Path string // 路由地址 + Component string // 组件路径 + IsLink string // 是否外链 1是 0否 + ModuleType string // 所属模块 + ModelId string // 模型ID + IsIframe string // 是否内嵌iframe + IsCached string // 是否缓存 + Redirect string // 路由重定向地址 + IsAffix string // 是否固定 + LinkUrl string // 链接地址 + CreatedAt string // 创建日期 + UpdatedAt string // 修改日期 +} + +// sysAuthRuleColumns holds the columns for table sys_auth_rule. +var sysAuthRuleColumns = SysAuthRuleColumns{ + Id: "id", + Pid: "pid", + Name: "name", + Title: "title", + Icon: "icon", + Condition: "condition", + Remark: "remark", + MenuType: "menu_type", + Weigh: "weigh", + IsHide: "is_hide", + Path: "path", + Component: "component", + IsLink: "is_link", + ModuleType: "module_type", + ModelId: "model_id", + IsIframe: "is_iframe", + IsCached: "is_cached", + Redirect: "redirect", + IsAffix: "is_affix", + LinkUrl: "link_url", + CreatedAt: "created_at", + UpdatedAt: "updated_at", +} + +// NewSysAuthRuleDao creates and returns a new DAO object for table data access. +func NewSysAuthRuleDao() *SysAuthRuleDao { + return &SysAuthRuleDao{ + group: "default", + table: "sys_auth_rule", + columns: sysAuthRuleColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysAuthRuleDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysAuthRuleDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysAuthRuleDao) Columns() SysAuthRuleColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysAuthRuleDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysAuthRuleDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysAuthRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_config.go b/internal/service/internal/dao/internal/sys_config.go new file mode 100644 index 0000000..b58a20f --- /dev/null +++ b/internal/service/internal/dao/internal/sys_config.go @@ -0,0 +1,90 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysConfigDao is the data access object for table sys_config. +type SysConfigDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysConfigColumns // columns contains all the column names of Table for convenient usage. +} + +// SysConfigColumns defines and stores column names for table sys_config. +type SysConfigColumns struct { + ConfigId string // 参数主键 + ConfigName string // 参数名称 + ConfigKey string // 参数键名 + ConfigValue string // 参数键值 + ConfigType string // 系统内置(Y是 N否) + CreateBy string // 创建者 + UpdateBy string // 更新者 + Remark string // 备注 + CreatedAt string // 创建时间 + UpdatedAt string // 修改时间 +} + +// sysConfigColumns holds the columns for table sys_config. +var sysConfigColumns = SysConfigColumns{ + ConfigId: "config_id", + ConfigName: "config_name", + ConfigKey: "config_key", + ConfigValue: "config_value", + ConfigType: "config_type", + CreateBy: "create_by", + UpdateBy: "update_by", + Remark: "remark", + CreatedAt: "created_at", + UpdatedAt: "updated_at", +} + +// NewSysConfigDao creates and returns a new DAO object for table data access. +func NewSysConfigDao() *SysConfigDao { + return &SysConfigDao{ + group: "default", + table: "sys_config", + columns: sysConfigColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysConfigDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysConfigDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysConfigDao) Columns() SysConfigColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysConfigDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysConfigDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysConfigDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_dept.go b/internal/service/internal/dao/internal/sys_dept.go new file mode 100644 index 0000000..ac369ab --- /dev/null +++ b/internal/service/internal/dao/internal/sys_dept.go @@ -0,0 +1,98 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysDeptDao is the data access object for table sys_dept. +type SysDeptDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysDeptColumns // columns contains all the column names of Table for convenient usage. +} + +// SysDeptColumns defines and stores column names for table sys_dept. +type SysDeptColumns struct { + DeptId string // 部门id + ParentId string // 父部门id + Ancestors string // 祖级列表 + DeptName string // 部门名称 + OrderNum string // 显示顺序 + Leader string // 负责人 + Phone string // 联系电话 + Email string // 邮箱 + Status string // 部门状态(0正常 1停用) + CreatedBy string // 创建人 + UpdatedBy string // 修改人 + CreatedAt string // 创建时间 + UpdatedAt string // 修改时间 + DeletedAt string // 删除时间 +} + +// sysDeptColumns holds the columns for table sys_dept. +var sysDeptColumns = SysDeptColumns{ + DeptId: "dept_id", + ParentId: "parent_id", + Ancestors: "ancestors", + DeptName: "dept_name", + OrderNum: "order_num", + Leader: "leader", + Phone: "phone", + Email: "email", + Status: "status", + CreatedBy: "created_by", + UpdatedBy: "updated_by", + CreatedAt: "created_at", + UpdatedAt: "updated_at", + DeletedAt: "deleted_at", +} + +// NewSysDeptDao creates and returns a new DAO object for table data access. +func NewSysDeptDao() *SysDeptDao { + return &SysDeptDao{ + group: "default", + table: "sys_dept", + columns: sysDeptColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysDeptDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysDeptDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysDeptDao) Columns() SysDeptColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysDeptDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysDeptDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysDeptDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_dict_data.go b/internal/service/internal/dao/internal/sys_dict_data.go new file mode 100644 index 0000000..bfb110c --- /dev/null +++ b/internal/service/internal/dao/internal/sys_dict_data.go @@ -0,0 +1,98 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysDictDataDao is the data access object for table sys_dict_data. +type SysDictDataDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysDictDataColumns // columns contains all the column names of Table for convenient usage. +} + +// SysDictDataColumns defines and stores column names for table sys_dict_data. +type SysDictDataColumns struct { + DictCode string // 字典编码 + DictSort string // 字典排序 + DictLabel string // 字典标签 + DictValue string // 字典键值 + DictType string // 字典类型 + CssClass string // 样式属性(其他样式扩展) + ListClass string // 表格回显样式 + IsDefault string // 是否默认(1是 0否) + Status string // 状态(0正常 1停用) + CreateBy string // 创建者 + UpdateBy string // 更新者 + Remark string // 备注 + CreatedAt string // 创建时间 + UpdatedAt string // 修改时间 +} + +// sysDictDataColumns holds the columns for table sys_dict_data. +var sysDictDataColumns = SysDictDataColumns{ + DictCode: "dict_code", + DictSort: "dict_sort", + DictLabel: "dict_label", + DictValue: "dict_value", + DictType: "dict_type", + CssClass: "css_class", + ListClass: "list_class", + IsDefault: "is_default", + Status: "status", + CreateBy: "create_by", + UpdateBy: "update_by", + Remark: "remark", + CreatedAt: "created_at", + UpdatedAt: "updated_at", +} + +// NewSysDictDataDao creates and returns a new DAO object for table data access. +func NewSysDictDataDao() *SysDictDataDao { + return &SysDictDataDao{ + group: "default", + table: "sys_dict_data", + columns: sysDictDataColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysDictDataDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysDictDataDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysDictDataDao) Columns() SysDictDataColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysDictDataDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysDictDataDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysDictDataDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_dict_type.go b/internal/service/internal/dao/internal/sys_dict_type.go new file mode 100644 index 0000000..12f4fbd --- /dev/null +++ b/internal/service/internal/dao/internal/sys_dict_type.go @@ -0,0 +1,88 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysDictTypeDao is the data access object for table sys_dict_type. +type SysDictTypeDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysDictTypeColumns // columns contains all the column names of Table for convenient usage. +} + +// SysDictTypeColumns defines and stores column names for table sys_dict_type. +type SysDictTypeColumns struct { + DictId string // 字典主键 + DictName string // 字典名称 + DictType string // 字典类型 + Status string // 状态(0正常 1停用) + CreateBy string // 创建者 + UpdateBy string // 更新者 + Remark string // 备注 + CreatedAt string // 创建日期 + UpdatedAt string // 修改日期 +} + +// sysDictTypeColumns holds the columns for table sys_dict_type. +var sysDictTypeColumns = SysDictTypeColumns{ + DictId: "dict_id", + DictName: "dict_name", + DictType: "dict_type", + Status: "status", + CreateBy: "create_by", + UpdateBy: "update_by", + Remark: "remark", + CreatedAt: "created_at", + UpdatedAt: "updated_at", +} + +// NewSysDictTypeDao creates and returns a new DAO object for table data access. +func NewSysDictTypeDao() *SysDictTypeDao { + return &SysDictTypeDao{ + group: "default", + table: "sys_dict_type", + columns: sysDictTypeColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysDictTypeDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysDictTypeDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysDictTypeDao) Columns() SysDictTypeColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysDictTypeDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysDictTypeDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysDictTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_login_log.go b/internal/service/internal/dao/internal/sys_login_log.go new file mode 100644 index 0000000..bcae04e --- /dev/null +++ b/internal/service/internal/dao/internal/sys_login_log.go @@ -0,0 +1,90 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysLoginLogDao is the data access object for table sys_login_log. +type SysLoginLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysLoginLogColumns // columns contains all the column names of Table for convenient usage. +} + +// SysLoginLogColumns defines and stores column names for table sys_login_log. +type SysLoginLogColumns struct { + InfoId string // 访问ID + LoginName string // 登录账号 + Ipaddr string // 登录IP地址 + LoginLocation string // 登录地点 + Browser string // 浏览器类型 + Os string // 操作系统 + Status string // 登录状态(0成功 1失败) + Msg string // 提示消息 + LoginTime string // 登录时间 + Module string // 登录模块 +} + +// sysLoginLogColumns holds the columns for table sys_login_log. +var sysLoginLogColumns = SysLoginLogColumns{ + InfoId: "info_id", + LoginName: "login_name", + Ipaddr: "ipaddr", + LoginLocation: "login_location", + Browser: "browser", + Os: "os", + Status: "status", + Msg: "msg", + LoginTime: "login_time", + Module: "module", +} + +// NewSysLoginLogDao creates and returns a new DAO object for table data access. +func NewSysLoginLogDao() *SysLoginLogDao { + return &SysLoginLogDao{ + group: "default", + table: "sys_login_log", + columns: sysLoginLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysLoginLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysLoginLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysLoginLogDao) Columns() SysLoginLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysLoginLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysLoginLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysLoginLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_oper_log.go b/internal/service/internal/dao/internal/sys_oper_log.go new file mode 100644 index 0000000..834e016 --- /dev/null +++ b/internal/service/internal/dao/internal/sys_oper_log.go @@ -0,0 +1,102 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysOperLogDao is the data access object for table sys_oper_log. +type SysOperLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysOperLogColumns // columns contains all the column names of Table for convenient usage. +} + +// SysOperLogColumns defines and stores column names for table sys_oper_log. +type SysOperLogColumns struct { + OperId string // 日志主键 + Title string // 模块标题 + BusinessType string // 业务类型(0其它 1新增 2修改 3删除) + Method string // 方法名称 + RequestMethod string // 请求方式 + OperatorType string // 操作类别(0其它 1后台用户 2手机端用户) + OperName string // 操作人员 + DeptName string // 部门名称 + OperUrl string // 请求URL + OperIp string // 主机地址 + OperLocation string // 操作地点 + OperParam string // 请求参数 + JsonResult string // 返回参数 + Status string // 操作状态(0正常 1异常) + ErrorMsg string // 错误消息 + OperTime string // 操作时间 +} + +// sysOperLogColumns holds the columns for table sys_oper_log. +var sysOperLogColumns = SysOperLogColumns{ + OperId: "oper_id", + Title: "title", + BusinessType: "business_type", + Method: "method", + RequestMethod: "request_method", + OperatorType: "operator_type", + OperName: "oper_name", + DeptName: "dept_name", + OperUrl: "oper_url", + OperIp: "oper_ip", + OperLocation: "oper_location", + OperParam: "oper_param", + JsonResult: "json_result", + Status: "status", + ErrorMsg: "error_msg", + OperTime: "oper_time", +} + +// NewSysOperLogDao creates and returns a new DAO object for table data access. +func NewSysOperLogDao() *SysOperLogDao { + return &SysOperLogDao{ + group: "default", + table: "sys_oper_log", + columns: sysOperLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysOperLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysOperLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysOperLogDao) Columns() SysOperLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysOperLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysOperLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysOperLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_post.go b/internal/service/internal/dao/internal/sys_post.go new file mode 100644 index 0000000..ace25ab --- /dev/null +++ b/internal/service/internal/dao/internal/sys_post.go @@ -0,0 +1,92 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysPostDao is the data access object for table sys_post. +type SysPostDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysPostColumns // columns contains all the column names of Table for convenient usage. +} + +// SysPostColumns defines and stores column names for table sys_post. +type SysPostColumns struct { + PostId string // 岗位ID + PostCode string // 岗位编码 + PostName string // 岗位名称 + PostSort string // 显示顺序 + Status string // 状态(0正常 1停用) + Remark string // 备注 + CreatedBy string // 创建人 + UpdatedBy string // 修改人 + CreatedAt string // 创建时间 + UpdatedAt string // 修改时间 + DeletedAt string // 删除时间 +} + +// sysPostColumns holds the columns for table sys_post. +var sysPostColumns = SysPostColumns{ + PostId: "post_id", + PostCode: "post_code", + PostName: "post_name", + PostSort: "post_sort", + Status: "status", + Remark: "remark", + CreatedBy: "created_by", + UpdatedBy: "updated_by", + CreatedAt: "created_at", + UpdatedAt: "updated_at", + DeletedAt: "deleted_at", +} + +// NewSysPostDao creates and returns a new DAO object for table data access. +func NewSysPostDao() *SysPostDao { + return &SysPostDao{ + group: "default", + table: "sys_post", + columns: sysPostColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysPostDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysPostDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysPostDao) Columns() SysPostColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysPostDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysPostDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysPostDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_role.go b/internal/service/internal/dao/internal/sys_role.go new file mode 100644 index 0000000..3c78b45 --- /dev/null +++ b/internal/service/internal/dao/internal/sys_role.go @@ -0,0 +1,86 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysRoleDao is the data access object for table sys_role. +type SysRoleDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysRoleColumns // columns contains all the column names of Table for convenient usage. +} + +// SysRoleColumns defines and stores column names for table sys_role. +type SysRoleColumns struct { + Id string // + Status string // 状态;0:禁用;1:正常 + ListOrder string // 排序 + Name string // 角色名称 + Remark string // 备注 + DataScope string // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限) + CreatedAt string // 创建时间 + UpdatedAt string // 更新时间 +} + +// sysRoleColumns holds the columns for table sys_role. +var sysRoleColumns = SysRoleColumns{ + Id: "id", + Status: "status", + ListOrder: "list_order", + Name: "name", + Remark: "remark", + DataScope: "data_scope", + CreatedAt: "created_at", + UpdatedAt: "updated_at", +} + +// NewSysRoleDao creates and returns a new DAO object for table data access. +func NewSysRoleDao() *SysRoleDao { + return &SysRoleDao{ + group: "default", + table: "sys_role", + columns: sysRoleColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysRoleDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysRoleDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysRoleDao) Columns() SysRoleColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysRoleDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysRoleDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysRoleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_role_dept.go b/internal/service/internal/dao/internal/sys_role_dept.go new file mode 100644 index 0000000..25e7ba7 --- /dev/null +++ b/internal/service/internal/dao/internal/sys_role_dept.go @@ -0,0 +1,74 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysRoleDeptDao is the data access object for table sys_role_dept. +type SysRoleDeptDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysRoleDeptColumns // columns contains all the column names of Table for convenient usage. +} + +// SysRoleDeptColumns defines and stores column names for table sys_role_dept. +type SysRoleDeptColumns struct { + RoleId string // 角色ID + DeptId string // 部门ID +} + +// sysRoleDeptColumns holds the columns for table sys_role_dept. +var sysRoleDeptColumns = SysRoleDeptColumns{ + RoleId: "role_id", + DeptId: "dept_id", +} + +// NewSysRoleDeptDao creates and returns a new DAO object for table data access. +func NewSysRoleDeptDao() *SysRoleDeptDao { + return &SysRoleDeptDao{ + group: "default", + table: "sys_role_dept", + columns: sysRoleDeptColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysRoleDeptDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysRoleDeptDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysRoleDeptDao) Columns() SysRoleDeptColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysRoleDeptDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysRoleDeptDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysRoleDeptDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_user.go b/internal/service/internal/dao/internal/sys_user.go new file mode 100644 index 0000000..fbb79de --- /dev/null +++ b/internal/service/internal/dao/internal/sys_user.go @@ -0,0 +1,112 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysUserDao is the data access object for table sys_user. +type SysUserDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysUserColumns // columns contains all the column names of Table for convenient usage. +} + +// SysUserColumns defines and stores column names for table sys_user. +type SysUserColumns struct { + Id string // + UserName string // 用户名 + Mobile string // 中国手机不带国家代码,国际手机号格式为:国家代码-手机号 + UserNickname string // 用户昵称 + Birthday string // 生日 + UserPassword string // 登录密码;cmf_password加密 + UserSalt string // 加密盐 + UserStatus string // 用户状态;0:禁用,1:正常,2:未验证 + UserEmail string // 用户登录邮箱 + Sex string // 性别;0:保密,1:男,2:女 + Avatar string // 用户头像 + DeptId string // 部门id + Remark string // 备注 + IsAdmin string // 是否后台管理员 1 是 0 否 + Address string // 联系地址 + Describe string // 描述信息 + LastLoginIp string // 最后登录ip + LastLoginTime string // 最后登录时间 + CreatedAt string // 创建时间 + UpdatedAt string // 更新时间 + DeletedAt string // 删除时间 +} + +// sysUserColumns holds the columns for table sys_user. +var sysUserColumns = SysUserColumns{ + Id: "id", + UserName: "user_name", + Mobile: "mobile", + UserNickname: "user_nickname", + Birthday: "birthday", + UserPassword: "user_password", + UserSalt: "user_salt", + UserStatus: "user_status", + UserEmail: "user_email", + Sex: "sex", + Avatar: "avatar", + DeptId: "dept_id", + Remark: "remark", + IsAdmin: "is_admin", + Address: "address", + Describe: "describe", + LastLoginIp: "last_login_ip", + LastLoginTime: "last_login_time", + CreatedAt: "created_at", + UpdatedAt: "updated_at", + DeletedAt: "deleted_at", +} + +// NewSysUserDao creates and returns a new DAO object for table data access. +func NewSysUserDao() *SysUserDao { + return &SysUserDao{ + group: "default", + table: "sys_user", + columns: sysUserColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysUserDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysUserDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysUserDao) Columns() SysUserColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysUserDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysUserDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysUserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_user_online.go b/internal/service/internal/dao/internal/sys_user_online.go new file mode 100644 index 0000000..02d6c56 --- /dev/null +++ b/internal/service/internal/dao/internal/sys_user_online.go @@ -0,0 +1,86 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysUserOnlineDao is the data access object for table sys_user_online. +type SysUserOnlineDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysUserOnlineColumns // columns contains all the column names of Table for convenient usage. +} + +// SysUserOnlineColumns defines and stores column names for table sys_user_online. +type SysUserOnlineColumns struct { + Id string // + Uuid string // 用户标识 + Token string // 用户token + CreateTime string // 登录时间 + UserName string // 用户名 + Ip string // 登录ip + Explorer string // 浏览器 + Os string // 操作系统 +} + +// sysUserOnlineColumns holds the columns for table sys_user_online. +var sysUserOnlineColumns = SysUserOnlineColumns{ + Id: "id", + Uuid: "uuid", + Token: "token", + CreateTime: "create_time", + UserName: "user_name", + Ip: "ip", + Explorer: "explorer", + Os: "os", +} + +// NewSysUserOnlineDao creates and returns a new DAO object for table data access. +func NewSysUserOnlineDao() *SysUserOnlineDao { + return &SysUserOnlineDao{ + group: "default", + table: "sys_user_online", + columns: sysUserOnlineColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysUserOnlineDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysUserOnlineDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysUserOnlineDao) Columns() SysUserOnlineColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysUserOnlineDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysUserOnlineDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysUserOnlineDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/sys_user_post.go b/internal/service/internal/dao/internal/sys_user_post.go new file mode 100644 index 0000000..0773a99 --- /dev/null +++ b/internal/service/internal/dao/internal/sys_user_post.go @@ -0,0 +1,74 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// SysUserPostDao is the data access object for table sys_user_post. +type SysUserPostDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns SysUserPostColumns // columns contains all the column names of Table for convenient usage. +} + +// SysUserPostColumns defines and stores column names for table sys_user_post. +type SysUserPostColumns struct { + UserId string // 用户ID + PostId string // 岗位ID +} + +// sysUserPostColumns holds the columns for table sys_user_post. +var sysUserPostColumns = SysUserPostColumns{ + UserId: "user_id", + PostId: "post_id", +} + +// NewSysUserPostDao creates and returns a new DAO object for table data access. +func NewSysUserPostDao() *SysUserPostDao { + return &SysUserPostDao{ + group: "default", + table: "sys_user_post", + columns: sysUserPostColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *SysUserPostDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *SysUserPostDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *SysUserPostDao) Columns() SysUserPostColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *SysUserPostDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *SysUserPostDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *SysUserPostDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/internal/web_operate_log.go b/internal/service/internal/dao/internal/web_operate_log.go new file mode 100644 index 0000000..56b4d33 --- /dev/null +++ b/internal/service/internal/dao/internal/web_operate_log.go @@ -0,0 +1,86 @@ +// ========================================================================== +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ========================================================================== + +package internal + +import ( + "context" + "github.com/gogf/gf/v2/database/gdb" + "github.com/gogf/gf/v2/frame/g" +) + +// WebOperateLogDao is the data access object for table web_operate_log. +type WebOperateLogDao struct { + table string // table is the underlying table name of the DAO. + group string // group is the database configuration group name of current DAO. + columns WebOperateLogColumns // columns contains all the column names of Table for convenient usage. +} + +// WebOperateLogColumns defines and stores column names for table web_operate_log. +type WebOperateLogColumns struct { + Id string // + FuncName string // 调用功能 + Ip string // 使用者ip + Ct string // 记录创建时间 + Content string // 内容 + ReqJson string // 请求内容 + CbData string // 回调内容 + UserName string // 操作账号 +} + +// webOperateLogColumns holds the columns for table web_operate_log. +var webOperateLogColumns = WebOperateLogColumns{ + Id: "id", + FuncName: "funcName", + Ip: "ip", + Ct: "ct", + Content: "content", + ReqJson: "reqJson", + CbData: "cbData", + UserName: "userName", +} + +// NewWebOperateLogDao creates and returns a new DAO object for table data access. +func NewWebOperateLogDao() *WebOperateLogDao { + return &WebOperateLogDao{ + group: "default", + table: "web_operate_log", + columns: webOperateLogColumns, + } +} + +// DB retrieves and returns the underlying raw database management object of current DAO. +func (dao *WebOperateLogDao) DB() gdb.DB { + return g.DB(dao.group) +} + +// Table returns the table name of current dao. +func (dao *WebOperateLogDao) Table() string { + return dao.table +} + +// Columns returns all column names of current dao. +func (dao *WebOperateLogDao) Columns() WebOperateLogColumns { + return dao.columns +} + +// Group returns the configuration group name of database of current dao. +func (dao *WebOperateLogDao) Group() string { + return dao.group +} + +// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation. +func (dao *WebOperateLogDao) Ctx(ctx context.Context) *gdb.Model { + return dao.DB().Model(dao.table).Safe().Ctx(ctx) +} + +// Transaction wraps the transaction logic using function f. +// It rollbacks the transaction and returns the error from function f if it returns non-nil error. +// It commits the transaction and returns nil if function f returns nil. +// +// Note that, you should not Commit or Rollback the transaction in function f +// as it is automatically handled by this function. +func (dao *WebOperateLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { + return dao.Ctx(ctx).Transaction(ctx, f) +} \ No newline at end of file diff --git a/internal/service/internal/dao/item_income_expense_records.go b/internal/service/internal/dao/item_income_expense_records.go new file mode 100644 index 0000000..33c426c --- /dev/null +++ b/internal/service/internal/dao/item_income_expense_records.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// itemIncomeExpenseRecordsDao is the data access object for table item_income_expense_records. +// You can define custom methods on it to extend its functionality as you wish. +type itemIncomeExpenseRecordsDao struct { + *internal.ItemIncomeExpenseRecordsDao +} + +var ( + // ItemIncomeExpenseRecords is globally public accessible object for table item_income_expense_records operations. + ItemIncomeExpenseRecords = itemIncomeExpenseRecordsDao{ + internal.NewItemIncomeExpenseRecordsDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/login_logout_info.go b/internal/service/internal/dao/login_logout_info.go new file mode 100644 index 0000000..afc13ce --- /dev/null +++ b/internal/service/internal/dao/login_logout_info.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// loginLogoutInfoDao is the data access object for table login_logout_info. +// You can define custom methods on it to extend its functionality as you wish. +type loginLogoutInfoDao struct { + *internal.LoginLogoutInfoDao +} + +var ( + // LoginLogoutInfo is globally public accessible object for table login_logout_info operations. + LoginLogoutInfo = loginLogoutInfoDao{ + internal.NewLoginLogoutInfoDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/login_out_log.go b/internal/service/internal/dao/login_out_log.go new file mode 100644 index 0000000..f6ee36c --- /dev/null +++ b/internal/service/internal/dao/login_out_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// loginOutLogDao is the data access object for table login_out_log. +// You can define custom methods on it to extend its functionality as you wish. +type loginOutLogDao struct { + *internal.LoginOutLogDao +} + +var ( + // LoginOutLog is globally public accessible object for table login_out_log operations. + LoginOutLog = loginOutLogDao{ + internal.NewLoginOutLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_auth_rule.go b/internal/service/internal/dao/sys_auth_rule.go new file mode 100644 index 0000000..936030f --- /dev/null +++ b/internal/service/internal/dao/sys_auth_rule.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysAuthRuleDao is the data access object for table sys_auth_rule. +// You can define custom methods on it to extend its functionality as you wish. +type sysAuthRuleDao struct { + *internal.SysAuthRuleDao +} + +var ( + // SysAuthRule is globally public accessible object for table sys_auth_rule operations. + SysAuthRule = sysAuthRuleDao{ + internal.NewSysAuthRuleDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_config.go b/internal/service/internal/dao/sys_config.go new file mode 100644 index 0000000..46a9f1b --- /dev/null +++ b/internal/service/internal/dao/sys_config.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysConfigDao is the data access object for table sys_config. +// You can define custom methods on it to extend its functionality as you wish. +type sysConfigDao struct { + *internal.SysConfigDao +} + +var ( + // SysConfig is globally public accessible object for table sys_config operations. + SysConfig = sysConfigDao{ + internal.NewSysConfigDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_dept.go b/internal/service/internal/dao/sys_dept.go new file mode 100644 index 0000000..0c9e362 --- /dev/null +++ b/internal/service/internal/dao/sys_dept.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysDeptDao is the data access object for table sys_dept. +// You can define custom methods on it to extend its functionality as you wish. +type sysDeptDao struct { + *internal.SysDeptDao +} + +var ( + // SysDept is globally public accessible object for table sys_dept operations. + SysDept = sysDeptDao{ + internal.NewSysDeptDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_dict_data.go b/internal/service/internal/dao/sys_dict_data.go new file mode 100644 index 0000000..7dfa17c --- /dev/null +++ b/internal/service/internal/dao/sys_dict_data.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysDictDataDao is the data access object for table sys_dict_data. +// You can define custom methods on it to extend its functionality as you wish. +type sysDictDataDao struct { + *internal.SysDictDataDao +} + +var ( + // SysDictData is globally public accessible object for table sys_dict_data operations. + SysDictData = sysDictDataDao{ + internal.NewSysDictDataDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_dict_type.go b/internal/service/internal/dao/sys_dict_type.go new file mode 100644 index 0000000..edea80f --- /dev/null +++ b/internal/service/internal/dao/sys_dict_type.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysDictTypeDao is the data access object for table sys_dict_type. +// You can define custom methods on it to extend its functionality as you wish. +type sysDictTypeDao struct { + *internal.SysDictTypeDao +} + +var ( + // SysDictType is globally public accessible object for table sys_dict_type operations. + SysDictType = sysDictTypeDao{ + internal.NewSysDictTypeDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_login_log.go b/internal/service/internal/dao/sys_login_log.go new file mode 100644 index 0000000..118edf9 --- /dev/null +++ b/internal/service/internal/dao/sys_login_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysLoginLogDao is the data access object for table sys_login_log. +// You can define custom methods on it to extend its functionality as you wish. +type sysLoginLogDao struct { + *internal.SysLoginLogDao +} + +var ( + // SysLoginLog is globally public accessible object for table sys_login_log operations. + SysLoginLog = sysLoginLogDao{ + internal.NewSysLoginLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_oper_log.go b/internal/service/internal/dao/sys_oper_log.go new file mode 100644 index 0000000..a24bcc7 --- /dev/null +++ b/internal/service/internal/dao/sys_oper_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysOperLogDao is the data access object for table sys_oper_log. +// You can define custom methods on it to extend its functionality as you wish. +type sysOperLogDao struct { + *internal.SysOperLogDao +} + +var ( + // SysOperLog is globally public accessible object for table sys_oper_log operations. + SysOperLog = sysOperLogDao{ + internal.NewSysOperLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_post.go b/internal/service/internal/dao/sys_post.go new file mode 100644 index 0000000..564a96a --- /dev/null +++ b/internal/service/internal/dao/sys_post.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysPostDao is the data access object for table sys_post. +// You can define custom methods on it to extend its functionality as you wish. +type sysPostDao struct { + *internal.SysPostDao +} + +var ( + // SysPost is globally public accessible object for table sys_post operations. + SysPost = sysPostDao{ + internal.NewSysPostDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_role.go b/internal/service/internal/dao/sys_role.go new file mode 100644 index 0000000..d319336 --- /dev/null +++ b/internal/service/internal/dao/sys_role.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysRoleDao is the data access object for table sys_role. +// You can define custom methods on it to extend its functionality as you wish. +type sysRoleDao struct { + *internal.SysRoleDao +} + +var ( + // SysRole is globally public accessible object for table sys_role operations. + SysRole = sysRoleDao{ + internal.NewSysRoleDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_role_dept.go b/internal/service/internal/dao/sys_role_dept.go new file mode 100644 index 0000000..9247f55 --- /dev/null +++ b/internal/service/internal/dao/sys_role_dept.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysRoleDeptDao is the data access object for table sys_role_dept. +// You can define custom methods on it to extend its functionality as you wish. +type sysRoleDeptDao struct { + *internal.SysRoleDeptDao +} + +var ( + // SysRoleDept is globally public accessible object for table sys_role_dept operations. + SysRoleDept = sysRoleDeptDao{ + internal.NewSysRoleDeptDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_user.go b/internal/service/internal/dao/sys_user.go new file mode 100644 index 0000000..80423bf --- /dev/null +++ b/internal/service/internal/dao/sys_user.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysUserDao is the data access object for table sys_user. +// You can define custom methods on it to extend its functionality as you wish. +type sysUserDao struct { + *internal.SysUserDao +} + +var ( + // SysUser is globally public accessible object for table sys_user operations. + SysUser = sysUserDao{ + internal.NewSysUserDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_user_online.go b/internal/service/internal/dao/sys_user_online.go new file mode 100644 index 0000000..4b99ed0 --- /dev/null +++ b/internal/service/internal/dao/sys_user_online.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysUserOnlineDao is the data access object for table sys_user_online. +// You can define custom methods on it to extend its functionality as you wish. +type sysUserOnlineDao struct { + *internal.SysUserOnlineDao +} + +var ( + // SysUserOnline is globally public accessible object for table sys_user_online operations. + SysUserOnline = sysUserOnlineDao{ + internal.NewSysUserOnlineDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/sys_user_post.go b/internal/service/internal/dao/sys_user_post.go new file mode 100644 index 0000000..330fa45 --- /dev/null +++ b/internal/service/internal/dao/sys_user_post.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// sysUserPostDao is the data access object for table sys_user_post. +// You can define custom methods on it to extend its functionality as you wish. +type sysUserPostDao struct { + *internal.SysUserPostDao +} + +var ( + // SysUserPost is globally public accessible object for table sys_user_post operations. + SysUserPost = sysUserPostDao{ + internal.NewSysUserPostDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/dao/web_operate_log.go b/internal/service/internal/dao/web_operate_log.go new file mode 100644 index 0000000..9a05272 --- /dev/null +++ b/internal/service/internal/dao/web_operate_log.go @@ -0,0 +1,24 @@ +// ================================================================================= +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. +// ================================================================================= + +package dao + +import ( + "tyj_admin/internal/service/internal/dao/internal" +) + +// webOperateLogDao is the data access object for table web_operate_log. +// You can define custom methods on it to extend its functionality as you wish. +type webOperateLogDao struct { + *internal.WebOperateLogDao +} + +var ( + // WebOperateLog is globally public accessible object for table web_operate_log operations. + WebOperateLog = webOperateLogDao{ + internal.NewWebOperateLogDao(), + } +) + +// Fill with you ideas below. \ No newline at end of file diff --git a/internal/service/internal/do/advertisement.go b/internal/service/internal/do/advertisement.go new file mode 100644 index 0000000..edd7b58 --- /dev/null +++ b/internal/service/internal/do/advertisement.go @@ -0,0 +1,39 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// Advertisement is the golang structure of table advertisement for DAO operations like Where/Data. +type Advertisement struct { +g.Meta `orm:"table:advertisement, do:true"` + Id interface{} // + Idfa interface{} // + Time interface{} // + Ip interface{} // + OrgId interface{} // + OrgName interface{} // + GameId interface{} // + GameName interface{} // + AdsetId interface{} // + AdsetNet interface{} // + DeviceBrand interface{} // + DeviceModel interface{} // + CreativeId interface{} // + ConversionType interface{} // + Device interface{} // + OAID interface{} // + Callback interface{} // + TapTrackId interface{} // + TapProjectId interface{} // + ANID interface{} // + IMEI interface{} // + Once interface{} // + Register interface{} // + Recharge interface{} // + Two interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/casbin_rule.go b/internal/service/internal/do/casbin_rule.go new file mode 100644 index 0000000..2629b09 --- /dev/null +++ b/internal/service/internal/do/casbin_rule.go @@ -0,0 +1,21 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// CasbinRule is the golang structure of table casbin_rule for DAO operations like Where/Data. +type CasbinRule struct { +g.Meta `orm:"table:casbin_rule, do:true"` + Ptype interface{} // + V0 interface{} // + V1 interface{} // + V2 interface{} // + V3 interface{} // + V4 interface{} // + V5 interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_black_list.go b/internal/service/internal/do/game_black_list.go new file mode 100644 index 0000000..9cc2ec1 --- /dev/null +++ b/internal/service/internal/do/game_black_list.go @@ -0,0 +1,16 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameBlackList is the golang structure of table game_black_list for DAO operations like Where/Data. +type GameBlackList struct { +g.Meta `orm:"table:game_black_list, do:true"` + Id interface{} // + Ip interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_bug.go b/internal/service/internal/do/game_bug.go new file mode 100644 index 0000000..9440f8d --- /dev/null +++ b/internal/service/internal/do/game_bug.go @@ -0,0 +1,23 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameBug is the golang structure of table game_bug for DAO operations like Where/Data. +type GameBug struct { +g.Meta `orm:"table:game_bug, do:true"` + Id interface{} // 索引ID + Uid interface{} // 桃谷id + Server interface{} // 区服 + Qq interface{} // qq号 + Tel interface{} // 手机号 + Bug interface{} // bug详情 + OccurrenceTime interface{} // 发生时间 + CreateTime interface{} // 创建时间 + State interface{} // 0表示没处理,1表示已处理 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_bug_client.go b/internal/service/internal/do/game_bug_client.go new file mode 100644 index 0000000..5dd82ff --- /dev/null +++ b/internal/service/internal/do/game_bug_client.go @@ -0,0 +1,28 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameBugClient is the golang structure of table game_bug_client for DAO operations like Where/Data. +type GameBugClient struct { +g.Meta `orm:"table:game_bug_client, do:true"` + Id interface{} // 索引ID + State interface{} // 0表示没处理,1表示已处理 + Uid interface{} // 桃谷id + CreateTime *gtime.Time // 创建时间 + Bug interface{} // bug详情 + LogType interface{} // 日志类型 + StackTrace interface{} // 堆栈信息 + Channel interface{} // 渠道 + SubChannel interface{} // 子渠道 + DeviceModel interface{} // 设备型号 + DeviceType interface{} // 设备类型 + OperationSystem interface{} // 操作系统 + SystemMemorySize interface{} // 系统内存大小 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_ccd_url.go b/internal/service/internal/do/game_ccd_url.go new file mode 100644 index 0000000..0c1b853 --- /dev/null +++ b/internal/service/internal/do/game_ccd_url.go @@ -0,0 +1,24 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameCcdUrl is the golang structure of table game_ccd_url for DAO operations like Where/Data. +type GameCcdUrl struct { +g.Meta `orm:"table:game_ccd_url, do:true"` + Id interface{} // + Platform interface{} // + ChannelType interface{} // + VersionName interface{} // + VersionCode interface{} // + Ip interface{} // + HotfixVersion interface{} // + VersionCompare interface{} // + State interface{} // + Url interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_ccd_url_copy_1.go b/internal/service/internal/do/game_ccd_url_copy_1.go new file mode 100644 index 0000000..75f2158 --- /dev/null +++ b/internal/service/internal/do/game_ccd_url_copy_1.go @@ -0,0 +1,24 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameCcdUrlCopy1 is the golang structure of table game_ccd_url_copy1 for DAO operations like Where/Data. +type GameCcdUrlCopy1 struct { +g.Meta `orm:"table:game_ccd_url_copy1, do:true"` + Id interface{} // + Platform interface{} // + ChannelType interface{} // + VersionName interface{} // + VersionCode interface{} // + Ip interface{} // + HotfixVersion interface{} // + VersionCompare interface{} // + State interface{} // + Url interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_ccd_version.go b/internal/service/internal/do/game_ccd_version.go new file mode 100644 index 0000000..acb8d38 --- /dev/null +++ b/internal/service/internal/do/game_ccd_version.go @@ -0,0 +1,16 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameCcdVersion is the golang structure of table game_ccd_version for DAO operations like Where/Data. +type GameCcdVersion struct { +g.Meta `orm:"table:game_ccd_version, do:true"` + Id interface{} // + Data interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_cd_key.go b/internal/service/internal/do/game_cd_key.go new file mode 100644 index 0000000..bef72b8 --- /dev/null +++ b/internal/service/internal/do/game_cd_key.go @@ -0,0 +1,21 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameCdKey is the golang structure of table game_cd_key for DAO operations like Where/Data. +type GameCdKey struct { +g.Meta `orm:"table:game_cd_key, do:true"` + Id interface{} // + Code interface{} // 兑换码 + ConfigId interface{} // + Used interface{} // 账号id + SeizeASeat interface{} // + Time interface{} // + Server interface{} // 区服 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_cd_password.go b/internal/service/internal/do/game_cd_password.go new file mode 100644 index 0000000..b2991b8 --- /dev/null +++ b/internal/service/internal/do/game_cd_password.go @@ -0,0 +1,18 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameCdPassword is the golang structure of table game_cd_password for DAO operations like Where/Data. +type GameCdPassword struct { +g.Meta `orm:"table:game_cd_password, do:true"` + Id interface{} // + Account interface{} // 用户名 + ConfigId interface{} // 配置id + Server interface{} // 区服 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_channel_list.go b/internal/service/internal/do/game_channel_list.go new file mode 100644 index 0000000..9dac2c1 --- /dev/null +++ b/internal/service/internal/do/game_channel_list.go @@ -0,0 +1,17 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameChannelList is the golang structure of table game_channel_list for DAO operations like Where/Data. +type GameChannelList struct { +g.Meta `orm:"table:game_channel_list, do:true"` + Id interface{} // + Value interface{} // 渠道号 + Label interface{} // 渠道名称 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_gift_exchange.go b/internal/service/internal/do/game_gift_exchange.go new file mode 100644 index 0000000..4e9222b --- /dev/null +++ b/internal/service/internal/do/game_gift_exchange.go @@ -0,0 +1,26 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameGiftExchange is the golang structure of table game_gift_exchange for DAO operations like Where/Data. +type GameGiftExchange struct { +g.Meta `orm:"table:game_gift_exchange, do:true"` + Id interface{} // + StartTime interface{} // + StopTime interface{} // + Name interface{} // + Channel interface{} // + Password interface{} // + Times interface{} // + Type interface{} // + Num interface{} // + Filename interface{} // + FileState interface{} // + Rewards interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_login_url.go b/internal/service/internal/do/game_login_url.go new file mode 100644 index 0000000..aaf1967 --- /dev/null +++ b/internal/service/internal/do/game_login_url.go @@ -0,0 +1,36 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameLoginUrl is the golang structure of table game_login_url for DAO operations like Where/Data. +type GameLoginUrl struct { +g.Meta `orm:"table:game_login_url, do:true"` + Id interface{} // 1000+为外网id + Host interface{} // + Port interface{} // + State interface{} // 服务器状态,1-正常,2-维护,3-白名单ip优先加渠道,4-黑名单渠道优先 + Recommend interface{} // 推荐,1-推荐,0-不推荐 + Name interface{} // 名称 + Difficulty interface{} // 难度,1-简单,2-困难 + RechargeHost interface{} // + RechargePort interface{} // + Area interface{} // 区服 + IsShow interface{} // 1-可见,0-不可见 + Channel interface{} // 固定渠道 + CDate *gtime.Time // 创建时间-用于排序 + GameDbUrl interface{} // 数据库地址 + GameDbName interface{} // 数据库名称 + Platform interface{} // 平台-充值 + InnerIp interface{} // 内外地址 + CreateTime *gtime.Time // 开服时间-用于服务器时间 + Remark interface{} // 备注名称 + IsNew interface{} // + Sort interface{} // 后台排序 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_mail.go b/internal/service/internal/do/game_mail.go new file mode 100644 index 0000000..f8b78f8 --- /dev/null +++ b/internal/service/internal/do/game_mail.go @@ -0,0 +1,28 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameMail is the golang structure of table game_mail for DAO operations like Where/Data. +type GameMail struct { +g.Meta `orm:"table:game_mail, do:true"` + Id interface{} // + ServerId interface{} // + CDate interface{} // + Form interface{} // + Type interface{} // + Expired interface{} // + Validday interface{} // + Time interface{} // + NewGet interface{} // + Title interface{} // + Content interface{} // + Drop interface{} // + OwnerId interface{} // + Send interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_notice.go b/internal/service/internal/do/game_notice.go new file mode 100644 index 0000000..4bdb43d --- /dev/null +++ b/internal/service/internal/do/game_notice.go @@ -0,0 +1,20 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameNotice is the golang structure of table game_notice for DAO operations like Where/Data. +type GameNotice struct { +g.Meta `orm:"table:game_notice, do:true"` + Id interface{} // 索引ID + NoticeType interface{} // 公告类型:1表示弹窗公告,2表示登录公告,3表示维护公告 + Channel interface{} // 渠道号:第三方的登录渠道 + Content interface{} // + Status interface{} // 1.正常,2.白名单,3.维护 + CDate interface{} // 公告创建时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_notice_log.go b/internal/service/internal/do/game_notice_log.go new file mode 100644 index 0000000..52bcd8a --- /dev/null +++ b/internal/service/internal/do/game_notice_log.go @@ -0,0 +1,26 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameNoticeLog is the golang structure of table game_notice_log for DAO operations like Where/Data. +type GameNoticeLog struct { +g.Meta `orm:"table:game_notice_log, do:true"` + Id interface{} // 索引ID + NoticeId interface{} // notice表id + NoticeType interface{} // 公告类型:1表示弹窗公告,2表示登录公告,3表示维护公告 + Channel interface{} // 渠道号:第三方的登录渠道 + Content interface{} // + Status interface{} // 1.正常,2.白名单,3.维护 + SendTime interface{} // 延时发送 + CDate *gtime.Time // 公告创建时间 + ServerId interface{} // + Uids interface{} // + PopType interface{} // 1.强制退出,2.普通弹窗 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_notice_model.go b/internal/service/internal/do/game_notice_model.go new file mode 100644 index 0000000..01f8abe --- /dev/null +++ b/internal/service/internal/do/game_notice_model.go @@ -0,0 +1,19 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameNoticeModel is the golang structure of table game_notice_model for DAO operations like Where/Data. +type GameNoticeModel struct { +g.Meta `orm:"table:game_notice_model, do:true"` + Id interface{} // + Title interface{} // + Content interface{} // + NoticeType interface{} // 1-弹窗公告,2-登录公告,3-维护公告; + ModelType interface{} // 1-公告头,2-维护补偿 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_online.go b/internal/service/internal/do/game_online.go new file mode 100644 index 0000000..2c8d70e --- /dev/null +++ b/internal/service/internal/do/game_online.go @@ -0,0 +1,20 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameOnline is the golang structure of table game_online for DAO operations like Where/Data. +type GameOnline struct { +g.Meta `orm:"table:game_online, do:true"` + Id interface{} // + Channel interface{} // 渠道 + Server interface{} // 区服 + Num interface{} // 在线数量 + Date *gtime.Time // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_recharge.go b/internal/service/internal/do/game_recharge.go new file mode 100644 index 0000000..4337405 --- /dev/null +++ b/internal/service/internal/do/game_recharge.go @@ -0,0 +1,33 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameRecharge is the golang structure of table game_recharge for DAO operations like Where/Data. +type GameRecharge struct { +g.Meta `orm:"table:game_recharge, do:true"` + Id interface{} // + UnitId interface{} // 账号 + Channel interface{} // 渠道 + Server interface{} // 区服 + Amount interface{} // 充值金额 + CreateTime *gtime.Time // 记录创建时间 + ExternalCreateTime *gtime.Time // 订单创建时间 + PayTime *gtime.Time // 订单支付时间 + Status interface{} // 订单状态:1-成功,2-失败,3-创建, + Config interface{} // 配置Id + TradeNo interface{} // 游戏方订单号 + ExternalTradeNo interface{} // 第三方订单号 + TradeStatus interface{} // 第三方订单状态 + BuyerId interface{} // + Platform interface{} // 充值平台 + Remark interface{} // 手动修改成功理由 + Receipt interface{} // + Account interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_recharge_control.go b/internal/service/internal/do/game_recharge_control.go new file mode 100644 index 0000000..880d25c --- /dev/null +++ b/internal/service/internal/do/game_recharge_control.go @@ -0,0 +1,16 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameRechargeControl is the golang structure of table game_recharge_control for DAO operations like Where/Data. +type GameRechargeControl struct { +g.Meta `orm:"table:game_recharge_control, do:true"` + Id interface{} // + Channel interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_recharge_copy_1.go b/internal/service/internal/do/game_recharge_copy_1.go new file mode 100644 index 0000000..8c26935 --- /dev/null +++ b/internal/service/internal/do/game_recharge_copy_1.go @@ -0,0 +1,31 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameRechargeCopy1 is the golang structure of table game_recharge_copy1 for DAO operations like Where/Data. +type GameRechargeCopy1 struct { +g.Meta `orm:"table:game_recharge_copy1, do:true"` + Id interface{} // + UnitId interface{} // 账号 + Channel interface{} // 渠道 + Server interface{} // 区服 + Amount interface{} // 充值金额 + CreateTime *gtime.Time // 记录创建时间 + ExternalCreateTime *gtime.Time // 订单创建时间 + PayTime *gtime.Time // 订单支付时间 + Status interface{} // 订单状态:1-创建, 2-成功, 3-失效, 100-失败, + Config interface{} // 配置Id + TradeNo interface{} // 游戏方订单号 + ExternalTradeNo interface{} // 第三方订单号 + TradeStatus interface{} // 第三方订单状态 + BuyerId interface{} // + Platform interface{} // 充值平台 + Remark interface{} // 手动修改成功理由 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_recharge_log.go b/internal/service/internal/do/game_recharge_log.go new file mode 100644 index 0000000..1823df7 --- /dev/null +++ b/internal/service/internal/do/game_recharge_log.go @@ -0,0 +1,25 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameRechargeLog is the golang structure of table game_recharge_log for DAO operations like Where/Data. +type GameRechargeLog struct { +g.Meta `orm:"table:game_recharge_log, do:true"` + Id interface{} // + UnitId interface{} // 账号 + Channel interface{} // 渠道 + Server interface{} // 区服 + Amount interface{} // 充值金额 + Config interface{} // 配置Id + CreateTime *gtime.Time // 记录创建时间 + TradeNo interface{} // 游戏方订单号 + Remark interface{} // 手动修改成功理由 + User interface{} // 操作员 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_recharge_rebate.go b/internal/service/internal/do/game_recharge_rebate.go new file mode 100644 index 0000000..e38a541 --- /dev/null +++ b/internal/service/internal/do/game_recharge_rebate.go @@ -0,0 +1,17 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameRechargeRebate is the golang structure of table game_recharge_rebate for DAO operations like Where/Data. +type GameRechargeRebate struct { +g.Meta `orm:"table:game_recharge_rebate, do:true"` + Id interface{} // + Account interface{} // + Channel interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_register.go b/internal/service/internal/do/game_register.go new file mode 100644 index 0000000..c87d4f2 --- /dev/null +++ b/internal/service/internal/do/game_register.go @@ -0,0 +1,22 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameRegister is the golang structure of table game_register for DAO operations like Where/Data. +type GameRegister struct { +g.Meta `orm:"table:game_register, do:true"` + Id interface{} // + Account interface{} // + Channel interface{} // 渠道:0-无, + CreateTime *gtime.Time // 账号创建时间 + CreateType interface{} // 创建:1-账密,2-qq,3-微信,4-gm, + Platform interface{} // 类型:1-android,2-ios,3-gm, + Server interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_router.go b/internal/service/internal/do/game_router.go new file mode 100644 index 0000000..dbb0359 --- /dev/null +++ b/internal/service/internal/do/game_router.go @@ -0,0 +1,23 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameRouter is the golang structure of table game_router for DAO operations like Where/Data. +type GameRouter struct { +g.Meta `orm:"table:game_router, do:true"` + Id interface{} // + RealmIp interface{} // + RealmPort interface{} // + RealmStep interface{} // + RealmNum interface{} // + RouterIp interface{} // + RouterPort interface{} // + RouterNum interface{} // + RouterStep interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_server_json_general.go b/internal/service/internal/do/game_server_json_general.go new file mode 100644 index 0000000..6d89780 --- /dev/null +++ b/internal/service/internal/do/game_server_json_general.go @@ -0,0 +1,21 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameServerJsonGeneral is the golang structure of table game_server_json_general for DAO operations like Where/Data. +type GameServerJsonGeneral struct { +g.Meta `orm:"table:game_server_json_general, do:true"` + Id interface{} // + SdkAddress interface{} // + UniqueAddress interface{} // + IdentityCheckAddress interface{} // + RechargeWhiteListIps interface{} // + GmWhiteListUrl interface{} // + BackstageRechargeUrl interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_shop_log.go b/internal/service/internal/do/game_shop_log.go new file mode 100644 index 0000000..7ee0b82 --- /dev/null +++ b/internal/service/internal/do/game_shop_log.go @@ -0,0 +1,22 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameShopLog is the golang structure of table game_shop_log for DAO operations like Where/Data. +type GameShopLog struct { +g.Meta `orm:"table:game_shop_log, do:true"` + Id interface{} // + Uid interface{} // + ItemId interface{} // + Num interface{} // + Price interface{} // 价格 + CDate *gtime.Time // + ServerId interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_unit.go b/internal/service/internal/do/game_unit.go new file mode 100644 index 0000000..d772ddc --- /dev/null +++ b/internal/service/internal/do/game_unit.go @@ -0,0 +1,31 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameUnit is the golang structure of table game_unit for DAO operations like Where/Data. +type GameUnit struct { +g.Meta `orm:"table:game_unit, do:true"` + Id interface{} // + Account interface{} // 账号 + Channel interface{} // 渠道 + Uid interface{} // 账号Id + Server interface{} // 区服 + Scale interface{} // 规模 + Name interface{} // 桃谷名称 + LogTime interface{} // + CreateTime *gtime.Time // 账号创建时间 + VillagerNum interface{} // 村民数量 + Prosperity interface{} // 繁荣值 + GoldIngot interface{} // 桃花石 + BaseFood interface{} // 基础食物 + Day interface{} // 游戏天数 + Recharge interface{} // 充值 + OAID interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_unit_copy_1.go b/internal/service/internal/do/game_unit_copy_1.go new file mode 100644 index 0000000..aa7ce96 --- /dev/null +++ b/internal/service/internal/do/game_unit_copy_1.go @@ -0,0 +1,30 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GameUnitCopy1 is the golang structure of table game_unit_copy1 for DAO operations like Where/Data. +type GameUnitCopy1 struct { +g.Meta `orm:"table:game_unit_copy1, do:true"` + Id interface{} // + Account interface{} // + Channel interface{} // + Uid interface{} // + Server interface{} // + Scale interface{} // + Name interface{} // + LogTime interface{} // + CreateTime *gtime.Time // 账号创建时间 + VillagerNum interface{} // 村民数量 + Prosperity interface{} // 繁荣值 + GoldIngot interface{} // 桃花石 + BaseFood interface{} // 基础食物 + Day interface{} // 游戏天数 + Recharge interface{} // 充值 +} \ No newline at end of file diff --git a/internal/service/internal/do/game_version.go b/internal/service/internal/do/game_version.go new file mode 100644 index 0000000..7a487bc --- /dev/null +++ b/internal/service/internal/do/game_version.go @@ -0,0 +1,17 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameVersion is the golang structure of table game_version for DAO operations like Where/Data. +type GameVersion struct { +g.Meta `orm:"table:game_version, do:true"` + Id interface{} // + Channel interface{} // + Version interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/game_white_list.go b/internal/service/internal/do/game_white_list.go new file mode 100644 index 0000000..0c0626d --- /dev/null +++ b/internal/service/internal/do/game_white_list.go @@ -0,0 +1,16 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// GameWhiteList is the golang structure of table game_white_list for DAO operations like Where/Data. +type GameWhiteList struct { +g.Meta `orm:"table:game_white_list, do:true"` + Id interface{} // + Ip interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/gm_operate_log.go b/internal/service/internal/do/gm_operate_log.go new file mode 100644 index 0000000..6615e9a --- /dev/null +++ b/internal/service/internal/do/gm_operate_log.go @@ -0,0 +1,26 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// GmOperateLog is the golang structure of table gm_operate_log for DAO operations like Where/Data. +type GmOperateLog struct { +g.Meta `orm:"table:gm_operate_log, do:true"` + Id interface{} // ID + OperateType interface{} // 操作类型,1修改名称,2发送邮件 + CreateName interface{} // GM用户名 + MailId interface{} // 邮件id + ChannelId interface{} // 区服ID + Uid interface{} // 角色ID + Remark interface{} // 备注 + CreatedBy interface{} // 创建人 + CreatedAt *gtime.Time // 创建时间 + UpdatedAt *gtime.Time // 修改时间 + DeletedAt *gtime.Time // 删除时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/item_income_expense_records.go b/internal/service/internal/do/item_income_expense_records.go new file mode 100644 index 0000000..ea8b96a --- /dev/null +++ b/internal/service/internal/do/item_income_expense_records.go @@ -0,0 +1,24 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// ItemIncomeExpenseRecords is the golang structure of table item_income_expense_records for DAO operations like Where/Data. +type ItemIncomeExpenseRecords struct { +g.Meta `orm:"table:item_income_expense_records, do:true"` + Id interface{} // 唯一 + Uid interface{} // 账号 + ItemId interface{} // 物品Id + Num interface{} // 数量 + Way interface{} // 消耗途径 + State interface{} // 1:消耗,2:增加 + AddTime interface{} // 添加时间 + CTime *gtime.Time // 创建记录时间 + Server interface{} // 区服 +} \ No newline at end of file diff --git a/internal/service/internal/do/login_logout_info.go b/internal/service/internal/do/login_logout_info.go new file mode 100644 index 0000000..2460b4f --- /dev/null +++ b/internal/service/internal/do/login_logout_info.go @@ -0,0 +1,32 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// LoginLogoutInfo is the golang structure of table login_logout_info for DAO operations like Where/Data. +type LoginLogoutInfo struct { +g.Meta `orm:"table:login_logout_info, do:true"` + Id interface{} // + Uid interface{} // + State interface{} // 1: 登录,2: 登出 + CDate *gtime.Time // + GameTime interface{} // 游戏时间 + Scale interface{} // 规模 + VillagerNum interface{} // 村民数量 + Prosperity interface{} // 繁荣值 + Copper interface{} // 铜币 + GoldIngot interface{} // 桃花石 + BaseFood interface{} // 基础食物 + Day interface{} // 游戏天数 + Server interface{} // 区服 + VouchersNum interface{} // + RechargeTotal interface{} // + StoreSum interface{} // + StoneAmount interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/login_out_log.go b/internal/service/internal/do/login_out_log.go new file mode 100644 index 0000000..963be68 --- /dev/null +++ b/internal/service/internal/do/login_out_log.go @@ -0,0 +1,19 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// LoginOutLog is the golang structure of table login_out_log for DAO operations like Where/Data. +type LoginOutLog struct { +g.Meta `orm:"table:login_out_log, do:true"` + Id interface{} // + Uid interface{} // + CDate interface{} // + EDate interface{} // + Server interface{} // +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_auth_rule.go b/internal/service/internal/do/sys_auth_rule.go new file mode 100644 index 0000000..53cd571 --- /dev/null +++ b/internal/service/internal/do/sys_auth_rule.go @@ -0,0 +1,37 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysAuthRule is the golang structure of table sys_auth_rule for DAO operations like Where/Data. +type SysAuthRule struct { +g.Meta `orm:"table:sys_auth_rule, do:true"` + Id interface{} // + Pid interface{} // 父ID + Name interface{} // 规则名称 + Title interface{} // 规则名称 + Icon interface{} // 图标 + Condition interface{} // 条件 + Remark interface{} // 备注 + MenuType interface{} // 类型 0目录 1菜单 2按钮 + Weigh interface{} // 权重 + IsHide interface{} // 显示状态 + Path interface{} // 路由地址 + Component interface{} // 组件路径 + IsLink interface{} // 是否外链 1是 0否 + ModuleType interface{} // 所属模块 + ModelId interface{} // 模型ID + IsIframe interface{} // 是否内嵌iframe + IsCached interface{} // 是否缓存 + Redirect interface{} // 路由重定向地址 + IsAffix interface{} // 是否固定 + LinkUrl interface{} // 链接地址 + CreatedAt *gtime.Time // 创建日期 + UpdatedAt *gtime.Time // 修改日期 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_config.go b/internal/service/internal/do/sys_config.go new file mode 100644 index 0000000..d34365a --- /dev/null +++ b/internal/service/internal/do/sys_config.go @@ -0,0 +1,25 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysConfig is the golang structure of table sys_config for DAO operations like Where/Data. +type SysConfig struct { +g.Meta `orm:"table:sys_config, do:true"` + ConfigId interface{} // 参数主键 + ConfigName interface{} // 参数名称 + ConfigKey interface{} // 参数键名 + ConfigValue interface{} // 参数键值 + ConfigType interface{} // 系统内置(Y是 N否) + CreateBy interface{} // 创建者 + UpdateBy interface{} // 更新者 + Remark interface{} // 备注 + CreatedAt *gtime.Time // 创建时间 + UpdatedAt *gtime.Time // 修改时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_dept.go b/internal/service/internal/do/sys_dept.go new file mode 100644 index 0000000..ef1d656 --- /dev/null +++ b/internal/service/internal/do/sys_dept.go @@ -0,0 +1,29 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysDept is the golang structure of table sys_dept for DAO operations like Where/Data. +type SysDept struct { +g.Meta `orm:"table:sys_dept, do:true"` + DeptId interface{} // 部门id + ParentId interface{} // 父部门id + Ancestors interface{} // 祖级列表 + DeptName interface{} // 部门名称 + OrderNum interface{} // 显示顺序 + Leader interface{} // 负责人 + Phone interface{} // 联系电话 + Email interface{} // 邮箱 + Status interface{} // 部门状态(0正常 1停用) + CreatedBy interface{} // 创建人 + UpdatedBy interface{} // 修改人 + CreatedAt *gtime.Time // 创建时间 + UpdatedAt *gtime.Time // 修改时间 + DeletedAt *gtime.Time // 删除时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_dict_data.go b/internal/service/internal/do/sys_dict_data.go new file mode 100644 index 0000000..bdbdc55 --- /dev/null +++ b/internal/service/internal/do/sys_dict_data.go @@ -0,0 +1,29 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysDictData is the golang structure of table sys_dict_data for DAO operations like Where/Data. +type SysDictData struct { +g.Meta `orm:"table:sys_dict_data, do:true"` + DictCode interface{} // 字典编码 + DictSort interface{} // 字典排序 + DictLabel interface{} // 字典标签 + DictValue interface{} // 字典键值 + DictType interface{} // 字典类型 + CssClass interface{} // 样式属性(其他样式扩展) + ListClass interface{} // 表格回显样式 + IsDefault interface{} // 是否默认(1是 0否) + Status interface{} // 状态(0正常 1停用) + CreateBy interface{} // 创建者 + UpdateBy interface{} // 更新者 + Remark interface{} // 备注 + CreatedAt *gtime.Time // 创建时间 + UpdatedAt *gtime.Time // 修改时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_dict_type.go b/internal/service/internal/do/sys_dict_type.go new file mode 100644 index 0000000..24489e7 --- /dev/null +++ b/internal/service/internal/do/sys_dict_type.go @@ -0,0 +1,24 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysDictType is the golang structure of table sys_dict_type for DAO operations like Where/Data. +type SysDictType struct { +g.Meta `orm:"table:sys_dict_type, do:true"` + DictId interface{} // 字典主键 + DictName interface{} // 字典名称 + DictType interface{} // 字典类型 + Status interface{} // 状态(0正常 1停用) + CreateBy interface{} // 创建者 + UpdateBy interface{} // 更新者 + Remark interface{} // 备注 + CreatedAt *gtime.Time // 创建日期 + UpdatedAt *gtime.Time // 修改日期 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_login_log.go b/internal/service/internal/do/sys_login_log.go new file mode 100644 index 0000000..48d2c62 --- /dev/null +++ b/internal/service/internal/do/sys_login_log.go @@ -0,0 +1,25 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysLoginLog is the golang structure of table sys_login_log for DAO operations like Where/Data. +type SysLoginLog struct { +g.Meta `orm:"table:sys_login_log, do:true"` + InfoId interface{} // 访问ID + LoginName interface{} // 登录账号 + Ipaddr interface{} // 登录IP地址 + LoginLocation interface{} // 登录地点 + Browser interface{} // 浏览器类型 + Os interface{} // 操作系统 + Status interface{} // 登录状态(0成功 1失败) + Msg interface{} // 提示消息 + LoginTime *gtime.Time // 登录时间 + Module interface{} // 登录模块 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_oper_log.go b/internal/service/internal/do/sys_oper_log.go new file mode 100644 index 0000000..dfde1bb --- /dev/null +++ b/internal/service/internal/do/sys_oper_log.go @@ -0,0 +1,31 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysOperLog is the golang structure of table sys_oper_log for DAO operations like Where/Data. +type SysOperLog struct { +g.Meta `orm:"table:sys_oper_log, do:true"` + OperId interface{} // 日志主键 + Title interface{} // 模块标题 + BusinessType interface{} // 业务类型(0其它 1新增 2修改 3删除) + Method interface{} // 方法名称 + RequestMethod interface{} // 请求方式 + OperatorType interface{} // 操作类别(0其它 1后台用户 2手机端用户) + OperName interface{} // 操作人员 + DeptName interface{} // 部门名称 + OperUrl interface{} // 请求URL + OperIp interface{} // 主机地址 + OperLocation interface{} // 操作地点 + OperParam interface{} // 请求参数 + JsonResult interface{} // 返回参数 + Status interface{} // 操作状态(0正常 1异常) + ErrorMsg interface{} // 错误消息 + OperTime *gtime.Time // 操作时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_post.go b/internal/service/internal/do/sys_post.go new file mode 100644 index 0000000..b514eae --- /dev/null +++ b/internal/service/internal/do/sys_post.go @@ -0,0 +1,26 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysPost is the golang structure of table sys_post for DAO operations like Where/Data. +type SysPost struct { +g.Meta `orm:"table:sys_post, do:true"` + PostId interface{} // 岗位ID + PostCode interface{} // 岗位编码 + PostName interface{} // 岗位名称 + PostSort interface{} // 显示顺序 + Status interface{} // 状态(0正常 1停用) + Remark interface{} // 备注 + CreatedBy interface{} // 创建人 + UpdatedBy interface{} // 修改人 + CreatedAt *gtime.Time // 创建时间 + UpdatedAt *gtime.Time // 修改时间 + DeletedAt *gtime.Time // 删除时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_role.go b/internal/service/internal/do/sys_role.go new file mode 100644 index 0000000..27f5b98 --- /dev/null +++ b/internal/service/internal/do/sys_role.go @@ -0,0 +1,23 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysRole is the golang structure of table sys_role for DAO operations like Where/Data. +type SysRole struct { +g.Meta `orm:"table:sys_role, do:true"` + Id interface{} // + Status interface{} // 状态;0:禁用;1:正常 + ListOrder interface{} // 排序 + Name interface{} // 角色名称 + Remark interface{} // 备注 + DataScope interface{} // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限) + CreatedAt *gtime.Time // 创建时间 + UpdatedAt *gtime.Time // 更新时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_role_dept.go b/internal/service/internal/do/sys_role_dept.go new file mode 100644 index 0000000..dca4c24 --- /dev/null +++ b/internal/service/internal/do/sys_role_dept.go @@ -0,0 +1,16 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// SysRoleDept is the golang structure of table sys_role_dept for DAO operations like Where/Data. +type SysRoleDept struct { +g.Meta `orm:"table:sys_role_dept, do:true"` + RoleId interface{} // 角色ID + DeptId interface{} // 部门ID +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_user.go b/internal/service/internal/do/sys_user.go new file mode 100644 index 0000000..0fd5ea9 --- /dev/null +++ b/internal/service/internal/do/sys_user.go @@ -0,0 +1,36 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysUser is the golang structure of table sys_user for DAO operations like Where/Data. +type SysUser struct { +g.Meta `orm:"table:sys_user, do:true"` + Id interface{} // + UserName interface{} // 用户名 + Mobile interface{} // 中国手机不带国家代码,国际手机号格式为:国家代码-手机号 + UserNickname interface{} // 用户昵称 + Birthday interface{} // 生日 + UserPassword interface{} // 登录密码;cmf_password加密 + UserSalt interface{} // 加密盐 + UserStatus interface{} // 用户状态;0:禁用,1:正常,2:未验证 + UserEmail interface{} // 用户登录邮箱 + Sex interface{} // 性别;0:保密,1:男,2:女 + Avatar interface{} // 用户头像 + DeptId interface{} // 部门id + Remark interface{} // 备注 + IsAdmin interface{} // 是否后台管理员 1 是 0 否 + Address interface{} // 联系地址 + Describe interface{} // 描述信息 + LastLoginIp interface{} // 最后登录ip + LastLoginTime *gtime.Time // 最后登录时间 + CreatedAt *gtime.Time // 创建时间 + UpdatedAt *gtime.Time // 更新时间 + DeletedAt *gtime.Time // 删除时间 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_user_online.go b/internal/service/internal/do/sys_user_online.go new file mode 100644 index 0000000..550a88e --- /dev/null +++ b/internal/service/internal/do/sys_user_online.go @@ -0,0 +1,23 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// SysUserOnline is the golang structure of table sys_user_online for DAO operations like Where/Data. +type SysUserOnline struct { +g.Meta `orm:"table:sys_user_online, do:true"` + Id interface{} // + Uuid interface{} // 用户标识 + Token interface{} // 用户token + CreateTime *gtime.Time // 登录时间 + UserName interface{} // 用户名 + Ip interface{} // 登录ip + Explorer interface{} // 浏览器 + Os interface{} // 操作系统 +} \ No newline at end of file diff --git a/internal/service/internal/do/sys_user_post.go b/internal/service/internal/do/sys_user_post.go new file mode 100644 index 0000000..fd3ff1a --- /dev/null +++ b/internal/service/internal/do/sys_user_post.go @@ -0,0 +1,16 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +) + +// SysUserPost is the golang structure of table sys_user_post for DAO operations like Where/Data. +type SysUserPost struct { +g.Meta `orm:"table:sys_user_post, do:true"` + UserId interface{} // 用户ID + PostId interface{} // 岗位ID +} \ No newline at end of file diff --git a/internal/service/internal/do/web_operate_log.go b/internal/service/internal/do/web_operate_log.go new file mode 100644 index 0000000..d54f157 --- /dev/null +++ b/internal/service/internal/do/web_operate_log.go @@ -0,0 +1,23 @@ +// ================================================================================= +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2025-04-28 10:56:21 +// ================================================================================= + +package do + +import( +"github.com/gogf/gf/v2/frame/g" +"github.com/gogf/gf/v2/os/gtime" +) + +// WebOperateLog is the golang structure of table web_operate_log for DAO operations like Where/Data. +type WebOperateLog struct { +g.Meta `orm:"table:web_operate_log, do:true"` + Id interface{} // + FuncName interface{} // 调用功能 + Ip interface{} // 使用者ip + Ct *gtime.Time // 记录创建时间 + Content interface{} // 内容 + ReqJson interface{} // 请求内容 + CbData interface{} // 回调内容 + UserName interface{} // 操作账号 +} \ No newline at end of file