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