| 1234567891011121314151617181920212223242526272829303132333435 |
- package com.dk.oauth.feign.service;
- import com.dk.common.infrastructure.constant.Constant;
- import com.dk.common.model.response.mst.StaffResponse;
- import com.dk.common.model.vo.mst.StaffVO;
- import com.dk.common.response.ResponseResultVO;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import java.util.Map;
- /**
- * @author : 姜永辉
- * @desc : MdmServerFeign
- * @date : 2024-038-10 10:56
- */
- @FeignClient(name = Constant.MDM_PREFIX + Constant.SERVER + "-dkic-b1-jyh", path = Constant.MST_STAFF, contextId = "staff")
- public interface StaffFeign {
- /**
- * @desc : 体验产品
- * @author : 姜永辉
- * @date : 2023-11-02 16:27
- */
- @PostMapping({"/feign_get_experience"})
- ResponseResultVO<StaffResponse> getFeignExperience(@RequestBody Map<String, Object> collectQuery);
- /**
- * @desc : 注册商户时候插入员工
- * @author : 姜永辉
- * @date : 2023-11-02 16:27
- */
- @PostMapping({"/insert_feign_staff"})
- ResponseResultVO<StaffResponse> insertFeignStaff(@RequestBody StaffVO staffVO);
- }
|