puzhibing
2024-01-30 03f1f3372a10a08f96f3308bfa099e86a55046d0
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteSysStaffService.java
@@ -1,21 +1,31 @@
package com.ruoyi.system.api.service;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.system.api.factory.RemoteUserFallbackFactory;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.dto.MerEditUserDto;
import com.ruoyi.system.api.factory.RemoteStaffFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * 用户服务
 *
 * @author jqs
 */
@FeignClient(contextId = "remoteSysStaffService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteUserFallbackFactory.class)
@FeignClient(contextId = "remoteSysStaffService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteStaffFallbackFactory.class)
public interface RemoteSysStaffService
{
    @RequestMapping(value = "/staff/isLeader", method = RequestMethod.POST)
    @PostMapping("/staff/isLeader")
    public Boolean isLeader() ;
    /**
     * @description  编辑商户员工
     * @author  jqs
     * @date    2023/7/19 19:44
     * @param merEditUserDto
     * @return  R
     */
    @PostMapping("/staff/editSysStaffInfo")
    public R editUserInfo(@RequestBody MerEditUserDto merEditUserDto);
}