| | |
| | | |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.system.api.domain.poji.config.Activeness; |
| | | import com.ruoyi.system.api.domain.poji.config.SysClassification; |
| | | import com.ruoyi.system.api.domain.poji.config.SysTag; |
| | | import com.ruoyi.system.api.domain.dto.MgtBaseBathDto; |
| | | import com.ruoyi.system.api.domain.dto.MgtClassNumDto; |
| | | import com.ruoyi.system.api.domain.dto.MgtUserIdByDept; |
| | | import com.ruoyi.system.api.domain.poji.config.*; |
| | | import com.ruoyi.system.api.domain.poji.sys.SysStaff; |
| | | import com.ruoyi.system.api.domain.vo.AppOtherConfigGetVo; |
| | | import com.ruoyi.system.api.domain.vo.MgtSysSimpleUserVo; |
| | | import com.ruoyi.system.api.factory.RemoteConfigFallbackFactory; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | @FeignClient(contextId = "remoteConfigService", value = ServiceNameConstants.SYSTEM_SERVICE,fallbackFactory = RemoteConfigFallbackFactory.class) |
| | | public interface RemoteConfigService { |
| | | |
| | | @PostMapping("/config/getSysTag") |
| | | public R<SysTag> getSysTag(@RequestBody Long sysTagId); |
| | | |
| | | @PostMapping("/config/listSysTag") |
| | | public R<List<SysTag>> listSysTag(@RequestBody Integer tagType); |
| | |
| | | */ |
| | | @PostMapping("/config/getSysClassificationList") |
| | | public R<Map<Long,SysClassification>> getSysClassificationList(@RequestBody List<Long> classIds); |
| | | |
| | | /** |
| | | * @description 获取标签 |
| | | * @author jqs |
| | | * @date 2023/6/21 16:11 |
| | | * @param sysTagId |
| | | * @return R<SysTag> |
| | | */ |
| | | @PostMapping("/config/getSysTag") |
| | | public R<SysTag> getSysTag(@RequestBody Long sysTagId); |
| | | |
| | | |
| | | /** |
| | | * @description 获取部门用户 |
| | | * @author jqs |
| | | * @date 2023/6/21 16:00 |
| | | * @param userIdByDept |
| | | * @return R<MgtShopIdByCodeDto> |
| | | */ |
| | | @PostMapping("/config/getUserIdByDept") |
| | | public R<MgtUserIdByDept> getUserIdByDept(@RequestBody MgtUserIdByDept userIdByDept); |
| | | |
| | | |
| | | /** |
| | | * @description 通过id获取用户简易信息 |
| | | * @author jqs |
| | | * @date 2023/6/25 14:41 |
| | | * @param mgtBaseBathDto |
| | | * @return R<List<MgtSysSimpleUserVo>> |
| | | */ |
| | | @PostMapping("/config/listSimpleUserVo") |
| | | public R<List<MgtSysSimpleUserVo>> listSimpleUserVo(@RequestBody MgtBaseBathDto mgtBaseBathDto); |
| | | |
| | | /** |
| | | * @description 通过名称获取活跃度 |
| | | * @author jqs |
| | | * @date 2023/6/29 17:20 |
| | | * @param name |
| | | * @return R<Activeness> |
| | | */ |
| | | @PostMapping("/config/getActivenessByName") |
| | | public R<Activeness> getActivenessByName(@RequestBody String name); |
| | | |
| | | /** |
| | | * 延时任务控制 |
| | | */ |
| | | @PostMapping("/config/getDelayTask") |
| | | public R<DelayTask> getDelayTask(@RequestBody String key); |
| | | |
| | | @PostMapping("/config/addDelayTask") |
| | | public R addDelayTask(@RequestBody DelayTask delayTask); |
| | | |
| | | @PostMapping("/config/deleteDelayTask") |
| | | public R deleteDelayTask(@RequestBody String key); |
| | | /** |
| | | * 延时任务控制 |
| | | */ |
| | | |
| | | /** |
| | | * @description 获取其他设置 |
| | | * @author jqs |
| | | * @date 2023/7/12 15:27 |
| | | * @param |
| | | * @return R<AppOtherConfigGetVo> |
| | | */ |
| | | @PostMapping("/config/getAppOtherConfigGetVo") |
| | | public R<AppOtherConfigGetVo> getAppOtherConfigGetVo(); |
| | | |
| | | /** |
| | | * @description 改变分类数量 |
| | | * @author jqs |
| | | * @date 2023/7/20 20:06 |
| | | * @param mgtClassNumDto |
| | | * @return R |
| | | */ |
| | | @PostMapping("/config/changeClassNum") |
| | | public R changeClassNum(@RequestBody MgtClassNumDto mgtClassNumDto); |
| | | |
| | | /** |
| | | * @description 获取客服电话 |
| | | * @author jqs |
| | | * @date 2023/7/29 16:11 |
| | | * @param |
| | | * @return R<String> |
| | | */ |
| | | @PostMapping("/config/getServicePhone") |
| | | public R<String> getServicePhone(); |
| | | |
| | | /** |
| | | * @description 通过id获取员工列表 |
| | | * @author jqs |
| | | * @date 2023/9/5 10:01 |
| | | * @param userIdList |
| | | * @return R<List<SysStaff>> |
| | | */ |
| | | @PostMapping("/config/listSysStaffByIds") |
| | | public R<List<SysStaff>> listSysStaffByIds(@RequestBody List<Long> userIdList); |
| | | |
| | | /** |
| | | * @description 创建文件上传记录 |
| | | * @author jqs |
| | | * @date 2023/9/11 11:56 |
| | | * @param fileRecord |
| | | * @return R |
| | | */ |
| | | @PostMapping("/config/createFileRecord") |
| | | public R createFileRecord(@RequestBody FileRecord fileRecord); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取门店课程验证密码 |
| | | * @return |
| | | */ |
| | | @PostMapping("/config/getStoreCurriculumPassword") |
| | | public R<String> getStoreCurriculumPassword(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取门店课程展示名称 |
| | | * @return |
| | | */ |
| | | @PostMapping("/config/getStoreCurriculumName") |
| | | public R<String> getStoreCurriculumName(); |
| | | } |