Commit 5870fb0
committed
refactor(DiscoveryCenter): 使用全局常量替换硬编码的服务类型
将 ServerType.DiscoveryCenter 替换为 GlobalConst.DiscoveryCenterName 以提高代码可维护性,避免硬编码1 parent a9dd44e commit 5870fb0
File tree
1 file changed
+2
-2
lines changed- GameFrameX.Launcher/StartUp/Discovery
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments