From 139e9d001220c22dc7dd2778d6ea306c3510b03c Mon Sep 17 00:00:00 2001 From: yangduo Date: Mon, 22 Jul 2024 10:57:40 +0800 Subject: [PATCH] gamesapi --- bin/gamesapi/bin/.gitkeep | 0 bin/gamesapi/config/config.json | 6 ++++++ bin/gamesapi/config/gamesapi.cluster.json | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 bin/gamesapi/bin/.gitkeep create mode 100644 bin/gamesapi/config/config.json create mode 100644 bin/gamesapi/config/gamesapi.cluster.json diff --git a/bin/gamesapi/bin/.gitkeep b/bin/gamesapi/bin/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/bin/gamesapi/config/config.json b/bin/gamesapi/config/config.json new file mode 100644 index 00000000..bc09a7e3 --- /dev/null +++ b/bin/gamesapi/config/config.json @@ -0,0 +1,6 @@ +{ + "gamesapi_url": "https://game2006sapi-test.kingsome.cn", + "redirect_url": "https://game2006api-test.kingsome.cn/", + "max_request_cache": 10, + "request_over_time": 30 +} diff --git a/bin/gamesapi/config/gamesapi.cluster.json b/bin/gamesapi/config/gamesapi.cluster.json new file mode 100644 index 00000000..6c2f1036 --- /dev/null +++ b/bin/gamesapi/config/gamesapi.cluster.json @@ -0,0 +1,7 @@ +[ + { + "instance_id": 1, + "listen_port": 8890, + "http_listen_port": 9990 + } +]