|
|
@@ -0,0 +1,25 @@
|
|
|
+package com.zhongshu.card.client.service;
|
|
|
+
|
|
|
+import com.github.microservice.auth.client.example.ExampleConstant;
|
|
|
+import com.zhongshu.card.client.model.feign.ProjectWxPayModel;
|
|
|
+import com.zhongshu.card.client.model.feign.ProjectWxPayParam;
|
|
|
+import com.zhongshu.card.client.ret.ResultContent;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import io.swagger.v3.oas.annotations.Parameter;
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+
|
|
|
+
|
|
|
+@FeignClient(name = "fullcardserver-trx/userInfo")
|
|
|
+public interface UserFeignService {
|
|
|
+
|
|
|
+ @Operation(summary = "得到用户详情", description = "得到用户详情")
|
|
|
+ @RequestMapping(value = "manager/getUserDetailByUserId", method = RequestMethod.GET)
|
|
|
+ ResultContent<ProjectWxPayModel> getUserDetailByUserId(
|
|
|
+ @Parameter(name = "userId", description = "用户userId")
|
|
|
+ @RequestParam("userId") String userId);
|
|
|
+
|
|
|
+}
|