Commit 92c543ca by fanjiaxin

推客分佣单入库

parent cde11a22
Pipeline #75627 passed with stages
in 3 minutes 20 seconds
...@@ -59,10 +59,10 @@ public class TestController { ...@@ -59,10 +59,10 @@ public class TestController {
/** /**
* 实名认证 * 实名认证
*/ */
@PostMapping("/realNameAuthenticated") @PostMapping("/verifyByIdentityNo")
public Result<Boolean> realNameAuthenticated(@Validated @RequestBody RealNameAuthenticatedBO bo) { public Result<Boolean> verifyByIdentityNo(@RequestBody RealNameAuthenticatedBO bo) {
Boolean isVerifySuccess = iUserInfoClient.verifyByIdentityNo(bo.getUsername(), bo.getIdCardNumber()); Boolean isVerifySuccess = iUserInfoClient.verifyByIdentityNo(bo.getUsername(), bo.getIdCardNumber());
if(null == isVerifySuccess || !isVerifySuccess){ if (null == isVerifySuccess || !isVerifySuccess) {
throw new BizException("实名认证不通过"); throw new BizException("实名认证不通过");
} }
return Result.ok(true); return Result.ok(true);
......
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