mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
预打包相关接口
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
package com.cf.imes.module.system.api.setting;
|
||||
|
||||
|
||||
import com.cf.imes.module.system.api.setting.dto.PackageConfigDTO;
|
||||
import com.cf.imes.module.system.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@FeignClient(name = ApiConstants.NAME) // TODO 晨丰:fallbackFactory =
|
||||
@Tag(name = "RPC 服务 - 系统配置")
|
||||
public interface SettingApi {
|
||||
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/setting";
|
||||
|
||||
|
||||
@GetMapping(PREFIX + "/getUserSetting")
|
||||
@Operation(summary = "查看当前用户的配置信息")
|
||||
@Parameter(name = "type", description = "配置配型", required = true, example = "1")
|
||||
PackageConfigDTO getUserSetting(@RequestParam("type") Integer type);
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user