浏览代码

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

周箭河 4 年之前
父节点
当前提交
ad91ae8c68
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      mec-web/src/main/java/com/ym/mec/web/controller/AdapayController.java

+ 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.io.IOUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.core.io.Resource;
 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.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 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));
+    }
+
 
 
 }
 }