Commit 1bd66e0d authored by xianjun's avatar xianjun

添加入参验证

parent 39f68292
......@@ -51,7 +51,7 @@ public class WxXcxGetPhoneNumberRequest implements WxXcxRequestUrl, WxXcxRequest
}
private void checkParam(WxXcxGetPhoneNumberReq req) {
CheckerHelper.newInstance()
CheckerHelper.newInstance().notBlankCheck(WxXcxAccessTokenField.FIELD_ACCESS_TOKEN,req.getAccess_token())
.notBlankCheck("code", req.getCode())
.checkException();
}
......
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