forked from free-lancers/electricity_bill_calc_service
		
	enhance(sync):同步管理路由添加
This commit is contained in:
		
							
								
								
									
										8
									
								
								.idea/electricity_bill_calc_service.iml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								.idea/electricity_bill_calc_service.iml
									
									
									
										generated
									
									
									
								
							| @@ -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,8 +18,8 @@ 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:    "", | ||||
| 		InitAddress:  []string{"192.168.88.129:6379"}, | ||||
| 		Password:     "123456", | ||||
| 		SelectDB:     config.RedisSettings.DB, | ||||
| 		DisableCache: true, | ||||
| 	}) | ||||
|   | ||||
| @@ -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) // 首页信息 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user