enhance(sync):同步管理路由添加
This commit is contained in:
parent
a34fee8339
commit
e3c34c96e2
|
@ -1,8 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<module version="4">
|
||||
<component name="Go" enabled="true" />
|
||||
</module>
|
|
@ -18,10 +18,10 @@ func SetupRedisConnection() error {
|
|||
a := fmt.Sprintf("%s:%d", config.RedisSettings.Host, config.RedisSettings.Port)
|
||||
fmt.Println(a)
|
||||
Rd, err = rueidis.NewClient(rueidis.ClientOption{
|
||||
InitAddress: []string{"127.0.0.1:6379"},
|
||||
Password: "",
|
||||
SelectDB: config.RedisSettings.DB,
|
||||
DisableCache:true,
|
||||
InitAddress: []string{"192.168.88.129:6379"},
|
||||
Password: "123456",
|
||||
SelectDB: config.RedisSettings.DB,
|
||||
DisableCache: true,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
@ -53,7 +53,7 @@ func App() *fiber.App {
|
|||
controller.InitializeInvoiceHandler(app)
|
||||
controller.InitializeTopUpHandlers(app)
|
||||
controller.InitializeReportHandlers(app)
|
||||
|
||||
controller.InitializeSynchronizeHandlers(app)
|
||||
controller.InitializeWithdrawHandlers(app) // 公示撤回
|
||||
controller.InitializeFoundationHandlers(app) // 基础数据
|
||||
controller.InitializeStatisticsController(app) // 首页信息
|
||||
|
|
Loading…
Reference in New Issue
Block a user