Commit e40bed47 authored by 钱坤's avatar 钱坤

qrcodeurl统一从fatools获取

parent 8dbc47e7
......@@ -2,9 +2,10 @@ package com.tanpu.feo.feojob.feign.shorter;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(value = "shorturl", url = "${tanpu.feo-shorter.svc:}", path = "/")
public interface ShorterFeign {
@PostMapping(value = "/shorter/get")
ShorterResp getShorter(String url);
ShorterResp getShorter(@RequestParam("url") String url);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment