1 Commits

Author SHA1 Message Date
anian de1db1fe0b 修改前台路由 2026-07-26 22:51:12 +08:00
4 changed files with 14 additions and 5 deletions
+9
View File
@@ -1,3 +1,12 @@
# anian-plugin-equipments
> 基于原作者v1.0.2代码修改
#### v1.0.2-1
1. 修改前台路由为/qiyu
# plugin-equipment
Halo 2.0 的装备管理插件, 支持在 Console 进行管理以及为主题端提供 `/equipments` 页面路由。
+1 -1
View File
@@ -18,7 +18,7 @@ repositories {
}
dependencies {
implementation platform('run.halo.tools.platform:plugin:2.17.0-SNAPSHOT')
implementation platform('run.halo.tools.platform:plugin:2.20.11')
compileOnly 'run.halo.app:api'
testImplementation 'run.halo.app:api'
+1 -1
View File
@@ -1 +1 @@
version=1.0.1
version=1.0.2-1
@@ -27,7 +27,7 @@ import com.kunkunyu.equipment.vo.EquipmentGroupVo;
import com.kunkunyu.equipment.vo.EquipmentVo;
/**
* Provides a <code>/equipments</code> route for the topic end to handle routing.
* Provides a <code>/qiyu</code> route for the topic end to handle routing.
*
*/
@Component
@@ -43,13 +43,13 @@ public class EquipmentRouter {
private final TemplateNameResolver templateNameResolver;
/**
* Provides a <code>/equipments</code> route for the topic end to handle routing.
* Provides a <code>/qiyu</code> route for the topic end to handle routing.
*
* @return a {@link RouterFunction} instance
*/
@Bean
RouterFunction<ServerResponse> equipmentRouter() {
return route(GET("/equipments").or(GET("/equipments/page/{page:\\d+}")),
return route(GET("/qiyu").or(GET("/qiyu/page/{page:\\d+}")),
handlerFunction()
);
}