浙政钉

This commit is contained in:
zjf committed 2026-05-08 21:01:08 +08:00
1 parent 2636c9e0c3
commit 765a37f82e
1 file changed
+45
@@ -0,0 +1,45 @@
/*
*
* Copyright (c) 2018-2025, pjcloud All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: pjcloud
*
*/
package com.bsd.pjcloud.app.api.feign;
import com.bsd.pjcloud.app.api.constant.menu.AppMenuPlatformEnum;
import com.bsd.pjcloud.app.api.constant.menu.AppMenuTypeEnum;
import com.bsd.pjcloud.app.api.entity.AppMenuEntity;
import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
import com.bsd.pjcloud.common.core.util.R;
import com.bsd.pjcloud.common.feign.annotation.NoToken;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient(contextId = "remoteAppMenuService", value = ServiceNameConstants.APP_SERVER)
public interface RemoteAppMenuService {
/**
* 与 AppMenuController GET /app-menu/app/list 一致,内部调用
*/
@NoToken
@GetMapping("/app-menu/inner/app/list")
R<List<AppMenuEntity>> innerAppList(
@RequestParam(value = "typeEnum", required = false) AppMenuTypeEnum typeEnum,
@RequestParam(value = "platformEnum", required = false) AppMenuPlatformEnum platformEnum);
}