Commit 6f38eae9 authored by 王亮's avatar 王亮

fix an issue.

parent dfe007d3
...@@ -6,10 +6,21 @@ import org.springframework.cloud.netflix.feign.FeignClient; ...@@ -6,10 +6,21 @@ import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(name = "jiGuangApi",configuration = JiGuangConfiguration.class) @FeignClient(name = "jiGuangApi",configuration = JiGuangConfiguration.class,url = "https://api.verification.jpush.cn")
public interface JiGuangRemoteService { public interface JiGuangRemoteService {
@PostMapping("${user.auth.manager.Urora.properties.loginTokenVerify}") /**
*
* @param param
* @return
*/
@PostMapping("/v1/web/loginTokenVerify")
JiGuangResponseParam webLoginTokenVerify(@RequestBody JiGuangRequestParam param); JiGuangResponseParam webLoginTokenVerify(@RequestBody JiGuangRequestParam param);
@PostMapping("${user.auth.manager.jiguang.auth.web}")
/**
* https://api.verification.jpush.cn
* @param param
* @return
*/
@PostMapping("/v1/web/h5/loginTokenVerify")
JiGuangResponseParam h5LoginTokenVerify(@RequestBody JiGuangRequestParam param); JiGuangResponseParam h5LoginTokenVerify(@RequestBody JiGuangRequestParam param);
} }
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