审查视图

src/main/java/com/sy/service/NmmsService.java 700 字节
朱兆平 authored
1 2 3
package com.sy.service;

4
import com.sy.model.Feign_Allocate_Search;
朱兆平 authored
5 6 7
import com.sy.service.impl.NmmsServiceHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
8
import org.springframework.web.bind.annotation.*;
朱兆平 authored
9 10 11 12 13

import java.util.Map;

/**
 * @author mrz
14
 * todo:生产要把这里改成内网舱单地址,已更新为在配置文件改
朱兆平 authored
15 16
 */
@Component
17
@FeignClient(name = "nmmsFeign",url = "${nmms.site.host}",fallback = NmmsServiceHystrix.class)
朱兆平 authored
18 19 20
public interface NmmsService {

    @ResponseBody
21 22
    @PostMapping(value = "/Allocate/querypage_inportallocate")
    Map getAllocate(@RequestBody Feign_Allocate_Search feignAllocateSearch);
朱兆平 authored
23 24 25


}