From 89be1fc967141168533759e2b622998789cf8894 Mon Sep 17 00:00:00 2001 From: line-6000 <154492442+line-6000@users.noreply.github.com> Date: Thu, 23 Apr 2026 02:17:21 +0800 Subject: [PATCH] Refactor project structure and update import paths to GMWalletApp/epusdt --- README.md | 8 ++++---- .../Http/Controllers/Pay/EpusdtController.php | 4 ++-- plugins/dujiaoka/routes/common/pay.php | 4 ++-- src/bootstrap/bootstrap.go | 16 ++++++++-------- src/command/banner.go | 2 +- src/command/http_server.go | 16 ++++++++-------- src/command/root.go | 2 +- src/command/version.go | 2 +- src/config/config.go | 2 +- src/controller/admin/api_key_controller.go | 4 ++-- src/controller/admin/auth_controller.go | 6 +++--- src/controller/admin/base.go | 4 ++-- src/controller/admin/chain_controller.go | 2 +- src/controller/admin/chain_token_controller.go | 4 ++-- src/controller/admin/dashboard_controller.go | 2 +- .../admin/notification_controller.go | 8 ++++---- src/controller/admin/order_controller.go | 8 ++++---- src/controller/admin/rpc_controller.go | 6 +++--- src/controller/admin/settings_controller.go | 8 ++++---- src/controller/admin/wallet_controller.go | 6 +++--- src/controller/base.go | 2 +- src/controller/comm/base.go | 2 +- src/controller/comm/order_controller.go | 12 ++++++------ src/controller/comm/pay_controller.go | 6 +++--- .../comm/supported_asset_controller.go | 6 +++--- src/go.mod | 2 +- src/install/installer.go | 2 +- src/internal/testutil/testdb.go | 8 ++++---- src/main.go | 2 +- src/middleware/check_jwt.go | 2 +- src/middleware/check_sign.go | 8 ++++---- src/model/dao/mdb_mysql.go | 4 ++-- src/model/dao/mdb_postgres.go | 4 ++-- src/model/dao/mdb_sqlite.go | 4 ++-- src/model/dao/mdb_table_init.go | 2 +- src/model/dao/runtime_sqlite.go | 6 +++--- src/model/data/admin_user_data.go | 4 ++-- src/model/data/api_key_data.go | 4 ++-- src/model/data/chain_data.go | 4 ++-- src/model/data/chain_token_data.go | 4 ++-- src/model/data/notification_channel_data.go | 4 ++-- src/model/data/order_admin_data.go | 4 ++-- src/model/data/order_data.go | 6 +++--- src/model/data/order_data_stats.go | 4 ++-- src/model/data/order_data_test.go | 4 ++-- src/model/data/rpc_node_data.go | 4 ++-- src/model/data/rpc_node_data_test.go | 6 +++--- src/model/data/settings_data.go | 4 ++-- src/model/data/wallet_address_data.go | 6 +++--- src/model/data/wallet_address_data_test.go | 6 +++--- src/model/service/order_service.go | 18 +++++++++--------- src/model/service/order_service_test.go | 12 ++++++------ src/model/service/pay_service.go | 8 ++++---- src/model/service/sol_task.go | 14 +++++++------- src/model/service/sol_task_test.go | 6 +++--- src/model/service/task_service.go | 18 +++++++++--------- src/model/service/task_tron_test.go | 6 +++--- src/mq/queue.go | 2 +- src/mq/worker.go | 16 ++++++++-------- src/mq/worker_test.go | 10 +++++----- src/notify/dispatcher.go | 6 +++--- src/route/admin_router_test.go | 6 +++--- src/route/router.go | 14 +++++++------- src/route/router_test.go | 10 +++++----- src/task/listen.go | 2 +- src/task/listen_bsc.go | 8 ++++---- src/task/listen_chain_common.go | 6 +++--- src/task/listen_chain_common_test.go | 6 +++--- src/task/listen_eth.go | 8 ++++---- src/task/listen_evm_ws.go | 2 +- src/task/listen_plasma.go | 8 ++++---- src/task/listen_polygon.go | 8 ++++---- src/task/listen_sol_job.go | 8 ++++---- src/task/listen_trc20_job.go | 8 ++++---- src/task/rpc_health_job.go | 6 +++--- src/task/rpc_health_job_test.go | 2 +- src/telegram/handle.go | 4 ++-- src/telegram/telegram.go | 4 ++-- src/telegram/telegram_test.go | 10 +++++----- src/telegram/utils.go | 2 +- src/util/http/response.go | 4 ++-- src/util/jwt/jwt.go | 4 ++-- src/util/log/log.go | 2 +- src/util/sign/sign.go | 2 +- wiki/BT_RUN.md | 4 ++-- wiki/manual_RUN.md | 4 ++-- 86 files changed, 254 insertions(+), 254 deletions(-) diff --git a/README.md b/README.md index 4a2d6dd..cc755b8 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@

- GitHub Stars 3000+ + GitHub Stars 3000+ GPLv3 License Go 1.16+ - Latest Release + Latest Release

--- @@ -42,7 +42,7 @@ Deploy it privately, integrate via HTTP API, and start receiving **crypto paymen | **Polygon** | USDT、USDC | | **更多** | 持续扩展中… | -> 💡 具体支持的链与代币以 [最新版本](https://github.com/assimon/epusdt/releases) 及 [官方文档](https://epusdt.com) 为准。 +> 💡 具体支持的链与代币以 [最新版本](https://github.com/GMWalletApp/epusdt/releases) 及 [官方文档](https://epusdt.com) 为准。 --- @@ -123,7 +123,7 @@ Epusdt 通过监听多条区块链网络(TRC20、ERC20、BEP20、Polygon 等 ## 💬 社区与支持 -**遇到问题?** 请优先在 GitHub 提交 [Issue](https://github.com/assimon/epusdt/issues),我们会**优先处理** Issue 中的反馈。 +**遇到问题?** 请优先在 GitHub 提交 [Issue](https://github.com/GMWalletApp/epusdt/issues),我们会**优先处理** Issue 中的反馈。 加入 Telegram 社区,获取最新开发动态,参与需求调研,与超过5000名活跃用户交流使用经验,对接商业资源: diff --git a/plugins/dujiaoka/app/Http/Controllers/Pay/EpusdtController.php b/plugins/dujiaoka/app/Http/Controllers/Pay/EpusdtController.php index 37a7d14..e18aa85 100644 --- a/plugins/dujiaoka/app/Http/Controllers/Pay/EpusdtController.php +++ b/plugins/dujiaoka/app/Http/Controllers/Pay/EpusdtController.php @@ -2,8 +2,8 @@ /** * The file was created by Assimon. * - * @author assimon - * @copyright assimon + * @author GMWalletApp + * @copyright GMWalletApp * @link http://utf8.hk/ */ diff --git a/plugins/dujiaoka/routes/common/pay.php b/plugins/dujiaoka/routes/common/pay.php index b4f27ed..9dc3a8e 100644 --- a/plugins/dujiaoka/routes/common/pay.php +++ b/plugins/dujiaoka/routes/common/pay.php @@ -2,8 +2,8 @@ /** * The file was created by Assimon. * - * @author assimon - * @copyright assimon + * @author GMWalletApp + * @copyright GMWalletApp * @link http://utf8.hk/ */ use Illuminate\Support\Facades\Route; diff --git a/src/bootstrap/bootstrap.go b/src/bootstrap/bootstrap.go index c7b210d..9c653ad 100644 --- a/src/bootstrap/bootstrap.go +++ b/src/bootstrap/bootstrap.go @@ -3,14 +3,14 @@ package bootstrap import ( "sync" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/mq" - "github.com/assimon/luuu/task" - "github.com/assimon/luuu/telegram" - appjwt "github.com/assimon/luuu/util/jwt" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/mq" + "github.com/GMWalletApp/epusdt/task" + "github.com/GMWalletApp/epusdt/telegram" + appjwt "github.com/GMWalletApp/epusdt/util/jwt" + "github.com/GMWalletApp/epusdt/util/log" "github.com/gookit/color" ) diff --git a/src/command/banner.go b/src/command/banner.go index bbbf8d7..3b307c1 100644 --- a/src/command/banner.go +++ b/src/command/banner.go @@ -1,7 +1,7 @@ package command import ( - "github.com/assimon/luuu/config" + "github.com/GMWalletApp/epusdt/config" "github.com/gookit/color" ) diff --git a/src/command/http_server.go b/src/command/http_server.go index d9a54ed..7e3bf02 100644 --- a/src/command/http_server.go +++ b/src/command/http_server.go @@ -9,14 +9,14 @@ import ( "strings" "time" - "github.com/assimon/luuu/bootstrap" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/install" - "github.com/assimon/luuu/middleware" - "github.com/assimon/luuu/route" - "github.com/assimon/luuu/util/constant" - luluHttp "github.com/assimon/luuu/util/http" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/bootstrap" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/install" + "github.com/GMWalletApp/epusdt/middleware" + "github.com/GMWalletApp/epusdt/route" + "github.com/GMWalletApp/epusdt/util/constant" + luluHttp "github.com/GMWalletApp/epusdt/util/http" + "github.com/GMWalletApp/epusdt/util/log" "github.com/labstack/echo/v4" echoMiddleware "github.com/labstack/echo/v4/middleware" "github.com/spf13/cobra" diff --git a/src/command/root.go b/src/command/root.go index 3502187..fa56a51 100644 --- a/src/command/root.go +++ b/src/command/root.go @@ -1,7 +1,7 @@ package command import ( - "github.com/assimon/luuu/config" + "github.com/GMWalletApp/epusdt/config" "github.com/spf13/cobra" ) diff --git a/src/command/version.go b/src/command/version.go index 6394222..de91e63 100644 --- a/src/command/version.go +++ b/src/command/version.go @@ -3,7 +3,7 @@ package command import ( "fmt" - "github.com/assimon/luuu/config" + "github.com/GMWalletApp/epusdt/config" "github.com/spf13/cobra" ) diff --git a/src/config/config.go b/src/config/config.go index 1bf2a39..73e35f6 100644 --- a/src/config/config.go +++ b/src/config/config.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/assimon/luuu/util/http_client" + "github.com/GMWalletApp/epusdt/util/http_client" "github.com/spf13/viper" "github.com/tidwall/gjson" ) diff --git a/src/controller/admin/api_key_controller.go b/src/controller/admin/api_key_controller.go index d96f646..06384ab 100644 --- a/src/controller/admin/api_key_controller.go +++ b/src/controller/admin/api_key_controller.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/auth_controller.go b/src/controller/admin/auth_controller.go index aeee4c2..1df4e75 100644 --- a/src/controller/admin/auth_controller.go +++ b/src/controller/admin/auth_controller.go @@ -3,9 +3,9 @@ package admin import ( "errors" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - appjwt "github.com/assimon/luuu/util/jwt" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + appjwt "github.com/GMWalletApp/epusdt/util/jwt" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/base.go b/src/controller/admin/base.go index a1dc487..80f770c 100644 --- a/src/controller/admin/base.go +++ b/src/controller/admin/base.go @@ -1,8 +1,8 @@ package admin import ( - "github.com/assimon/luuu/controller" - "github.com/assimon/luuu/middleware" + "github.com/GMWalletApp/epusdt/controller" + "github.com/GMWalletApp/epusdt/middleware" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/chain_controller.go b/src/controller/admin/chain_controller.go index 15bdf98..2db08c4 100644 --- a/src/controller/admin/chain_controller.go +++ b/src/controller/admin/chain_controller.go @@ -1,7 +1,7 @@ package admin import ( - "github.com/assimon/luuu/model/data" + "github.com/GMWalletApp/epusdt/model/data" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/chain_token_controller.go b/src/controller/admin/chain_token_controller.go index b341b49..034db84 100644 --- a/src/controller/admin/chain_token_controller.go +++ b/src/controller/admin/chain_token_controller.go @@ -4,8 +4,8 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/dashboard_controller.go b/src/controller/admin/dashboard_controller.go index 49af03a..ea2ff07 100644 --- a/src/controller/admin/dashboard_controller.go +++ b/src/controller/admin/dashboard_controller.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/assimon/luuu/model/data" + "github.com/GMWalletApp/epusdt/model/data" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/notification_controller.go b/src/controller/admin/notification_controller.go index 49c66ce..ac7e18a 100644 --- a/src/controller/admin/notification_controller.go +++ b/src/controller/admin/notification_controller.go @@ -6,10 +6,10 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/notify" - "github.com/assimon/luuu/telegram" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/notify" + "github.com/GMWalletApp/epusdt/telegram" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/order_controller.go b/src/controller/admin/order_controller.go index 65e4baa..82fafbc 100644 --- a/src/controller/admin/order_controller.go +++ b/src/controller/admin/order_controller.go @@ -9,10 +9,10 @@ import ( "strings" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/request" - "github.com/assimon/luuu/model/service" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/request" + "github.com/GMWalletApp/epusdt/model/service" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/rpc_controller.go b/src/controller/admin/rpc_controller.go index 19e03c4..c57848b 100644 --- a/src/controller/admin/rpc_controller.go +++ b/src/controller/admin/rpc_controller.go @@ -5,9 +5,9 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/task" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/task" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/settings_controller.go b/src/controller/admin/settings_controller.go index 16bb142..1ef508a 100644 --- a/src/controller/admin/settings_controller.go +++ b/src/controller/admin/settings_controller.go @@ -3,10 +3,10 @@ package admin import ( "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/telegram" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/telegram" "github.com/labstack/echo/v4" ) diff --git a/src/controller/admin/wallet_controller.go b/src/controller/admin/wallet_controller.go index 682382d..3e938ea 100644 --- a/src/controller/admin/wallet_controller.go +++ b/src/controller/admin/wallet_controller.go @@ -5,9 +5,9 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/labstack/echo/v4" ) diff --git a/src/controller/base.go b/src/controller/base.go index fb25bba..928eec9 100644 --- a/src/controller/base.go +++ b/src/controller/base.go @@ -2,7 +2,7 @@ package controller import ( "errors" - "github.com/assimon/luuu/util/http" + "github.com/GMWalletApp/epusdt/util/http" "github.com/gookit/validate" "github.com/gookit/validate/locales/zhcn" "github.com/gookit/validate/locales/zhtw" diff --git a/src/controller/comm/base.go b/src/controller/comm/base.go index b0b18a3..bd649d9 100644 --- a/src/controller/comm/base.go +++ b/src/controller/comm/base.go @@ -1,6 +1,6 @@ package comm -import "github.com/assimon/luuu/controller" +import "github.com/GMWalletApp/epusdt/controller" var Ctrl = &BaseCommController{} diff --git a/src/controller/comm/order_controller.go b/src/controller/comm/order_controller.go index 62c150f..208b060 100644 --- a/src/controller/comm/order_controller.go +++ b/src/controller/comm/order_controller.go @@ -4,12 +4,12 @@ import ( "encoding/json" "net/http" - "github.com/assimon/luuu/middleware" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/request" - "github.com/assimon/luuu/model/service" - "github.com/assimon/luuu/util/constant" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/middleware" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/request" + "github.com/GMWalletApp/epusdt/model/service" + "github.com/GMWalletApp/epusdt/util/constant" + "github.com/GMWalletApp/epusdt/util/log" "github.com/labstack/echo/v4" ) diff --git a/src/controller/comm/pay_controller.go b/src/controller/comm/pay_controller.go index fe7f7fa..46aad94 100644 --- a/src/controller/comm/pay_controller.go +++ b/src/controller/comm/pay_controller.go @@ -5,9 +5,9 @@ import ( "net/http" "path/filepath" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/response" - "github.com/assimon/luuu/model/service" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/response" + "github.com/GMWalletApp/epusdt/model/service" "github.com/labstack/echo/v4" ) diff --git a/src/controller/comm/supported_asset_controller.go b/src/controller/comm/supported_asset_controller.go index 2afb5a0..0ad4063 100644 --- a/src/controller/comm/supported_asset_controller.go +++ b/src/controller/comm/supported_asset_controller.go @@ -5,9 +5,9 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/response" - "github.com/assimon/luuu/util/constant" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/response" + "github.com/GMWalletApp/epusdt/util/constant" "github.com/labstack/echo/v4" ) diff --git a/src/go.mod b/src/go.mod index 93cfa87..bce7967 100644 --- a/src/go.mod +++ b/src/go.mod @@ -1,4 +1,4 @@ -module github.com/assimon/luuu +module github.com/GMWalletApp/epusdt go 1.25.0 diff --git a/src/install/installer.go b/src/install/installer.go index 312070b..a22625d 100644 --- a/src/install/installer.go +++ b/src/install/installer.go @@ -28,7 +28,7 @@ import ( "text/template" "time" - luluHttp "github.com/assimon/luuu/util/http" + luluHttp "github.com/GMWalletApp/epusdt/util/http" "github.com/gookit/color" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" diff --git a/src/internal/testutil/testdb.go b/src/internal/testutil/testdb.go index 6e5e07e..16ec05b 100644 --- a/src/internal/testutil/testdb.go +++ b/src/internal/testutil/testdb.go @@ -4,10 +4,10 @@ import ( "path/filepath" "testing" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" - appLog "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" + appLog "github.com/GMWalletApp/epusdt/util/log" "github.com/libtnb/sqlite" "github.com/spf13/viper" "go.uber.org/zap" diff --git a/src/main.go b/src/main.go index 71b95b1..b5b62a4 100644 --- a/src/main.go +++ b/src/main.go @@ -8,7 +8,7 @@ import ( "os" "path/filepath" - "github.com/assimon/luuu/command" + "github.com/GMWalletApp/epusdt/command" "github.com/gookit/color" ) diff --git a/src/middleware/check_jwt.go b/src/middleware/check_jwt.go index 7e11931..9428d81 100644 --- a/src/middleware/check_jwt.go +++ b/src/middleware/check_jwt.go @@ -4,7 +4,7 @@ import ( "net/http" "strings" - appjwt "github.com/assimon/luuu/util/jwt" + appjwt "github.com/GMWalletApp/epusdt/util/jwt" "github.com/labstack/echo/v4" ) diff --git a/src/middleware/check_sign.go b/src/middleware/check_sign.go index d615a48..8cb3331 100644 --- a/src/middleware/check_sign.go +++ b/src/middleware/check_sign.go @@ -9,10 +9,10 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/util/constant" - "github.com/assimon/luuu/util/json" - "github.com/assimon/luuu/util/sign" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/util/constant" + "github.com/GMWalletApp/epusdt/util/json" + "github.com/GMWalletApp/epusdt/util/sign" "github.com/labstack/echo/v4" ) diff --git a/src/model/dao/mdb_mysql.go b/src/model/dao/mdb_mysql.go index a522971..bacc186 100644 --- a/src/model/dao/mdb_mysql.go +++ b/src/model/dao/mdb_mysql.go @@ -3,8 +3,8 @@ package dao import ( "time" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/util/log" "github.com/gookit/color" "github.com/spf13/viper" "gorm.io/driver/mysql" diff --git a/src/model/dao/mdb_postgres.go b/src/model/dao/mdb_postgres.go index 98a9ea1..85b9680 100644 --- a/src/model/dao/mdb_postgres.go +++ b/src/model/dao/mdb_postgres.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/util/log" "github.com/gookit/color" "github.com/spf13/viper" "gorm.io/driver/postgres" diff --git a/src/model/dao/mdb_sqlite.go b/src/model/dao/mdb_sqlite.go index 9fc48f6..b14d7c9 100644 --- a/src/model/dao/mdb_sqlite.go +++ b/src/model/dao/mdb_sqlite.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/util/log" "github.com/gookit/color" "github.com/spf13/viper" diff --git a/src/model/dao/mdb_table_init.go b/src/model/dao/mdb_table_init.go index e9e30c7..2d482ad 100644 --- a/src/model/dao/mdb_table_init.go +++ b/src/model/dao/mdb_table_init.go @@ -6,7 +6,7 @@ import ( "strings" "sync" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/gookit/color" "gorm.io/gorm/clause" ) diff --git a/src/model/dao/runtime_sqlite.go b/src/model/dao/runtime_sqlite.go index 291a518..2b23e46 100644 --- a/src/model/dao/runtime_sqlite.go +++ b/src/model/dao/runtime_sqlite.go @@ -1,9 +1,9 @@ package dao import ( - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/log" "github.com/gookit/color" "gorm.io/gorm" "gorm.io/gorm/logger" diff --git a/src/model/data/admin_user_data.go b/src/model/data/admin_user_data.go index f1be346..ba4d86c 100644 --- a/src/model/data/admin_user_data.go +++ b/src/model/data/admin_user_data.go @@ -9,8 +9,8 @@ import ( "fmt" "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/dromara/carbon/v2" "golang.org/x/crypto/bcrypt" "gorm.io/gorm" diff --git a/src/model/data/api_key_data.go b/src/model/data/api_key_data.go index 9d9e23f..1f14ed5 100644 --- a/src/model/data/api_key_data.go +++ b/src/model/data/api_key_data.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/dromara/carbon/v2" "gorm.io/gorm" ) diff --git a/src/model/data/chain_data.go b/src/model/data/chain_data.go index 002f319..173fa05 100644 --- a/src/model/data/chain_data.go +++ b/src/model/data/chain_data.go @@ -3,8 +3,8 @@ package data import ( "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) // ListChains returns all chain rows ordered by id. diff --git a/src/model/data/chain_token_data.go b/src/model/data/chain_token_data.go index fd83946..6c5b2c5 100644 --- a/src/model/data/chain_token_data.go +++ b/src/model/data/chain_token_data.go @@ -3,8 +3,8 @@ package data import ( "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) // ListEnabledChainTokens returns enabled tokens, optionally filtered by network. diff --git a/src/model/data/notification_channel_data.go b/src/model/data/notification_channel_data.go index ce2edb6..ede52ac 100644 --- a/src/model/data/notification_channel_data.go +++ b/src/model/data/notification_channel_data.go @@ -4,8 +4,8 @@ import ( "encoding/json" "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) // ListNotificationChannels returns all rows, optionally filtered by type. diff --git a/src/model/data/order_admin_data.go b/src/model/data/order_admin_data.go index 190a63f..f64d006 100644 --- a/src/model/data/order_admin_data.go +++ b/src/model/data/order_admin_data.go @@ -4,8 +4,8 @@ import ( "strings" "time" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" "gorm.io/gorm" ) diff --git a/src/model/data/order_data.go b/src/model/data/order_data.go index 32760ba..3528aae 100644 --- a/src/model/data/order_data.go +++ b/src/model/data/order_data.go @@ -5,9 +5,9 @@ import ( "strings" "time" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/request" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/request" "github.com/dromara/carbon/v2" "github.com/shopspring/decimal" "gorm.io/gorm" diff --git a/src/model/data/order_data_stats.go b/src/model/data/order_data_stats.go index 1db8f37..cf75d39 100644 --- a/src/model/data/order_data_stats.go +++ b/src/model/data/order_data_stats.go @@ -3,8 +3,8 @@ package data import ( "time" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) // DailyStat is one bucket of day-level aggregation used by the diff --git a/src/model/data/order_data_test.go b/src/model/data/order_data_test.go index 0da602f..c42c393 100644 --- a/src/model/data/order_data_test.go +++ b/src/model/data/order_data_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/mdb" ) func TestEvmTransactionLockAddressIsCaseInsensitive(t *testing.T) { diff --git a/src/model/data/rpc_node_data.go b/src/model/data/rpc_node_data.go index dafd2e1..84a0acb 100644 --- a/src/model/data/rpc_node_data.go +++ b/src/model/data/rpc_node_data.go @@ -4,8 +4,8 @@ import ( "math/rand" "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/dromara/carbon/v2" ) diff --git a/src/model/data/rpc_node_data_test.go b/src/model/data/rpc_node_data_test.go index d5638ae..b981455 100644 --- a/src/model/data/rpc_node_data_test.go +++ b/src/model/data/rpc_node_data_test.go @@ -3,9 +3,9 @@ package data import ( "testing" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) func TestSelectRpcNodeUsesHealthyRow(t *testing.T) { diff --git a/src/model/data/settings_data.go b/src/model/data/settings_data.go index 98e7285..86fa84e 100644 --- a/src/model/data/settings_data.go +++ b/src/model/data/settings_data.go @@ -5,8 +5,8 @@ import ( "strings" "sync" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" "gorm.io/gorm/clause" ) diff --git a/src/model/data/wallet_address_data.go b/src/model/data/wallet_address_data.go index 4f146b6..0c562b5 100644 --- a/src/model/data/wallet_address_data.go +++ b/src/model/data/wallet_address_data.go @@ -3,9 +3,9 @@ package data import ( "strings" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/constant" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/constant" ) // AddWalletAddress 创建钱包 (默认 tron 网络,用于 Telegram 添加) diff --git a/src/model/data/wallet_address_data_test.go b/src/model/data/wallet_address_data_test.go index 673efdd..fb9149e 100644 --- a/src/model/data/wallet_address_data_test.go +++ b/src/model/data/wallet_address_data_test.go @@ -4,9 +4,9 @@ import ( "strings" "testing" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) func TestAddWalletAddressWithNetworkNormalizesEvmAddressToLowercase(t *testing.T) { diff --git a/src/model/service/order_service.go b/src/model/service/order_service.go index ea143d2..5e721fb 100644 --- a/src/model/service/order_service.go +++ b/src/model/service/order_service.go @@ -8,15 +8,15 @@ import ( "sync" "time" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/request" - "github.com/assimon/luuu/model/response" - "github.com/assimon/luuu/util/constant" - "github.com/assimon/luuu/util/log" - "github.com/assimon/luuu/util/math" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/request" + "github.com/GMWalletApp/epusdt/model/response" + "github.com/GMWalletApp/epusdt/util/constant" + "github.com/GMWalletApp/epusdt/util/log" + "github.com/GMWalletApp/epusdt/util/math" "github.com/dromara/carbon/v2" "github.com/shopspring/decimal" ) diff --git a/src/model/service/order_service_test.go b/src/model/service/order_service_test.go index 2bdebd9..a365890 100644 --- a/src/model/service/order_service_test.go +++ b/src/model/service/order_service_test.go @@ -6,12 +6,12 @@ import ( "sync" "testing" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/request" - "github.com/assimon/luuu/util/constant" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/request" + "github.com/GMWalletApp/epusdt/util/constant" ) func newCreateTransactionRequest(orderID string, amount float64) *request.CreateTransactionRequest { diff --git a/src/model/service/pay_service.go b/src/model/service/pay_service.go index 011707d..1e20e9f 100644 --- a/src/model/service/pay_service.go +++ b/src/model/service/pay_service.go @@ -3,10 +3,10 @@ package service import ( "errors" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/response" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/response" ) var ErrOrder = errors.New("不存在待支付订单或已过期") diff --git a/src/model/service/sol_task.go b/src/model/service/sol_task.go index d32b57d..afad6b7 100644 --- a/src/model/service/sol_task.go +++ b/src/model/service/sol_task.go @@ -10,13 +10,13 @@ import ( "sync" "time" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/request" - "github.com/assimon/luuu/util/constant" - "github.com/assimon/luuu/util/log" - "github.com/assimon/luuu/util/math" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/request" + "github.com/GMWalletApp/epusdt/util/constant" + "github.com/GMWalletApp/epusdt/util/log" + "github.com/GMWalletApp/epusdt/util/math" "github.com/gagliardetto/solana-go" "github.com/go-resty/resty/v2" "github.com/shopspring/decimal" diff --git a/src/model/service/sol_task_test.go b/src/model/service/sol_task_test.go index cdb3359..61c19fe 100644 --- a/src/model/service/sol_task_test.go +++ b/src/model/service/sol_task_test.go @@ -5,9 +5,9 @@ import ( "os" "testing" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/tidwall/gjson" ) diff --git a/src/model/service/task_service.go b/src/model/service/task_service.go index 9fbda51..8e6c0d2 100644 --- a/src/model/service/task_service.go +++ b/src/model/service/task_service.go @@ -9,15 +9,15 @@ import ( "strings" "sync" - tron "github.com/assimon/luuu/crypto" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/request" - "github.com/assimon/luuu/notify" - "github.com/assimon/luuu/util/constant" - "github.com/assimon/luuu/util/http_client" - "github.com/assimon/luuu/util/log" - "github.com/assimon/luuu/util/math" + tron "github.com/GMWalletApp/epusdt/crypto" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/request" + "github.com/GMWalletApp/epusdt/notify" + "github.com/GMWalletApp/epusdt/util/constant" + "github.com/GMWalletApp/epusdt/util/http_client" + "github.com/GMWalletApp/epusdt/util/log" + "github.com/GMWalletApp/epusdt/util/math" "github.com/dromara/carbon/v2" "github.com/ethereum/go-ethereum/common" "github.com/gookit/goutil/stdutil" diff --git a/src/model/service/task_tron_test.go b/src/model/service/task_tron_test.go index ff39291..b5dc7a2 100644 --- a/src/model/service/task_tron_test.go +++ b/src/model/service/task_tron_test.go @@ -3,9 +3,9 @@ package service import ( "testing" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) // TestResolveTronNode_NoRow verifies that resolveTronNode requires an enabled diff --git a/src/mq/queue.go b/src/mq/queue.go index 8d350e5..275711d 100644 --- a/src/mq/queue.go +++ b/src/mq/queue.go @@ -3,7 +3,7 @@ package mq import ( "sync" - "github.com/assimon/luuu/config" + "github.com/GMWalletApp/epusdt/config" ) var ( diff --git a/src/mq/worker.go b/src/mq/worker.go index ede7fb9..dfcb829 100644 --- a/src/mq/worker.go +++ b/src/mq/worker.go @@ -8,14 +8,14 @@ import ( "strings" "time" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/response" - "github.com/assimon/luuu/util/http_client" - "github.com/assimon/luuu/util/log" - "github.com/assimon/luuu/util/sign" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/response" + "github.com/GMWalletApp/epusdt/util/http_client" + "github.com/GMWalletApp/epusdt/util/log" + "github.com/GMWalletApp/epusdt/util/sign" ) // resolveOrderApiKey returns the api_keys row that signed the order. diff --git a/src/mq/worker_test.go b/src/mq/worker_test.go index e21f07e..4ed9549 100644 --- a/src/mq/worker_test.go +++ b/src/mq/worker_test.go @@ -10,11 +10,11 @@ import ( "testing" "time" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/sign" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/sign" ) func TestProcessExpiredOrdersExpiresWaitingOrdersAndReleasesLocks(t *testing.T) { diff --git a/src/notify/dispatcher.go b/src/notify/dispatcher.go index 5e5e8ca..eee34d3 100644 --- a/src/notify/dispatcher.go +++ b/src/notify/dispatcher.go @@ -8,9 +8,9 @@ import ( "encoding/json" "sync" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/log" ) // Sender delivers an already-rendered text message via a channel row. diff --git a/src/route/admin_router_test.go b/src/route/admin_router_test.go index 907d924..ea1c50f 100644 --- a/src/route/admin_router_test.go +++ b/src/route/admin_router_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/labstack/echo/v4" ) diff --git a/src/route/router.go b/src/route/router.go index 90befaa..cd5c380 100644 --- a/src/route/router.go +++ b/src/route/router.go @@ -9,13 +9,13 @@ import ( "net/http" "strconv" - "github.com/assimon/luuu/controller/admin" - "github.com/assimon/luuu/controller/comm" - "github.com/assimon/luuu/middleware" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/constant" - "github.com/assimon/luuu/util/sign" + "github.com/GMWalletApp/epusdt/controller/admin" + "github.com/GMWalletApp/epusdt/controller/comm" + "github.com/GMWalletApp/epusdt/middleware" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/constant" + "github.com/GMWalletApp/epusdt/util/sign" "github.com/labstack/echo/v4" echoMiddleware "github.com/labstack/echo/v4/middleware" ) diff --git a/src/route/router_test.go b/src/route/router_test.go index 950b41e..3e52a72 100644 --- a/src/route/router_test.go +++ b/src/route/router_test.go @@ -10,11 +10,11 @@ import ( "strings" "testing" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/log" - "github.com/assimon/luuu/util/sign" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/log" + "github.com/GMWalletApp/epusdt/util/sign" "github.com/labstack/echo/v4" "github.com/spf13/viper" "gorm.io/gorm/clause" diff --git a/src/task/listen.go b/src/task/listen.go index c65a7bd..e99b99f 100644 --- a/src/task/listen.go +++ b/src/task/listen.go @@ -1,7 +1,7 @@ package task import ( - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/util/log" "github.com/robfig/cron/v3" ) diff --git a/src/task/listen_bsc.go b/src/task/listen_bsc.go index 1589638..13e568b 100644 --- a/src/task/listen_bsc.go +++ b/src/task/listen_bsc.go @@ -7,10 +7,10 @@ import ( "sync/atomic" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/service" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/service" + "github.com/GMWalletApp/epusdt/util/log" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" diff --git a/src/task/listen_chain_common.go b/src/task/listen_chain_common.go index f7032b5..1c93447 100644 --- a/src/task/listen_chain_common.go +++ b/src/task/listen_chain_common.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/log" "github.com/ethereum/go-ethereum/common" ) diff --git a/src/task/listen_chain_common_test.go b/src/task/listen_chain_common_test.go index 50071c7..90e08e0 100644 --- a/src/task/listen_chain_common_test.go +++ b/src/task/listen_chain_common_test.go @@ -3,9 +3,9 @@ package task import ( "testing" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/mdb" ) func TestResolveChainWsURLRequiresEnabledRpcNode(t *testing.T) { diff --git a/src/task/listen_eth.go b/src/task/listen_eth.go index 969103b..b39e69a 100644 --- a/src/task/listen_eth.go +++ b/src/task/listen_eth.go @@ -7,10 +7,10 @@ import ( "sync/atomic" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/service" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/service" + "github.com/GMWalletApp/epusdt/util/log" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" diff --git a/src/task/listen_evm_ws.go b/src/task/listen_evm_ws.go index 455f443..ad62e47 100644 --- a/src/task/listen_evm_ws.go +++ b/src/task/listen_evm_ws.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/util/log" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/core/types" diff --git a/src/task/listen_plasma.go b/src/task/listen_plasma.go index 7c0c71b..09fce31 100644 --- a/src/task/listen_plasma.go +++ b/src/task/listen_plasma.go @@ -7,10 +7,10 @@ import ( "sync/atomic" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/service" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/service" + "github.com/GMWalletApp/epusdt/util/log" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" diff --git a/src/task/listen_polygon.go b/src/task/listen_polygon.go index b165bd2..5685e07 100644 --- a/src/task/listen_polygon.go +++ b/src/task/listen_polygon.go @@ -7,10 +7,10 @@ import ( "sync/atomic" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/service" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/service" + "github.com/GMWalletApp/epusdt/util/log" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" diff --git a/src/task/listen_sol_job.go b/src/task/listen_sol_job.go index 941fa70..cc2fd45 100644 --- a/src/task/listen_sol_job.go +++ b/src/task/listen_sol_job.go @@ -3,10 +3,10 @@ package task import ( "sync" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/service" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/service" + "github.com/GMWalletApp/epusdt/util/log" ) type ListenSolJob struct{} diff --git a/src/task/listen_trc20_job.go b/src/task/listen_trc20_job.go index bf4efb1..eb8b832 100644 --- a/src/task/listen_trc20_job.go +++ b/src/task/listen_trc20_job.go @@ -3,10 +3,10 @@ package task import ( "sync" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/model/service" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/model/service" + "github.com/GMWalletApp/epusdt/util/log" ) type ListenTrc20Job struct{} diff --git a/src/task/rpc_health_job.go b/src/task/rpc_health_job.go index b650247..34ed4d9 100644 --- a/src/task/rpc_health_job.go +++ b/src/task/rpc_health_job.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" + "github.com/GMWalletApp/epusdt/util/log" ) const rpcProbeTimeout = 5 * time.Second diff --git a/src/task/rpc_health_job_test.go b/src/task/rpc_health_job_test.go index adcf755..7ae2f71 100644 --- a/src/task/rpc_health_job_test.go +++ b/src/task/rpc_health_job_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/mdb" ) // --------------- ParseAddress --------------- diff --git a/src/telegram/handle.go b/src/telegram/handle.go index 632d7fd..f622634 100644 --- a/src/telegram/handle.go +++ b/src/telegram/handle.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/gookit/goutil/mathutil" "github.com/gookit/goutil/strutil" tb "gopkg.in/telebot.v3" diff --git a/src/telegram/telegram.go b/src/telegram/telegram.go index 0e9e16c..cf8c165 100644 --- a/src/telegram/telegram.go +++ b/src/telegram/telegram.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/util/log" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/util/log" tb "gopkg.in/telebot.v3" "gopkg.in/telebot.v3/middleware" ) diff --git a/src/telegram/telegram_test.go b/src/telegram/telegram_test.go index 65d2d11..42227c9 100644 --- a/src/telegram/telegram_test.go +++ b/src/telegram/telegram_test.go @@ -3,11 +3,11 @@ package telegram import ( "testing" - "github.com/assimon/luuu/config" - "github.com/assimon/luuu/internal/testutil" - "github.com/assimon/luuu/model/dao" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/config" + "github.com/GMWalletApp/epusdt/internal/testutil" + "github.com/GMWalletApp/epusdt/model/dao" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" ) func withTelegramEnv(token, proxy string, manage int64, fn func()) { diff --git a/src/telegram/utils.go b/src/telegram/utils.go index fde9c66..2c94a52 100644 --- a/src/telegram/utils.go +++ b/src/telegram/utils.go @@ -5,7 +5,7 @@ import ( "encoding/hex" "strings" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/btcsuite/btcutil/base58" "github.com/gagliardetto/solana-go" ) diff --git a/src/util/http/response.go b/src/util/http/response.go index 3847219..f2aa544 100644 --- a/src/util/http/response.go +++ b/src/util/http/response.go @@ -1,8 +1,8 @@ package http import ( - "github.com/assimon/luuu/util/constant" - "github.com/assimon/luuu/util/page" + "github.com/GMWalletApp/epusdt/util/constant" + "github.com/GMWalletApp/epusdt/util/page" "github.com/labstack/echo/v4" "net/http" ) diff --git a/src/util/jwt/jwt.go b/src/util/jwt/jwt.go index 3b70b0b..ce61665 100644 --- a/src/util/jwt/jwt.go +++ b/src/util/jwt/jwt.go @@ -6,8 +6,8 @@ import ( "errors" "time" - "github.com/assimon/luuu/model/data" - "github.com/assimon/luuu/model/mdb" + "github.com/GMWalletApp/epusdt/model/data" + "github.com/GMWalletApp/epusdt/model/mdb" "github.com/golang-jwt/jwt/v4" ) diff --git a/src/util/log/log.go b/src/util/log/log.go index 58e148d..5de38f0 100644 --- a/src/util/log/log.go +++ b/src/util/log/log.go @@ -2,7 +2,7 @@ package log import ( "fmt" - "github.com/assimon/luuu/config" + "github.com/GMWalletApp/epusdt/config" "github.com/natefinch/lumberjack" "github.com/spf13/viper" "go.uber.org/zap" diff --git a/src/util/sign/sign.go b/src/util/sign/sign.go index 22881d8..8359d20 100644 --- a/src/util/sign/sign.go +++ b/src/util/sign/sign.go @@ -2,7 +2,7 @@ package sign import ( "errors" - "github.com/assimon/luuu/util/json" + "github.com/GMWalletApp/epusdt/util/json" "github.com/gookit/goutil/strutil" "reflect" "sort" diff --git a/wiki/BT_RUN.md b/wiki/BT_RUN.md index f246bec..0d86f3b 100644 --- a/wiki/BT_RUN.md +++ b/wiki/BT_RUN.md @@ -15,11 +15,11 @@ ### 二、导入Sql 登录管理刚刚新增数据库,导入`Epusdt`所需的sql文件。 -以下为示范0.01版本 最新数据库请以 https://github.com/assimon/epusdt/blob/master/sql/ 为准 +以下为示范0.01版本 最新数据库请以 https://github.com/GMWalletApp/epusdt/blob/master/sql/ 为准 #### 1.手动下载导入 -数据库地址:https://github.com/assimon/epusdt/blob/master/sql/v0.0.1.sql +数据库地址:https://github.com/GMWalletApp/epusdt/blob/master/sql/v0.0.1.sql ![导入Sql](img/sql.png) #### 2.使用phpMyAdmin导入 diff --git a/wiki/manual_RUN.md b/wiki/manual_RUN.md index f80c04a..8ce1fe3 100644 --- a/wiki/manual_RUN.md +++ b/wiki/manual_RUN.md @@ -8,7 +8,7 @@ cd /var/www/ mkdir epusdt chmod 777 -R /var/www/epusdt cd epusdt -wget https://github.com/assimon/epusdt/releases/download/v0.0.3/epusdt_0.0.3_Linux_x86_64.tar.gz +wget https://github.com/GMWalletApp/epusdt/releases/download/v0.0.3/epusdt_0.0.3_Linux_x86_64.tar.gz tar -xzf epusdt_0.0.3_Linux_x86_64.tar.gz rm epusdt_0.0.3_Linux_x86_64.tar.gz ``` @@ -206,7 +206,7 @@ supervisorctl tail epusdt | |___| |_) | |_| \__ \ (_| | |_ |_____| .__/ \__,_|___/\__,_|\__| |_| -Epusdt version(0.0.2) Powered by assimon https://github.com/assimon/epusdt +Epusdt version(0.0.2) Powered by GMWalletApp https://github.com/GMWalletApp/epusdt ⇨ http server started on [::]:8000 ``` ## 其他注意事项