|
@@ -149,7 +149,9 @@ public class OpenApiController {
|
|
if (Objects.isNull(signature) || Objects.equals(signature, "")) {
|
|
if (Objects.isNull(signature) || Objects.equals(signature, "")) {
|
|
throw ExceptionResultEnum.PARAMS_ERROR.exception("鉴权信息不能为空");
|
|
throw ExceptionResultEnum.PARAMS_ERROR.exception("鉴权信息不能为空");
|
|
}
|
|
}
|
|
|
|
+ log.info("signature before:{}", signature);
|
|
signature = new String(Base64Util.decode(signature), SystemConstant.CHARSET_NAME);
|
|
signature = new String(Base64Util.decode(signature), SystemConstant.CHARSET_NAME);
|
|
|
|
+ log.info("signature after:{}", signature);
|
|
if (Objects.isNull(account) || Objects.equals(account, "")) {
|
|
if (Objects.isNull(account) || Objects.equals(account, "")) {
|
|
throw ExceptionResultEnum.PARAMS_ERROR.exception("工号不能为空");
|
|
throw ExceptionResultEnum.PARAMS_ERROR.exception("工号不能为空");
|
|
}
|
|
}
|