first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.mhd.job.feign;
|
||||
|
||||
import cn.hutool.json.JSONObject;
|
||||
import com.mhd.common.core.web.domain.AjaxResult;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@FeignClient("mhd-special-logistics-service")
|
||||
public interface LogisticsServiceFeign {
|
||||
|
||||
/**
|
||||
* 定时任务测试
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/waybill/testJob")
|
||||
public AjaxResult testJob(@RequestParam JSONObject jsonObject);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.mhd.job.feign;
|
||||
|
||||
import com.mhd.common.core.web.domain.AjaxResult;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@FeignClient("mhd-product-service")
|
||||
public interface ProductServiceFeign {
|
||||
|
||||
/**
|
||||
* 定时任务测试
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/tenants/getAllOut0fDate")
|
||||
public AjaxResult getAllOut0fDate();
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.mhd.job.feign;
|
||||
|
||||
import com.mhd.common.core.web.domain.AjaxResult;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@FeignClient("mhd-ticket-service")
|
||||
public interface TicketServiceFeign {
|
||||
|
||||
/**
|
||||
* 定时任务测试
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/ticketWaybillInvoiceApi/refuseAll")
|
||||
public AjaxResult refuseAll();
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.mhd.job.feign;
|
||||
|
||||
import com.mhd.common.core.constant.ServiceNameConstants;
|
||||
import com.mhd.system.api.feign.FeignAutoConfiguration;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
|
||||
@FeignClient(contextId = "wlhyServiceFeign-job",value = ServiceNameConstants.WLHY_SERVICE,configuration = FeignAutoConfiguration.class)
|
||||
public interface WlhyServiceFeign {
|
||||
/**
|
||||
* 首次竞价
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@PostMapping(value = "/ntocc/biddingTask/pollingBiding")
|
||||
public void pollingBiding();
|
||||
|
||||
/**
|
||||
* 二次竞价
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@PostMapping(value = "/ntocc/biddingTask/pollingSecondBidding")
|
||||
public void pollingSecondBidding();
|
||||
|
||||
/**
|
||||
* 关闭超时批量货
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@PostMapping(value = "/ntocc/biddingTask/pollingSecondBidding")
|
||||
public void closeOverrunOrder();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user