package com.tofly.watermeter.config;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "tofly-xrtygis",contextId = "timeTaskFeign")
public interface TimeTaskFeign {

    @PostMapping("/send/sendNoteFeign")
    void sendNoteFeign(@RequestParam("phone") String phone, @RequestParam("content") String content);

}
