From 0031036de15030e915c0f3d67084c1e597128ed6 Mon Sep 17 00:00:00 2001 From: xiabin Date: Tue, 21 Jan 2025 16:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=BB=9F=E4=B8=80=E9=A9=BC?= =?UTF-8?q?=E5=B3=B0=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../etc/{gameopenapi-api.yaml => game_open_api-api.yaml} | 0 game_open_api/{gameOpenApi-Api.go => game_open_api.go} | 2 +- .../{appUserSetUserHandler.go => app_user_set_user_handler.go} | 0 ...{douyinCode2tokenHandler.go => douyin_code2token_handler.go} | 0 .../handler/douyin/{getEcpmHandler.go => get_ecpm_handler.go} | 0 .../game/{rankingListHandler.go => ranking_list_handler.go} | 0 .../{rankingSetScoreHandler.go => ranking_set_score_handler.go} | 0 ...hatCode2UserIdHandler.go => wechat_code2_user_id_handler.go} | 0 .../{appUserSetUserLogic.go => app_user_set_user_logic.go} | 0 .../{douyinCode2tokenLogic.go => douyin_code2token_logic.go} | 0 .../logic/douyin/{getEcpmLogic.go => get_ecpm_logic.go} | 0 .../logic/game/{rankingListLogic.go => ranking_list_logic.go} | 0 .../{rankingSetScoreLogic.go => ranking_set_score_logic.go} | 0 ...{wechatCode2UserIdLogic.go => wechat_code2_user_id_logic.go} | 0 .../internal/svc/{serviceContext.go => service_context.go} | 0 15 files changed, 1 insertion(+), 1 deletion(-) rename game_open_api/etc/{gameopenapi-api.yaml => game_open_api-api.yaml} (100%) rename game_open_api/{gameOpenApi-Api.go => game_open_api.go} (88%) rename game_open_api/internal/handler/app_user/{appUserSetUserHandler.go => app_user_set_user_handler.go} (100%) rename game_open_api/internal/handler/douyin/{douyinCode2tokenHandler.go => douyin_code2token_handler.go} (100%) rename game_open_api/internal/handler/douyin/{getEcpmHandler.go => get_ecpm_handler.go} (100%) rename game_open_api/internal/handler/game/{rankingListHandler.go => ranking_list_handler.go} (100%) rename game_open_api/internal/handler/game/{rankingSetScoreHandler.go => ranking_set_score_handler.go} (100%) rename game_open_api/internal/handler/wechat/{wechatCode2UserIdHandler.go => wechat_code2_user_id_handler.go} (100%) rename game_open_api/internal/logic/app_user/{appUserSetUserLogic.go => app_user_set_user_logic.go} (100%) rename game_open_api/internal/logic/douyin/{douyinCode2tokenLogic.go => douyin_code2token_logic.go} (100%) rename game_open_api/internal/logic/douyin/{getEcpmLogic.go => get_ecpm_logic.go} (100%) rename game_open_api/internal/logic/game/{rankingListLogic.go => ranking_list_logic.go} (100%) rename game_open_api/internal/logic/game/{rankingSetScoreLogic.go => ranking_set_score_logic.go} (100%) rename game_open_api/internal/logic/wechat/{wechatCode2UserIdLogic.go => wechat_code2_user_id_logic.go} (100%) rename game_open_api/internal/svc/{serviceContext.go => service_context.go} (100%) diff --git a/game_open_api/etc/gameopenapi-api.yaml b/game_open_api/etc/game_open_api-api.yaml similarity index 100% rename from game_open_api/etc/gameopenapi-api.yaml rename to game_open_api/etc/game_open_api-api.yaml diff --git a/game_open_api/gameOpenApi-Api.go b/game_open_api/game_open_api.go similarity index 88% rename from game_open_api/gameOpenApi-Api.go rename to game_open_api/game_open_api.go index 2d7e7ee..235fd4b 100644 --- a/game_open_api/gameOpenApi-Api.go +++ b/game_open_api/game_open_api.go @@ -11,7 +11,7 @@ import ( "github.com/zeromicro/go-zero/rest" ) -var configFile = flag.String("f", "etc/gameOpenApi-Api.yaml", "the config file") +var configFile = flag.String("f", "etc/game_open_api-api.yaml", "the config file") func main() { flag.Parse() diff --git a/game_open_api/internal/handler/app_user/appUserSetUserHandler.go b/game_open_api/internal/handler/app_user/app_user_set_user_handler.go similarity index 100% rename from game_open_api/internal/handler/app_user/appUserSetUserHandler.go rename to game_open_api/internal/handler/app_user/app_user_set_user_handler.go diff --git a/game_open_api/internal/handler/douyin/douyinCode2tokenHandler.go b/game_open_api/internal/handler/douyin/douyin_code2token_handler.go similarity index 100% rename from game_open_api/internal/handler/douyin/douyinCode2tokenHandler.go rename to game_open_api/internal/handler/douyin/douyin_code2token_handler.go diff --git a/game_open_api/internal/handler/douyin/getEcpmHandler.go b/game_open_api/internal/handler/douyin/get_ecpm_handler.go similarity index 100% rename from game_open_api/internal/handler/douyin/getEcpmHandler.go rename to game_open_api/internal/handler/douyin/get_ecpm_handler.go diff --git a/game_open_api/internal/handler/game/rankingListHandler.go b/game_open_api/internal/handler/game/ranking_list_handler.go similarity index 100% rename from game_open_api/internal/handler/game/rankingListHandler.go rename to game_open_api/internal/handler/game/ranking_list_handler.go diff --git a/game_open_api/internal/handler/game/rankingSetScoreHandler.go b/game_open_api/internal/handler/game/ranking_set_score_handler.go similarity index 100% rename from game_open_api/internal/handler/game/rankingSetScoreHandler.go rename to game_open_api/internal/handler/game/ranking_set_score_handler.go diff --git a/game_open_api/internal/handler/wechat/wechatCode2UserIdHandler.go b/game_open_api/internal/handler/wechat/wechat_code2_user_id_handler.go similarity index 100% rename from game_open_api/internal/handler/wechat/wechatCode2UserIdHandler.go rename to game_open_api/internal/handler/wechat/wechat_code2_user_id_handler.go diff --git a/game_open_api/internal/logic/app_user/appUserSetUserLogic.go b/game_open_api/internal/logic/app_user/app_user_set_user_logic.go similarity index 100% rename from game_open_api/internal/logic/app_user/appUserSetUserLogic.go rename to game_open_api/internal/logic/app_user/app_user_set_user_logic.go diff --git a/game_open_api/internal/logic/douyin/douyinCode2tokenLogic.go b/game_open_api/internal/logic/douyin/douyin_code2token_logic.go similarity index 100% rename from game_open_api/internal/logic/douyin/douyinCode2tokenLogic.go rename to game_open_api/internal/logic/douyin/douyin_code2token_logic.go diff --git a/game_open_api/internal/logic/douyin/getEcpmLogic.go b/game_open_api/internal/logic/douyin/get_ecpm_logic.go similarity index 100% rename from game_open_api/internal/logic/douyin/getEcpmLogic.go rename to game_open_api/internal/logic/douyin/get_ecpm_logic.go diff --git a/game_open_api/internal/logic/game/rankingListLogic.go b/game_open_api/internal/logic/game/ranking_list_logic.go similarity index 100% rename from game_open_api/internal/logic/game/rankingListLogic.go rename to game_open_api/internal/logic/game/ranking_list_logic.go diff --git a/game_open_api/internal/logic/game/rankingSetScoreLogic.go b/game_open_api/internal/logic/game/ranking_set_score_logic.go similarity index 100% rename from game_open_api/internal/logic/game/rankingSetScoreLogic.go rename to game_open_api/internal/logic/game/ranking_set_score_logic.go diff --git a/game_open_api/internal/logic/wechat/wechatCode2UserIdLogic.go b/game_open_api/internal/logic/wechat/wechat_code2_user_id_logic.go similarity index 100% rename from game_open_api/internal/logic/wechat/wechatCode2UserIdLogic.go rename to game_open_api/internal/logic/wechat/wechat_code2_user_id_logic.go diff --git a/game_open_api/internal/svc/serviceContext.go b/game_open_api/internal/svc/service_context.go similarity index 100% rename from game_open_api/internal/svc/serviceContext.go rename to game_open_api/internal/svc/service_context.go