|
@@ -11,6 +11,7 @@ import com.ruoyi.system.api.model.LoginUser;
|
|
|
import com.sooka.sponest.mobile.base.domain.ModulesServiceNameContants;
|
|
|
import com.sooka.sponest.mobile.base.domain.SysAttendance;
|
|
|
import com.sooka.sponest.mobile.event.domain.SysUserSystem;
|
|
|
+import com.sooka.sponest.mobile.log.LogFeignCall;
|
|
|
import com.sooka.sponest.mobile.remoteapi.factory.RemoteSystemBaseServiceFallbackFactory;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -30,6 +31,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @date 2023/2/22 14:45
|
|
|
**/
|
|
|
@RequestMapping("/retaion/selectList")
|
|
|
+ @LogFeignCall
|
|
|
public TableDataInfo selectList();
|
|
|
|
|
|
/**
|
|
@@ -40,6 +42,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @date 2023/2/22 14:46
|
|
|
**/
|
|
|
@PostMapping("/version/getVersionInfo")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult getVersionInfo();
|
|
|
|
|
|
/**
|
|
@@ -52,26 +55,32 @@ public interface RemoteSystemBaseService {
|
|
|
/*@GetMapping("/notice/noticlist")
|
|
|
public TableDataInfo noticlist(@RequestParam(value = "pageNum") Integer pageNum, @RequestParam(value = "pageSize") Integer pageSize);*/
|
|
|
@GetMapping("/notice/listNoticeByDeptId")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult noticlist(@RequestParam(value = "pageNum") Integer pageNum, @RequestParam(value = "pageSize") Integer pageSize);
|
|
|
|
|
|
//根据通知公告编号获取详细信息(App)
|
|
|
@RequestMapping("/notice/getInfoApp")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult getInfoApp(@RequestParam(value = "noticeId") Long noticeId);
|
|
|
|
|
|
//根据参数键名查询参数值
|
|
|
@GetMapping(value = "/config/configKey/{configKey}")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult getConfigKey(@PathVariable(value = "configKey") String configKey);
|
|
|
|
|
|
//根据用户编号获取详细信息远程接口
|
|
|
@RequestMapping(value = "/user/selectById/{userId}")
|
|
|
+ @LogFeignCall
|
|
|
public R<SysUser> selectById(@PathVariable("userId") Long userId);
|
|
|
|
|
|
//根据部门编号获取详细信息
|
|
|
@RequestMapping("/dept/selectDeptById/{deptId}")
|
|
|
+ @LogFeignCall
|
|
|
public R<SysDept> selectDeptById(@PathVariable("deptId") Long deptId);
|
|
|
|
|
|
//获取全部部门
|
|
|
@GetMapping("/dept/getDeptListAll")
|
|
|
+ @LogFeignCall
|
|
|
R<List<SysDept>> treeselectAll();
|
|
|
|
|
|
/**
|
|
@@ -83,6 +92,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @since 2023/2/22 14:30
|
|
|
*/
|
|
|
@RequestMapping("/config/selectConfigKey/{configKey}")
|
|
|
+ @LogFeignCall
|
|
|
public R<String> selectConfigKey(@PathVariable("configKey") String configKey);
|
|
|
|
|
|
/**
|
|
@@ -94,6 +104,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @since 2023/2/22 14:31
|
|
|
*/
|
|
|
@PostMapping(value = "/config/getConfigMap")
|
|
|
+ @LogFeignCall
|
|
|
R<Map<String, String>> remotegetConfigMap(@RequestParam("keys") List<String> keys);
|
|
|
|
|
|
/**
|
|
@@ -105,6 +116,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @since 2023/2/22 8:43
|
|
|
*/
|
|
|
@GetMapping("/user/info/{username}")
|
|
|
+ @LogFeignCall
|
|
|
public R<LoginUser> getUserInfo(@PathVariable("username") String username, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
|
|
|
|
|
@@ -117,6 +129,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @since 2023/2/22 8:43
|
|
|
*/
|
|
|
@GetMapping("/user/updateUserJg/{userName}/{deviceid}")
|
|
|
+ @LogFeignCall
|
|
|
public R updateUserJg(@PathVariable("userName") String userName, @PathVariable("deviceid") String deviceid);
|
|
|
|
|
|
/**
|
|
@@ -128,6 +141,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @date 2023/2/21 16:23
|
|
|
*/
|
|
|
@PutMapping("/sysAttendance/addAttendance")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult addAttendance(@RequestBody SysAttendance sys);
|
|
|
|
|
|
/**
|
|
@@ -139,6 +153,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @date 2023/2/21 16:23
|
|
|
*/
|
|
|
@GetMapping("/sysAttendance/getAttendance/{userId}")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult getAttendance(@PathVariable("userId") Long userId);
|
|
|
|
|
|
/**
|
|
@@ -150,6 +165,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @date 2023/2/21 16:23
|
|
|
*/
|
|
|
@GetMapping("/sysutils/deptselector")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult deptselector(@RequestParam("userName") String userName);
|
|
|
|
|
|
/**
|
|
@@ -160,6 +176,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @date 2023/2/21 16:23
|
|
|
*/
|
|
|
@GetMapping("/dept/appList")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult getDeptList(@RequestParam("deptName") String deptName);
|
|
|
|
|
|
/**
|
|
@@ -168,6 +185,7 @@ public interface RemoteSystemBaseService {
|
|
|
* @return: AjaxResult
|
|
|
*/
|
|
|
@PostMapping(value = "/menuEventType/selectByMenuId")
|
|
|
+ @LogFeignCall
|
|
|
R<List<SysMenuEventType>> selectByMenuId(@RequestBody SysMenuEventType sysMenuEventType);
|
|
|
|
|
|
/**
|
|
@@ -178,44 +196,58 @@ public interface RemoteSystemBaseService {
|
|
|
* @date 2023/5/26 16:23
|
|
|
*/
|
|
|
@GetMapping("/user/selectRoleMenuVisuTreest")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult selectRoleMenuVisuTreest();
|
|
|
|
|
|
@GetMapping("/menuEventType/selectByMenuIds/{ids}")
|
|
|
+ @LogFeignCall
|
|
|
R<List<SysMenuEventType>> selectByMenuIds(@PathVariable("ids") String[] ids);
|
|
|
|
|
|
@GetMapping("/user/selectUserWithPostByDeptId")
|
|
|
+ @LogFeignCall
|
|
|
R<List<SysUserSystem>> selectUserWithPostByDeptId(@RequestParam("deptId") Long deptId);
|
|
|
|
|
|
@GetMapping("/hwMeeting/joinConferences/{eventId}/{meetingSubject}/{userName}")
|
|
|
+ @LogFeignCall
|
|
|
public AjaxResult joinConferences(@PathVariable("eventId") String eventId, @PathVariable("meetingSubject") String meetingSubject, @PathVariable("userName") String userName);
|
|
|
|
|
|
@GetMapping("/menuApp/getAppChildrenMenuOrButtonByParentId")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult getAppChildrenMenuOrButtonByParentId(@RequestParam("parentId") String parentId,@RequestParam("menuType") String menuType);
|
|
|
|
|
|
@GetMapping("/dict/data/type/{dictType}")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult getSortByType(@PathVariable("dictType") String dictType);
|
|
|
|
|
|
@GetMapping("/menuApp/selectMenuListByParentIdAndRoleId/{parentId}")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult getMenuListByParentId(@PathVariable("parentId") String parentId);
|
|
|
|
|
|
@PostMapping("/user/userFeginlist")
|
|
|
+ @LogFeignCall
|
|
|
R<List<SysUser>> getUserList(@RequestBody SysUser sysUser);
|
|
|
|
|
|
@PostMapping("/user/userFeginlistWithPage")
|
|
|
+ @LogFeignCall
|
|
|
List<SysUser> getUserListByPage(@RequestBody SysUser sysUser);
|
|
|
|
|
|
@GetMapping(value = "/dept/userDeptSelectIncludeChildren/{deptId}")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult userDeptSelectIncludeChildren(@PathVariable("deptId") String deptId);
|
|
|
|
|
|
@GetMapping("/dept/userDeptSelect")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult getUserDeptSelect();
|
|
|
|
|
|
@GetMapping("/dept/getChildren/{deptId}/{postId}")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult getChildren(@PathVariable("deptId") String deptId, @PathVariable("postId") String postId);
|
|
|
|
|
|
@GetMapping("/dict/data/internetOfThings/{dictType}")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult getSortByTypeAndCount(@PathVariable("dictType") String dictType);
|
|
|
|
|
|
@PostMapping("/dept/getDeptsByDeptType")
|
|
|
+ @LogFeignCall
|
|
|
AjaxResult getDeptsByDeptType(@RequestBody SysDept sysDept);
|
|
|
}
|