|
@@ -3,6 +3,7 @@ package com.ym.mec.auth.api.client;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
import com.ym.mec.auth.api.client.fallback.SysUserFeignServiceFallback;
|
|
@@ -19,7 +20,7 @@ public interface SysUserFeignService {
|
|
|
@GetMapping(value = "user/queryUserByPhone")
|
|
|
public SysUser getUserByMobile(@RequestParam("mobile") String mobile);
|
|
|
|
|
|
- @GetMapping(value = "user/add")
|
|
|
+ @PostMapping(value = "user/add")
|
|
|
public Object addUser(SysUser user);
|
|
|
|
|
|
@GetMapping(value = "task/test")
|