|
@@ -1,12 +1,10 @@
|
|
|
package com.sooka.sponest.data.emergency.remoteapi.service.center.data;
|
|
|
|
|
|
-import com.ruoyi.common.core.constant.SecurityConstants;
|
|
|
import com.ruoyi.common.core.domain.R;
|
|
|
import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
import com.ruoyi.common.core.web.page.TableDataInfo;
|
|
|
import com.ruoyi.system.api.domain.SysDept;
|
|
|
import com.ruoyi.system.api.domain.SysUser;
|
|
|
-import com.ruoyi.system.api.model.LoginUser;
|
|
|
import com.sooka.sponest.data.emergency.remoteapi.fallback.center.mobile.ModulesServiceNameContants;
|
|
|
import com.sooka.sponest.data.emergency.remoteapi.fallback.center.mobile.RemoteSystemBaseServiceFallbackFactory;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
@@ -21,14 +19,6 @@ import java.util.List;
|
|
|
)
|
|
|
public interface RemoteSystemBaseService {
|
|
|
|
|
|
- /**
|
|
|
- * 查询轮播图列表(无参)
|
|
|
- * @author pengyu
|
|
|
- * @date 2023/2/22 14:45
|
|
|
- * @return com.ruoyi.common.core.web.page.TableDataInfo
|
|
|
- **/
|
|
|
- @RequestMapping("/retaion/selectList")
|
|
|
- public TableDataInfo selectList();
|
|
|
|
|
|
//根据参数键名查询参数值
|
|
|
@GetMapping("/configKey/{configKey}")
|
|
@@ -44,13 +34,6 @@ public interface RemoteSystemBaseService {
|
|
|
@GetMapping("/notice/noticeList")
|
|
|
public TableDataInfo noticlist(@RequestParam(value = "pageNum") Integer pageNum, @RequestParam(value = "pageSize") Integer pageSize);
|
|
|
|
|
|
- //根据通知公告编号获取详细信息(App)
|
|
|
- @RequestMapping("/notice/getInfoApp")
|
|
|
- public AjaxResult getInfoApp(@RequestParam(value = "noticeId") Long noticeId);
|
|
|
-
|
|
|
- //根据参数键名查询参数值
|
|
|
- @GetMapping(value = "/config/configKey/{configKey}")
|
|
|
- public AjaxResult getConfigKey(@PathVariable(value = "configKey") String configKey);
|
|
|
|
|
|
//根据用户编号获取详细信息远程接口
|
|
|
@RequestMapping(value = "/user/selectById/{userId}")
|
|
@@ -58,32 +41,11 @@ public interface RemoteSystemBaseService {
|
|
|
|
|
|
//根据用户获取用户列表
|
|
|
@PostMapping(value = "/user/userFeginlist")
|
|
|
- public R<List<SysUser>> userFeginlist(@RequestBody SysUser user) ;
|
|
|
+ public R<List<SysUser>> userFeginlist(@RequestBody SysUser user);
|
|
|
|
|
|
//根据部门编号获取详细信息
|
|
|
@RequestMapping("/dept/selectDeptById/{deptId}")
|
|
|
public R<SysDept> selectDeptById(@PathVariable("deptId") Long deptId);
|
|
|
|
|
|
- /**
|
|
|
- * 根据参数键名查询参数值
|
|
|
- * @Version 1.0
|
|
|
- * @return
|
|
|
- * @author wang_xy
|
|
|
- * @since 2023/2/22 14:30
|
|
|
- */
|
|
|
- @RequestMapping("/config/selectConfigKey/{configKey}")
|
|
|
- public R<String> selectConfigKey(@PathVariable("configKey") String configKey);
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取当前用户信息
|
|
|
- *
|
|
|
- * @return
|
|
|
- * @Version 1.0
|
|
|
- * @author wang_xy
|
|
|
- * @since 2023/2/22 8:43
|
|
|
- */
|
|
|
- @GetMapping("/user/info/{username}")
|
|
|
- public R<LoginUser> getUserInfo(@PathVariable("username") String username, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
|
|
|
}
|