Explorar o código

add 增加查询汇付企业用户信息

周箭河 %!s(int64=4) %!d(string=hai) anos
pai
achega
ad91ae8c68

+ 7 - 0
mec-web/src/main/java/com/ym/mec/web/controller/AdapayController.java

@@ -12,6 +12,7 @@ import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.IOUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.core.io.Resource;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
@@ -74,5 +75,11 @@ public class AdapayController extends BaseController {
         }
     }
 
+    @ApiOperation("查询企业用户信息")
+    @GetMapping(value = "getMemberInfo")
+    public HttpResponseResult getMemberInfo(String memberId) throws Exception {
+        return succeed(new CorpMember().executeQueryMember(memberId));
+    }
+
 
 }