记得上下班打卡 | git大法好,push需谨慎

Commit de42642d authored by 张国柄's avatar 张国柄

open feign client;

parent 4695090c
......@@ -16,9 +16,9 @@ import org.springframework.web.bind.annotation.RequestParam;
public interface FeignAdamChimeClient {
@PostMapping("user/register")
ResponseDto<String> registerForUser(@RequestParam @Validated String userId,
@RequestParam @Validated String sex,
@RequestParam @Validated String tags,
@RequestParam @Validated String operateType
ResponseDto<String> registerForUser(@RequestParam(value = "userId") String userId,
@RequestParam(value = "sex") String sex,
@RequestParam(value = "tags") String tags,
@RequestParam(value = "operateType") String operateType
);
}
......@@ -5,12 +5,14 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.core.env.Environment;
import java.net.InetAddress;
import java.util.Arrays;
@Slf4j
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.liquidnet"})
public class ServiceAdamApplication implements CommandLineRunner {
@Autowired
......
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